check_none command

Andreas Ericsson ae at op5.se
Thu Jun 30 17:44:39 CEST 2005


Mariano Cunietti wrote:
> Hi list,
> I'm trying to configure a passive check on Nagios for an ATM router with
> MPLS VPN VRFs to be monitored.
> SNMP works fine, I also wrote a script to parse the trap and forward
> output to Nagios.
> 
> I configured a service like this:
> 
> define service{
>         host_name                       atm1-mi
>         service_description             MPLS-VRF
>         is_volatile                     1
>         active_checks_enabled           0
>         passive_checks_enabled          1
>         max_check_attempts              1
>         normal_check_interval           5
>         retry_check_interval            2
>         contact_groups                  admins-SMS
>         notification_interval           60
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_none
>         }
> 
> but I get an errore when I run nagios:
> 
> "Error: Service check command 'check_none' specified in service
> 'MPLS-VRF' for host 'atm1-mi' not defined anywhere!"
> 
> I should configure it in checkcommands.cfg, but HOW? what should it do
> to be a "none" command?
> 

check_dummy to the rescue. It's in the plugin distribution.

> Thanks
> 
> Mariano

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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