Monitoring Unix servers CPU, memory and hard-disk

Alex Dehaini alexdehaini at gmail.com
Wed Mar 5 17:34:10 CET 2008


Hari,

I agree snmp is he way but I need the specific OIDs to monitor. Can I
get all the OIDs for memory, cpu, etc? The OIDS that WORK

Alex


On 3/5/08, 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
>
>
>  -------------------------------------------------------------------------
>  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/
>  _______________________________________________
>  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
>


-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com

-------------------------------------------------------------------------
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/
_______________________________________________
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