[Nagiosplug-help] check_ifoperstatus

Jan Scholten Jan.Scholten at iconz.net
Wed Nov 24 13:08:28 CET 2004


Try a selfmade check:

define command{
command_name   check_myPortStatus
commandline $USER1$/check_snmp -H $HOSTADDRESS$ -c public -o 
IF-MIB::ifOperStatus.$ARG1$ -w 1:1, -c 1:1
}

use it with the port to check as an Argument
check_myPortStatus!3

which will return a ok if the port is up (1) and a critical otherwise.

Jan




> 			
> Hi, i´d like to know how can I use check_ifoperstatus.
> Do I have to create a service in services.cfg ?
> 
> 
> Thanks 
> 
> SR




More information about the Help mailing list