SNMP - Check Load
Hugo van der Kooij
hvdkooij at vanderkooij.org
Fri Nov 25 18:19:44 CET 2005
On Fri, 25 Nov 2005, Tom Brown wrote:
> > Load, yes. cpu, not yet. I used the check_snmp that comes with the plugins
> > with the following command defined in checkcommands.cfg:
> >
> > 'check_load_1' command definition
> > define command{
> > command_name check_load_1
> > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o laLoad.1 -e 5
> > -w
> > $ARG1$ -c $ARG2$
> > }
> >
> > that's the 1-minute load. 5 is laLoad.2, and 15 is laLoad.3
>
> OK thanks - seems to work but do you know where the 'SNMP' string is
> coming from? eg
>
> $ /opt/nagios/libexec/check_snmp -H host -C community -o laLoad.1 -e 5
> SNMP OK - 0.31
It seems there are even larger answers possible. I end up with:
SNMP OK - 0.37 | UCD-SNMP-MIB::laLoad.2=0.37\uffff\uffff\uffff;;;;
Not sure how to tackle thresholds there.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list