problem with router monitor

Marc Powell marc at ena.com
Thu Mar 25 17:01:24 CET 2004


On Thursday, March 25, 2004 8:25 AM, Hugo Rebello shared with us:

> Hello Guys,
> 
> Any body help me ?
> Today I use the follow command to monitor my routers by snmp:
> 
> check_ifstatus -H ip_address -C snmp_community
> 
> However I check only the interface, with this command I can´t monitor
> if the protocol is up or not. 


Is this what you're looking for?

bash-2.05a$ ./check_ifoperstatus --help
check_ifoperstatus plugin for Nagios monitors operational 
status of a particular network interface on the target host

Usage:
   -H (--hostname)   Hostname to query - (required)
   -C (--community)  SNMP read community (defaults to public,
                     used with SNMP v1 and v2c
   -v (--snmp_version)  1 for SNMP v1 (default)
                        2 for SNMP v2c
                        SNMP v2c will use get_bulk for less overhead
                        if monitoring with -d
   -k (--key)        SNMP ifIndex value
   -d (--descr)      SNMP ifDescr value
   -p (--port)       SNMP port (default 161)
   -I (--ifmib)      Agent supports IFMIB ifXTable.  Do not use if
                     you don't know what this is.
   -V (--version)    Plugin version
   -h (--help)       usage help 

 -k or -d must be specified

check_ifoperstatus (nagios-plugins 1.3.0-alpha1) 1.1
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&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