Hello,
how to get an integer value from a bash script if using "extend" in /etc/snmp/snmpd.conf ?
 
extend TempOfRoom1 /scripts/get_TempOfRoom1.sh
 
got only STRING but no INTEGER
 
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."TempOfRoom1" = STRING: 2210

 
like to get:
 
NET-SNMP-EXTEND-MIB::nsExtendResult."TempOfRoom1" = INTEGER: 2210 insted of "NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."TempOfRoom1" = STRING: 2210"
 
Thanks
 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to