Page 2 of 2

Re: Issues with check_iostat

Posted: Thu Jul 20, 2017 3:46 pm
by tgriep
Thanks @mcapra for the help.

You may also want to take a look at the following link for an explanation on the "No more variables left in this MIB View (It is past the end of the MIB tree)" message
https://stackoverflow.com/questions/146 ... mean-linux

In simple terms, it says that the device you are polling is not responding to that OID because it is not setup to respond to it or that the system doesn't have the OID available as it uses a different OID.

Re: Issues with check_iostat

Posted: Fri Jul 21, 2017 8:47 am
by Hauru
Thank you both of you for your help.

I removed "-V systemonly " of this, as your link suggest @tgriep :

Code: Select all

rocommunity public default -V systemonly
this command is now working :

Code: Select all

snmpwalk -v1 X.X.X.X -c public 1.3.6.1.4.1.2021.13.15.1
and return this :

Code: Select all

iso.3.6.1.4.1.2021.13.15.1.1.1.1 = INTEGER: 1
iso.3.6.1.4.1.2021.13.15.1.1.1.2 = INTEGER: 2
iso.3.6.1.4.1.2021.13.15.1.1.1.3 = INTEGER: 3
iso.3.6.1.4.1.2021.13.15.1.1.1.4 = INTEGER: 4
iso.3.6.1.4.1.2021.13.15.1.1.1.5 = INTEGER: 5
iso.3.6.1.4.1.2021.13.15.1.1.1.6 = INTEGER: 6
iso.3.6.1.4.1.2021.13.15.1.1.1.7 = INTEGER: 7
iso.3.6.1.4.1.2021.13.15.1.1.2.1 = STRING: "sdb"
iso.3.6.1.4.1.2021.13.15.1.1.2.2 = STRING: "sdb1"
iso.3.6.1.4.1.2021.13.15.1.1.2.3 = STRING: "sda"
iso.3.6.1.4.1.2021.13.15.1.1.2.4 = STRING: "sda1"
iso.3.6.1.4.1.2021.13.15.1.1.2.5 = STRING: "sda2"
iso.3.6.1.4.1.2021.13.15.1.1.2.6 = STRING: "sda5"
iso.3.6.1.4.1.2021.13.15.1.1.2.7 = STRING: "sr0"
iso.3.6.1.4.1.2021.13.15.1.1.3.1 = Counter32: 1892352
iso.3.6.1.4.1.2021.13.15.1.1.3.2 = Counter32: 868352
iso.3.6.1.4.1.2021.13.15.1.1.3.3 = Counter32: 308947968
iso.3.6.1.4.1.2021.13.15.1.1.3.4 = Counter32: 307016704
iso.3.6.1.4.1.2021.13.15.1.1.3.5 = Counter32: 6144
iso.3.6.1.4.1.2021.13.15.1.1.3.6 = Counter32: 987136
iso.3.6.1.4.1.2021.13.15.1.1.3.7 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.4.1 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.4.2 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.4.3 = Counter32: 299184128
iso.3.6.1.4.1.2021.13.15.1.1.4.4 = Counter32: 299184128
iso.3.6.1.4.1.2021.13.15.1.1.4.5 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.4.6 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.4.7 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.5.1 = Counter32: 239
iso.3.6.1.4.1.2021.13.15.1.1.5.2 = Counter32: 102
iso.3.6.1.4.1.2021.13.15.1.1.5.3 = Counter32: 8601
iso.3.6.1.4.1.2021.13.15.1.1.5.4 = Counter32: 8380
iso.3.6.1.4.1.2021.13.15.1.1.5.5 = Counter32: 2
iso.3.6.1.4.1.2021.13.15.1.1.5.6 = Counter32: 100
iso.3.6.1.4.1.2021.13.15.1.1.5.7 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.6.1 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.6.2 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.6.3 = Counter32: 4011113
iso.3.6.1.4.1.2021.13.15.1.1.6.4 = Counter32: 4011113
iso.3.6.1.4.1.2021.13.15.1.1.6.5 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.6.6 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.6.7 = Counter32: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.1 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.2 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.3 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.4 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.5 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.6 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.9.7 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.1 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.2 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.3 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.4 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.5 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.6 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.10.7 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.1 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.2 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.3 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.4 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.5 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.6 = INTEGER: 0
iso.3.6.1.4.1.2021.13.15.1.1.11.7 = INTEGER: 0
But I still have the same problem when I run my command, it doesn't find the disk.


Concerning Windows, I think yes I will give up, because I can not use NSClient++. Thank you for your help anyway :)

Re: Issues with check_iostat

Posted: Fri Jul 21, 2017 9:37 am
by tgriep
It is probably because the system only responds to SNMP version 1 so you would have to change the command to use that. Try this to see if that is true.

Code: Select all

/usr/local/nagios/libexec/check_diskio_ucd.pl -H X.X.X.X -C community -s 1 -d sdb1 -w 30 -c 50

Re: Issues with check_iostat

Posted: Mon Jul 24, 2017 2:36 am
by Hauru
tgriep wrote:It is probably because the system only responds to SNMP version 1 so you would have to change the command to use that. Try this to see if that is true.

Code: Select all

/usr/local/nagios/libexec/check_diskio_ucd.pl -H X.X.X.X -C community -s 1 -d sdb1 -w 30 -c 50
And... It finnaly works ! Thank you for your help and your patience, I think you can close this thread :)

Re: Issues with check_iostat

Posted: Mon Jul 24, 2017 10:34 am
by bolson
Closing topic as resolved.

Thank you for using the Nagios Support Forum.