I made a simple script
then i call
result
I do not understand why I see 10 as a string, you need me to be a integer to make the graph
or i can make the graph with string?
Code:
#!/bin/bash echo 100
Code:
snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.1000
Code:
UCD-SNMP-MIB::ucdavis.1000.1.1 = INTEGER: 1 UCD-SNMP-MIB::ucdavis.1000.2.1 = STRING: "numeroprocessori" UCD-SNMP-MIB::ucdavis.1000.3.1 = STRING: "/bin/sh /tmp/numproc.sh" UCD-SNMP-MIB::ucdavis.1000.100.1 = INTEGER: 0 UCD-SNMP-MIB::ucdavis.1000.101.1 = STRING: "10" UCD-SNMP-MIB::ucdavis.1000.102.1 = INTEGER: 0 UCD-SNMP-MIB::ucdavis.1000.103.1 = ""
or i can make the graph with string?
Comment