[Nagiosplug-help] check_snmp_int.pl on a cisco 6500

Thomas Earl tearl at cacdhh.org
Wed Dec 8 00:26:54 CET 2004


Hey Rossella & mailing list, 

I'm interested in the same answer as I'm working on getting my Cisco
interfaces monitored too.

Thanks, 

Tom

--
Thomas Earl
Network Engineer & Designer
Communications Access Center (CAC)
1631 Miller Road
Flint, Michigan, 48503
248-705-7408 (cell)
810-239-3112 (office)

"Life is not a journey to the grave with the intention of arriving safely in
a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a
ride!!'" --Jack Wilson 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Rossella Mariotti-Jones
> Sent: Tuesday, December 07, 2004 6:20 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] RE: [Nagiosplug-help] check_snmp_int.pl on a cisco
> 6500
> 
> Thanks for replying so fast. What I'd like to do exactly is to monitor
> (and get and alert) when an interface goes down or comes up.
> 
> I've played a little with the switches and I found that this works:
> 
> [root at ccc-nagios plugins]# ./check_snmp_int.pl -H 10.0.0.X -C string -n
> 
> 1 :DOWN, A :UP, 14:DOWN, CPU:UP, 20:UP, 16:DOWN, 18:DOWN, 12:DOWN,
> 17:DOWN, PortChannel:DOWN, 3 :DOWN, AUI:UP, 2 :DOWN, 19:DOWN, 22:DOWN, 7
> :DOWN, 9 :DOWN, 13:DOWN, 23:DOWN, 6 :DOWN, 4 :DOWN, B :DOWN, 10:UP,
> 15:DOWN, 21:UP, 8 :DOWN, 24:DOWN, 5 :DOWN, 11:UP: 22 int NOK : CRITICAL
> 
> Now, how do I include it into the files and which files? I'm guessing
> probably service.cfg and checkcommands.cfg? Am I on the right track
> considering my goal? Thanks.
> 
> Rossella Mariotti-Jones
> Network Analyst, CCNA
> Chemeketa Community College / IT
> T 503 589 7775
> F 503 399 4898
> E rossella at chemeketa.edu
> www.chemeketa.edu
> 
> -----Original Message-----
> From: Jan Scholten [mailto:Jan.Scholten at iconz.net]
> Sent: Tuesday, December 07, 2004 1:04 PM
> To: Rossella Mariotti-Jones
> Cc: nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] check_snmp_int.pl on a cisco 6500
> 
> Rossella Mariotti-Jones schrieb:
> > Hello, I'm very new at this and I need some help with snmp check
> > commands if possible.
> >
> > I'm trying to run the command to see if it works from my command line
> > like this:
> 
> > [root at ccc-nagios plugins]# ./check_snmp_int.pl -H x.x.x.x -C password
> > And all I get is this:
> >
> > Usage: ./check_snmp_int.pl [-v] -H <host> -C <snmp_community> | (-l
> > login -w passwd)  [-p <port>] -n <name in desc_oid> [-i] [-a] [-r]
> > [-f[e]] [-t <timeout>] [-V]
> 
>  From the output you can see that you need to provide a "-n <name in
> desc_oid>" Check the help for
> more info.
> 
> If you only want to check if a specific interface is up a check like:
> 
> $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o
> .1.3.6.1.2.1.2.2.1.8.X -w 1:1 -c 1:1
> 
> Replace X with your Port to check (is the numeric oid for
> IF-MIB::ifOperStatus.X) it will return ok
> if the port is up and critical if the port is down.
> 
> 
> > Can anybody help? Thanks a lot.
> 
> hth
> 
> Jan
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> 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





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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