Linux System Load Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Linux System Load Monitoring

Post by steelwedge »

Hello Team,

We would like to monitor the linux machine system load using nagios SNMP, please let us know if there are any plugins to monitor the same.
Note : We already using SNMP monitoring for linux machine monitoring which includes CPU load, disk and services monitoring.

-Mohan
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Linux System Load Monitoring

Post by rkennedy »

Are you looking for the load average then? Can you show us the full output of a snmpwalk against the machine? snmpwalk -v 2c -c <communitystring> <iphere>
Former Nagios Employee
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Re: Linux System Load Monitoring

Post by steelwedge »

PFA requested output.

Command : snmpwalk -v 2c -c public 10.128.50.19
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Linux System Load Monitoring

Post by rkennedy »

I can't seem to pin point the specific MIB that would resolve to the OID here, and from what I can tell - nothing seems to look like one resembling to load avg. Do these OID's provide the information you're after?

Code: Select all

1 minute Load: .1.3.6.1.4.1.2021.10.1.3.1
5 minute Load: .1.3.6.1.4.1.2021.10.1.3.2
15 minute Load: .1.3.6.1.4.1.2021.10.1.3.3
(taken from - http://www.debianadmin.com/linux-snmp-o ... stics.html)
Former Nagios Employee
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Re: Linux System Load Monitoring

Post by steelwedge »

I executed the commands mentioned in the blog and below is the output of that, not sure what to do next.
http://www.debianadmin.com/linux-snmp-o ... stics.html

[root@swnagios tmp]# snmpwalk -v 2c -c public 10.7.1.183 .1.3.6.1.4.1.2021.10.1.3.1
UCD-SNMP-MIB::laLoad.1 = STRING: 0.47
[root@swnagios tmp]# snmpwalk -v 2c -c public 10.7.1.183 .1.3.6.1.4.1.2021.10.1.3.2
UCD-SNMP-MIB::laLoad.2 = STRING: 0.49
[root@swnagios tmp]# snmpwalk -v 2c -c public 10.7.1.183 .1.3.6.1.4.1.2021.10.1.3.3
UCD-SNMP-MIB::laLoad.3 = STRING: 0.45
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Linux System Load Monitoring

Post by rkennedy »

Awesome - what you'll want to do now is run through the SNMP walk wizard.

When it asks for the base OID / MIB on the first page to use, enter .1.3.6.1.4.1.2021.10.1.3 - on the second page, you should see at least the 3 OID/MIB's populated with the data. This wizard will allow you to specify your thresholds as well so that you can have the state change should a spike occur.
Former Nagios Employee
steelwedge
Posts: 69
Joined: Fri Apr 24, 2015 4:58 am

Re: Linux System Load Monitoring

Post by steelwedge »

Thank you, it worked we can close this thread.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Linux System Load Monitoring

Post by rkennedy »

Awesome - closing it out!
Former Nagios Employee
Locked