Disk I/O for all Multipath devices

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Disk I/O for all Multipath devices

Post by yunushaikh »

No Sir,
That plugin works remotely only using nrpe agent. And I took the solution from ssax who modified the plugin which I have attached in this thread in my last post. I used that plugin only to monitor disk. Here I have to monitor it through snmp only So i will have to use that plugin.

I never tried that plugin check_all_diskstat.sh because it doesnt work remotely. I used the second last solution of that thread posted by ssax. He modified that plugin. He was very helpful in that thread :)
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Disk I/O for all Multipath devices

Post by jdalrymple »

Is there an inherent reason you can't use NRPE? If not then you'll have to do some SNMP recursion filtering based upon block device name.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Disk I/O for all Multipath devices

Post by yunushaikh »

We dont want to install nrpe on the server which we want to monitor. We want to use snmp which is already present on the server.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Disk I/O for all Multipath devices

Post by jdalrymple »

Putting NRPE on the server would be a better choice - I'll say that up front just so it's clear. That said - try this modification and see if it does what you need.
Attachments
check_diskio_ucd_dm.zip
(5.59 KiB) Downloaded 184 times
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Disk I/O for all Multipath devices

Post by yunushaikh »

Putting NRPE is not a concern. But we are automating Nagios with CHEF and we dont want to add any extra agent to be installed on the servers.

Thanks a lot for modifying the plugin. I will check and let you know if it works.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Disk I/O for all Multipath devices

Post by tmcdonald »

Sounds good. Keep in mind that some things may not be exposed over SNMP (like running services, number of users logged in, etc) at which point NRPE or some other agent will be necessary.
Former Nagios employee
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Disk I/O for all Multipath devices

Post by yunushaikh »

Hello Sir,

Thanks a lotttttttttttttttttt for modifying the plugin. I am very much happy to work with you guys. You guys are helping lot. Thanks for this great help to everyone specially to jdalrymple. This is pulling multi-path devices after modifying the plugin. Thanks again.

Thanks tmcdonald for your additional information. If I need to monitor those things then I will consider NRPE plugin before trying any other plugin for sure.
Locked