Monitor %util via SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ytlcomm
Posts: 62
Joined: Tue May 22, 2012 8:52 pm

Monitor %util via SNMP

Post by ytlcomm »

Hi guys,

I would like to monitor disk performance (%util value on iostat) on a remote linux server that is currently being monitored by Nagios XI 2012R1.3 using SNMP.

Is there a way to get this done?? Any suitable plugin for this purpose? So far I haven't found any.

Code: Select all

# iostat -x 
Linux 2.6.32-279.19.1.el6.x86_64 (hostname)        04/16/2013      _x86_64_        (8 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          59.38    0.01   21.42    2.49    0.00   16.71

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               1.64   507.41   73.32  406.26  4464.75  7309.30    24.55     1.79    3.73   1.17  56.05
dm-0              0.00     0.00    0.00    0.00     0.00     0.00     8.00     0.00    1.49   1.29   0.00
dm-1              0.00     0.00   62.91  600.63  3726.48  4805.05    12.86     3.07    4.63   0.83  54.96
dm-2              0.00     0.00   12.08  313.03   738.24  2504.25     9.97     0.23    0.70   0.40  12.89
Thanks!

- Faiz
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitor %util via SNMP

Post by sreinhardt »

You can try walking the .1.3.6.1.4.1.2021.9 oid, however it does not look like utilization specifically is available via snmp from linux. You would be best to write a small script and run via nrpe or check_by_ssh.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked