On 10-10-2010 21:17, Dave Shield wrote:
No - you get two string values (123 and 123), and two integer
values (1 and 0)
If you define the same extension command rooted at the default location
(NET-SNMP-EXTEND-MIB::nsExtendObjects), the results would be shown
as follows:
On 9 October 2010 17:01, Angelo Höngens a.hong...@netmatch.nl wrote:
Use the return code of the script, rather than the output
See UCD-SNMP-MIB::extResult or NET-SNMP-MIB::nsExtendResult
I'm not quite sure what you mean. I only get string values back:
$ snmpwalk -v 1 -c public localhost
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
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
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