check_none command

Mariano Cunietti mcunietti at enter.it
Thu Jun 30 16:59:34 CEST 2005


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?

Thanks

Mariano
-- 
-------------------------
Mariano Cunietti
System Administrator
Enter S.r.l.
Via  Stefanardo da Vimercate, 28
20128 - Milano - Italy
Tel.  +39 02 25514319
Fax   +39 02 25514303
mcunietti at enter.it
www.enter.it - www.enterpoint.it
---------------------------
Gruppo Y2K - www.gruppoy2k.it



-------------------------------------------------------
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