Monitoring Unix servers CPU, memory and hard-disk

Gary Every gevery at gmail.com
Wed Mar 5 19:00:50 CET 2008


Go to:
http://ultralight.caltech.edu/web-site/ultralight/workgroups/network/sc2005/snmpd.conf

There are most of the ucdavis snmp strings that work. Use it as a model and
replace the strings from my command

It'll take a little playing, but it's worth it!


On Wed, Mar 5, 2008 at 9:30 AM, Hari Sekhon <hpsekhon at googlemail.com> wrote:

> Gary Every wrote:
> > Here is my command for checking load - it grabs 1,5,15 mins and
> > displays them. I'm watching to 5 min load, so it is first in the check:
> >
> > command_line    /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C
> > $ARG1$ -o
> > enterprises.ucdavis.laTable.laEntry.laLoadInt.2,
> enterprises.ucdavis.laTable.laEntry.laLoadInt.1,
> enterprises.ucdavis.laTable.laEntry.laLoadInt.3
> > -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current - ,is 15min"
> >
> >
> > The important thing in this is the
> > "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" where "2" is the
> > second object returned, but since it is first, that is what nagios
> > will measure. The -u is formatting so the nagios check looks like this
> > on the webpage:
> >
> > SNMP OK - 68 is 5min - 72 is Current - 63 is 15min
> >
> > snmp is the way to go. Read up on it, you can do MANY checks - mem,
> > procs, disk space, execute remote commands, etc
> Don't forget to CC the list.
>
> -h
>
> --
> Hari Sekhon
>
>


-- 
Gary Every
"Pay it Forward!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080305/0dd2ae51/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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