Hello Sir,
i want to monitor Disk I/O and CPU load ( If possible load on every core) using snmp. Is there any plugin which I can use.
How to monitor Disk IO and CPU load using SNMP in Nagios
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
Re CPU: https://exchange.nagios.org/directory/P ... ad/details
Re IO - I'm assuming you're referring to the Linux platform. If so I'm unaware of any OIDs or SNMP plugins that monitor IO. There are disk counters that you could potentially adapt to an MRTG pool after which you could use check_mrtgtraf to suck the data into Nagios.
Re IO - I'm assuming you're referring to the Linux platform. If so I'm unaware of any OIDs or SNMP plugins that monitor IO. There are disk counters that you could potentially adapt to an MRTG pool after which you could use check_mrtgtraf to suck the data into Nagios.
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
Here is a plugin that I found for Disk IO:
https://exchange.nagios.org/directory/P ... MP/details
For CPU you can use:
https://exchange.nagios.org/directory/P ... ad/details
https://exchange.nagios.org/directory/P ... MP/details
Code: Select all
/usr/local/nagios/libexec/check_diskio_ucd.pl -H X.X.X.X -C community -s 2 -d sda1 -w 30 -c 50
https://exchange.nagios.org/directory/P ... ad/details
Code: Select all
/usr/local/nagios/libexec/check_snmp_load.pl -H X.X.X.X -C community -w 80 -c 90
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
Thanks Experts for your quick response. This is very helpful for me. I will implement it now and will let you know if i face any issue.
i am setting up Nagios server. I will need lot of help from you guys. You guys are doing great job by sharing your knowledge.
Thanks again.
i am setting up Nagios server. I will need lot of help from you guys. You guys are doing great job by sharing your knowledge.
Thanks again.
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
Hello Sir,
DISK I/O worked fine but CPU load is asking me snmp login info
I dont want to use login information for snmp
Is there any way
./check_snmp_load.pl -H X.X.X.X
Put snmp login info!
Usage: ./check_snmp_load.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> -T=[stand|netsl|netsc|as400|cisco|cata|c5500|nsc|fg|bc|nokia|hp|lp|hpux] [-f] [-t <timeout>] [-V]
DISK I/O worked fine but CPU load is asking me snmp login info
I dont want to use login information for snmp
Is there any way
./check_snmp_load.pl -H X.X.X.X
Put snmp login info!
Usage: ./check_snmp_load.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> -T=[stand|netsl|netsc|as400|cisco|cata|c5500|nsc|fg|bc|nokia|hp|lp|hpux] [-f] [-t <timeout>] [-V]
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
When I give command as
./check_snmp_load.pl -H X.X.X.X -w 80 -c 90 -C public
with parameter -C as public then it gives the output
What is the difference between doing -C and without running -C. Without -C it asks for snmp login information?
./check_snmp_load.pl -H X.X.X.X -w 80 -c 90 -C public
with parameter -C as public then it gives the output
What is the difference between doing -C and without running -C. Without -C it asks for snmp login information?
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
I assume that when you do not include -C community it may default to SNMP v3, so make sure to add the -C community since it's required.
-
- Posts: 176
- Joined: Sat Jun 20, 2015 9:04 pm
Re: How to monitor Disk IO and CPU load using SNMP in Nagios
Thanks for your reply. I was able to do that. You can close this thread.
I appreciate you help. i have couple of more questions in Nagios. I will open new thread for that as it is for another reason.
I appreciate you help. i have couple of more questions in Nagios. I will open new thread for that as it is for another reason.