Page 1 of 1

Monitor %util via SNMP

Posted: Mon Apr 15, 2013 8:55 pm
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

Re: Monitor %util via SNMP

Posted: Tue Apr 16, 2013 10:39 am
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.