Rép. : Re: [Nagios-users] uptime on cisco
Serveur-Faucon Surveillance
SrvFaucon at cslaval.qc.ca
Tue Jan 6 17:52:21 CET 2004
Dylan,
1- You would have to determine how much "Timeticks" it takes to make 30 minutes.
2- Lets suppose that 3000 Timeticks is 30 minutes in my example.
Your command would look like this.
./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w 3000:1
3- Just to be sure, do a little
# ./check_snmp -h
And see if you have the good version of the plug-ins.
check_snmp (nagios-plugins 1.3.99) 1.35
Hope this help.
Alex
---------------------------------------------------
Alexandre Racine
Montréal, Québec, Canada
>>> <nagios at acmecargo.com> 2004-01-06 10:12:50 >>>
I am still hoping for replies on this and my Scheduled Downtime via Cron
postings. If the reply doesn't come to the list, I'll let you know.
Dylan
At 09:59 AM 1/6/2004, you wrote:
>Op %verzonden%, schreef %afzender%:
> > I'm trying to run the check_snmp (also tried uptime_by_snmp) on a
> > few of my cisco routers and I can't seem to get it working
> > completely. I've tried the following:
> >
> > ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.1.3.0 -C comstring -w
> > 11111111111111111 -c 11111111111111111111
> > and I get the following return:
> > SNMP WARNING - 578561577
> >
> >
> > Change the warning and critical values:
> > ./check_snmp -H 172.16.128.248 -o .1.3.6.1.2.1.1.3.0 -w 5 -c 10 -C
> > d0n0thAcK and get the following: SNMP CRITICAL - *578678849*
> >
> > I'm wanting to know if a router reboots to go into a warning state.
> > Once it's been up for 30 min, clear out to an "Ok" status. The
> > uptime_by_snmp returns the same values since it's using the
> > check_snmp plugin.
> >
> > Any help is greatly appreciated.
> >
> >
> > Dylan
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills. Sign up for
> > IBM's Free Linux Tutorials. Learn everything from the bash shell
> > to sys admin. Click now!
> > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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
>
>Did you allready got an reply? I have a similar problem
>
>Greetings,
>
>Jan Rozema
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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