I am trying to use this plugin : https://exchange.nagios.org/directory/P ... 1499169198
To check disk iostat with SNMP. But I don't understand why, when I run :
Code: Select all
/usr/local/nagios/libexec/check_diskio_ucd.pl -H X.X.X.X -C community -s 2 -d sdb1 -w 30 -c 50
Code: Select all
DISKIO WARN - Disk sdb1 not found
I think my SNMP is working on my server because when I try snmpwalk it does work.
this is the result of the command fdisk -l on the server I want to look at :
Code: Select all
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1169682431 1169680384 557,8G 7 HPFS/NTFS/exFAT
Code: Select all
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 561100799 561098752 267,6G 83 Linux
/dev/sda2 561102846 584841215 23738370 11,3G 5 Extended
/dev/sda5 561102848 584841215 23738368 11,3G 82 Linux swap / Solaris
Another question, how can I use this plugin with a windows server ? I tried something like :
Code: Select all
/usr/local/nagios/libexec/check_diskio_ucd.pl -H XXX.XXX.XXX.XXX -C community -s 2 -d C -w 30 -c 50
I found the commands on this post : https://support.nagios.com/forum/viewto ... =7&t=33578
Thank you everyone for your help