Using a handler in net-snmp

2009-04-30 Thread raja.singh
Hi All, I am facing an issue with net-snmp. I want to call a function after snmpd sends cold-start after startup. For this i dont want to put any code change in netsnmp standard files. I want to use a handler that will be called just after the sending of cold-start trap. Please help me to impleme

Re: how to add info about other processes (i.e. other than linux processes) to the output of snmpwalk hrSWRunTable

2009-04-30 Thread anshul mittal
@wes hi can u tell me the link of tutorials where i can understand what is going on in the hr_swrun.c so that i can modify it to add the information about the processes other than linux processes. Regards Anshul On Tue, Apr 28, 2009 at 9:06 PM, Wes Hardaker < [email protected]> wro

Re: how to configure and use 'context'?

2009-04-30 Thread Dave Shield
2009/4/30 kusuma.bm : > i think u can't giv the securitylevel as auth,it can be > authPriv,authNoPriv or noAuthNoPriv. Please read the snmpd.conf(5) man page. That lists the possible values for this directive. "auth" *IS* the correct value here. (although "authNoPriv" would work as well) > Ha

Re: how to configure and use 'context'?

2009-04-30 Thread kusuma.bm
i think u can't giv the securitylevel as auth,it can be authPriv,authNoPriv or noAuthNoPriv. Have u given the following lines in snmpd.conf rwuser leelin OR rouser leelin group Groupv3 usm leelin. >this is requird to create group for user "leelin". -kusuma Kang Chen wrote: > > Hi, all > >

Re: how to configure and use 'context'?

2009-04-30 Thread Dave Shield
2009/4/30 Kang Chen : > In snmpd.conf, I configure as following: >access Groupv3  "interface"    usm  auth exact  if2  if2  if2 So that sets up access control to the context "interface" (to the view 'if2') > snmpget -v3 -u leelin -n "interface" sysDescr.0 and that requests informat