data presistence

2009-03-09 Thread Vinod Nanjaiah
Hi All! I used the NET-SNMP-EXAMPLES-MIB.txt mib file for generating a scalar subagent. There seems to be some problem in making data persistent. Steps that I followed: a Set the scalar variable to some new value b Retrieve the scalar variable; (I get the new value). c kill and

Re: data presistence

2009-03-09 Thread Dave Shield
2009/3/9 Vinod Nanjaiah vinod_nanja...@mindtree.com: I used the NET-SNMP-EXAMPLES-MIB.txt mib file for generating a scalar subagent. How did you create the MIB module code for this subagent? There seems to be some problem in making data persistent. What code do you have for saving and

Multi-destiny Traps

2009-03-09 Thread Sergio Cabaço
Hi there, I've made a change in file snmp_parse_args.c to correct a problem that I had. The problem was notice when I tried to send multi-destiny traps using their definitions in snmpd.conf. Every time I've tried, an error was launched by the agent pointing to the file mentioned above. The

Re: Multi-destiny Traps

2009-03-09 Thread Dave Shield
2009/3/9 Sergio Cabaço sergio.cab...@edisoft.pt: I've made a change in file snmp_parse_args.c to correct a problem that I had. The problem was notice when I tried to send multi-destiny traps using their definitions in snmpd.conf. Every time I've tried, an error was launched by the agent

Compiling a agent extension under Linux

2009-03-09 Thread Rodolfo Leffa
Hi, i've extended the net-snmp agent on windows to provide my company information. It works ok. But now i'm trying to do it on Linux, and i'm having a problem in compiling it with the things I need. I've runned configure --with-my-module, but the problem is that my piece of code needs to acess

Re: Compiling a agent extension under Linux

2009-03-09 Thread Dave Shield
2009/3/9 Rodolfo Leffa rodolfole...@gmail.com: my piece of code needs to acess some libraries and use some linker flags. My question is where should I put this kind of info, once the makefiles are generated automatically by configure. Try running configure using the option --with-libs=xxx

Re: data presistence

2009-03-09 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]

UCD-SNMP-MIB returns Empty

2009-03-09 Thread malar vizhi
Hi Dave, As per your suggestion, I had modified my snmpd.conf file...Before it contains more security settings, views group related configuration. Then just take the backup of conf file I added rwcommunity as public . So, now my snmpd.conf file will look like rwcommunity public

RE: Multi-destiny Traps

2009-03-09 Thread Sergio Cabaço
Hi, The snmpd.conf file with i'm doing the multi destiny tests is something like this: agentaddress aaa.ddd.ddd.rrr engineID 0123456789 trapsess -v 3 -u xpto -A xpto -l noauthnopriv xxx.xxx.xxx.xxx:111 trapsess -v 3 -u ypto -A ypto -l noauthnopriv yyy.yyy.yyy.yyy:222 rwuser ... rwuser ...