RES: check_none command??? Where defined??

Sandro Vaz (UOL) sandromergvaz at uol.com.br
Fri Feb 21 22:53:30 CET 2003


Sergio:

Did you define check_none at checkcommands.cfg? Here my example...

define command{
        command_name    check_none
        command_line    none
        }

HTH,

SMV

-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Sergio Morilla
Enviada em: sexta-feira, 21 de fevereiro de 2003 15:43
Para: _Nagios-Users (E-mail)
Assunto: [Nagios-users] check_none command??? Where defined??


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
}


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 18/2/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.456 / Virus Database: 256 - Release Date: 18/2/2003
 



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