nagoisxi check_iostat
Posted: Wed Aug 12, 2015 12:52 am
Hi!
I am following below link to mointor disk's IO in a host.
https://exchange.nagios.org/directory/P ... 14/details
In above link, there has check_iostat.php file. Does it need to import to nagiosxi because it doesn't mention.
Beside, I have no idea the warning level or critical level from a monitored disk and below is some information from a disk.
What threshold value to declare the disk IO is busy?
[root@nagiosxi libexec]# ./check_iostat -d vda
ERROR: You must specify all warning and critical levels
This plugin shows the I/O usage of the specified disk, using the iostat external program.
It prints three statistics: Transactions per second (tps), Kilobytes per second
read from the disk (KB_read/s) and and written to the disk (KB_written/s)
./check_iostat:
-d <disk> Device to be checked (without the full path, eg. sda)
-c <tps>,<read>,<wrtn>,<await> Sets the CRITICAL level for tps, KB_read/s, KB_written/s and average wait, respectively
-w <tps>,<read>,<wrtn>,<await> Sets the WARNING level for tps, KB_read/s, KB_written/s and average wait, respectively
I am following below link to mointor disk's IO in a host.
https://exchange.nagios.org/directory/P ... 14/details
In above link, there has check_iostat.php file. Does it need to import to nagiosxi because it doesn't mention.
Beside, I have no idea the warning level or critical level from a monitored disk and below is some information from a disk.
Code: Select all
[root@nagiosxi libexec]# iostat 2
Linux 2.6.32-431.el6.x86_64 (nagiosxi) 08/12/2015 _x86_64_ (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
5.57 0.00 2.66 0.15 0.16 91.46
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 46.65 68.19 2092.87 4113554 126249888
avg-cpu: %user %nice %system %iowait %steal %idle
1.63 0.00 0.56 0.00 0.06 97.75
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 7.50 0.00 100.00 0 200
avg-cpu: %user %nice %system %iowait %steal %idle
2.13 0.00 0.38 0.06 0.06 97.37
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 13.00 0.00 380.00 0 760
avg-cpu: %user %nice %system %iowait %steal %idle
7.83 0.00 4.57 0.13 0.00 87.47
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 32.50 0.00 4404.00 0 8808
avg-cpu: %user %nice %system %iowait %steal %idle
17.41 0.00 8.08 0.19 0.06 74.26
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 27.00 0.00 4536.00 0 9072
avg-cpu: %user %nice %system %iowait %steal %idle
0.25 0.00 0.19 0.06 0.00 99.50
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 10.00 0.00 80.00 0 160
[root@nagiosxi libexec]# ./check_iostat -d vda
ERROR: You must specify all warning and critical levels
This plugin shows the I/O usage of the specified disk, using the iostat external program.
It prints three statistics: Transactions per second (tps), Kilobytes per second
read from the disk (KB_read/s) and and written to the disk (KB_written/s)
./check_iostat:
-d <disk> Device to be checked (without the full path, eg. sda)
-c <tps>,<read>,<wrtn>,<await> Sets the CRITICAL level for tps, KB_read/s, KB_written/s and average wait, respectively
-w <tps>,<read>,<wrtn>,<await> Sets the WARNING level for tps, KB_read/s, KB_written/s and average wait, respectively