Check_snmp_int.pl

Mike Koponick mkoponick at redhawk.info
Mon Feb 27 23:34:55 CET 2006


	Just to clarify the fix here.. I needed to add single quotes
around the interface name with the "$" as well.

	 

	For example in the services configuration:

	 

	 

	check_snmp_int!public!'FastEthernet0/2$'

	 

	Thanks!

	 

	Mike

	 

	 

	
________________________________


	From: Mike Koponick [mailto:mkoponick at redhawk.info] 
	Sent: Thursday, February 16, 2006 11:38 AM
	To: Dennis Hopp; Nagios Users
	Subject: RE: [Nagios-users] Check_snmp_int.pl

	Dennis,

	 

	Thanks for the tip. That worked! 

	 

	I suppose it's time to dive into Perl ;-)

	 

	Thanks!

	 

	Mike

	 

	 

	 

	-----Original Message-----
	From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dennis
Hopp
	Sent: Thursday, February 16, 2006 9:33 AM
	To: Mike Koponick; Nagios Users
	Subject: RE: [Nagios-users] Check_snmp_int.pl

	 

	Try:

	 

	./check_snmp_int -H 10.xx.xx.xx -C <community> -n
GigabitEthernet0/1$

	 

	--Dennis

		 

		
________________________________


		From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike
Koponick
		Sent: Thursday, February 16, 2006 11:18 AM
		To: Nagios Users
		Subject: [Nagios-users] Check_snmp_int.pl

		I'm using check_snmp_int.pl to check on interfaces on
switches/routers, but can't seem to have it look at a single interface.
I think this is a "/" issue, but am not sure.

		 

		When use the command:

		 

		./check_snmp_int -H 10.xx.xx.xx -C <community> -n
GigabitEthernet0/1

		 

		I receive the following:

		 

		GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN,
GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA

		 

		I only wish to see one interface, rather than all of
them as some are not in use and *should* be down.

		 

		Thoughts? Maybe it's time for more coffee?

		 

		Thanks!

		 

		Mike

		 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060227/e3048160/attachment.html>


More information about the Users mailing list