Checking Switches and Routers like whats up
Jason Payne - iland Internet Solutions
jason.payne at iland.com
Thu Nov 4 16:37:14 CET 2004
Hello Nagiosians!
I use check_snmp to check the status of firewall ports. The same concept applies to switch ports. I'd use a snmp walk on the machine and just scroll to find the stuff you want. If you were smart about this (unlike me) you would make that inerfaces.ifTable.ifEntry.ifOperStatus.# something like $MIB$ and just pass that from the check command so you don't have to have a seperate checkcommand for every port. We just do it with firewalls so I keep it simple (2 interfaces).
define command{
command_name check_pix515_if1
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING -o int
erfaces.ifTable.ifEntry.ifOperStatus.1 -c 1
}
define command{
command_name check_pix515_if2
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING -o int
erfaces.ifTable.ifEntry.ifOperStatus.2 -c 1
}
Gimme some candy,
Jason Payne
-----Original Message-----
From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de]
Sent: Thursday, November 04, 2004 4:31 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Checking Switches and Routers like whats up
Hello!
I have the order to make everything what whats up does with the switches
i have to do in nagios...
So anyone does check all ports of the switches or routers with nagios???
I have to check each port if it is up or down.
What will be the best way to do that??
Thanks for the help!
bye
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
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:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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