check_none command??? Where defined??

Subhendu Ghosh sghosh at sghosh.org
Fri Feb 21 21:05:00 CET 2003


Sure - 
define command{
 command_name    check_none
 command_line    echo
}

-sg

On Fri, 21 Feb 2003, Sergio Morilla wrote:

> For the sake of tidyness, is there a way to define shuch
> command in checkcommands.cfg ???
> 
> Something like:
> 
> define command{
> command_name    check_none
> command_line    
> }
> 
> Is this correct??
> -----Mensaje original-----
> De: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Enviado el: Friday, February 21, 2003 16:07
> Para: _Nagios-Users (E-mail)
> Asunto: Re: [Nagios-users] check_none command??? Where defined??
> 
> 
> On Fri, 21 Feb 2003, Sergio Morilla wrote:
> 
> > Hi,
> > 
> > I´m trying to set up snmp traps processing, but when I define the service and test the
> > configuration files I got:
> > 
> > Checking services... Error: Service check command 'check_none' specified
> > in service 'bue-motorla-trap-link' for host 'bue-motorola' not defined
> > anywhere!
> >         Checked 27 services.
> > 
> > Here is the offending code
> > define service{
> > host_name               bue-motorola
> > service_description     bue-motorla-trap-link
> > is_volatile             1
> > active_checks_enabled   0
> > check_period            24x7
> > passive_checks_enabled  1
> > max_check_attempts      1
> > contact_groups          ptp-routers
> > normal_check_interval   1 ; Check the service every min
> > retry_check_interval    1 ; Time to wait before scheduling a re-check of a service
> > notification_interval   3 ; This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state.Time units are minutes
> > notification_interval   120
> > notification_period     24x7
> > notification_options    w,u,c,r
> > check_command           check_none
> > }
> > 
> 
> You need a valid check_comand value.  Since it is  passice service, it 
> will never be run - so you can use any valid check_command
> 
> 

-- 





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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