excetly! can we have list of OID (cpu,mem and disk) for linux also? I tested ./check_snmp -H CLEO -o enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 -w 98 -c 99 -u "is 5min - ,is Current - ,is 15min" SNMP OK - 0 is 5min - 0 is Current - 0 is 15min | UCD-SNMP-MIB::laLoadInt.2=0 UCD-SNMP-MIB::laLoadInt.1=0 UCD-SNMP-MIB::laLoadInt.3=0
CLEO is a solaris machine. These OIDs are what exactly? --- Alex Dehaini <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> > 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@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 - [EMAIL PROTECTED] > > ------------------------------------------------------------------------- > 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@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 > ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.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@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