[Nagios-users] Checking load via snmp
Richard Gliebe
richard.gliebe at fhv.at
Fri Oct 23 12:23:57 UTC 2009
On 10/22/09 9:20 PM lance raymond wrote:
> I see a nice little check_snmp_load plugin that comes with
> groundwork/nagios, but not sure if it's correct. When I run from the
> command line on the nagio server, I get the following;
>
> ./check_snmp_load.pl <http://check_snmp_load.pl> -H 192.168.50.101 -C
> community -w 50 0 -c 60 I get the following reply;
> 4 CPU, average load 14.8 < 50 : OK
>
> at the same time, a 'w' shows;
> root at ws1:~# w
> 15:18:31 up 21 days, 17:51, 3 users, load average: 1.12, 1.75, 1.72
>
> So I am trying to see if I am missing something as to why the load is
> showing at 14, where it should be one.
Hi,
> Not sure if anyone is using this over the check_by_ssh, and has
> feedback, but I would like to just get the immediate server load every x
> amount of minutes, not worried about the 5 minute average, etc.
I'm checking the LOADs with check_by_ssh like this.
# 'check_by_ssh_load' command definition
define command{
command_name check_by_ssh_load
command_line $USER1$/check_by_ssh -2 -H $ARG1$ -l "nagios"
-C "/usr/lib/nagios/plugins/check_load -w $ARG2
$ -c $ARG3$"
}
Works fine for me ;-)
Regards
Richard
>
> Thanks
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
--
Richard Gliebe
Information Services
Fachhochschule Vorarlberg GmbH / University for Applied Science
Hochschulstrasse 1
A-6850 Dornbirn
T: +43 5572 792 2207
M: richard.gliebe at fhv.at
W: www.fhv.at
FN 165415 h, LG Feldkirch
More information about the ubuntu-users
mailing list