How to update the EngineID without restarting the snmpd process

2010-10-09 Thread lie_0
Hi, nbsp; I need to update the EngineID without restarting the snmpd process, but failed. The following are my steps, who can tell me what's wrong with it? -nbsp;updated the engineID in snmpd.conf - triggled snmpd to load snmpd.conf again by using command kill -1 processID nbsp; Thanks,

returning an integer value for extend script?

2010-10-09 Thread Angelo Höngens
Hey, I use net-snmp extend scripts a lot in my organization to monitor all kinds of values on linux, freebsd and windows servers, and that's been working great with cacti so far. However, net-snmp seems to return only string datatypes instead of integers. It's not a problem for Cacti, since

Re: returning an integer value for extend script?

2010-10-09 Thread Dave Shield
On 9 October 2010 10:47, Angelo Höngens a.hong...@netmatch.nl wrote: Is there a way I can force net-snmp to return an integer value? Use the return code of the script, rather than the output See UCD-SNMP-MIB::extResult or NET-SNMP-MIB::nsExtendResult Dave

Re: returning an integer value for extend script?

2010-10-09 Thread Angelo Höngens
On 9-10-2010 12:22, Dave Shield wrote: On 9 October 2010 10:47, Angelo Höngens a.hong...@netmatch.nl wrote: Is there a way I can force net-snmp to return an integer value? Use the return code of the script, rather than the output See UCD-SNMP-MIB::extResult or NET-SNMP-MIB::nsExtendResult