Re: [sentinix-list] pb with snmpget ??
Thierry <[email protected]>
| Newsgroups | gmane.linux.sentinix |
|---|---|
| Message-ID | <20040104231154.GA13486@urania> |
> > You need to specify exact OID with snmpget, hrStorageIndex has another value > to it, an integer. (hrStorageIndex.1, e.g.). Use "snmpwalk" instead of > snmpget for the operation you want to do. The exact OID of hrStorageIndex is .1.3.6.1.2.1.25.2.3.1.1 ... I did it, but i do have the same error message. The operation i want to do is to use your script (check_space_with_snmp) on BSD box. If i use snmpwalk : [email protected]:/# snmpwalk -Ovq xxx.xxx.xxx.xxx -c public HOST-RESOURCES-MIB::hrStorageIndex 1 2 3 4 5 6 7 8 9 10 [email protected]:/# snmpwalk -Ovq XXX.XXX.XXX.XXX -c public .1.3.6.1.2.1.25.2.3.1.1 1 2 3 4 5 6 7 8 9 10 It's for Nagios .... Thx -- Thierry