Icinga error "Icinga Startup Delay does not exist" although it does

Posted by aaron on Server Fault See other posts from Server Fault or by aaron
Published on 2012-01-17T22:46:53Z Indexed on 2012/11/20 5:02 UTC
Read the original article Hit count: 618

Filed under:
|
|

I just installed icinga to monitor my server following this guide: http://docs.icinga.org/0.8.1/en/wb_quickstart-idoutils.html

Everything built and installed correctly, but icinga is reporting a critical error with the reason: "The command defined for service Icinga Startup Delay does not exist"

However, I can see that ${ICINGA_BASE}/etc/objects/localhost.cfg contains:

define service{
    use                             local-service   ; Name of service template to use
    host_name                       localhost
    service_description             Icinga Startup Delay
    check_command                   check_icinga_startup_delay
    notifications_enabled           0
}

and ${ICINGA_BASE}/etc/objects/commands.cfg contains:

define command {
    command_name    check_icinga_startup_delay
    command_line    $USER1$/check_dummy 0 "Icinga started with $$(($EVENTSTARTTIME$-$PROCESSSTARTTIME$)) seconds delay | delay=$$(($EVENTSTARTTIME$-$PROCESSSTARTTIME$))"
}

both of these files had not been modified since the whole make/install process.

I am running on Ubuntu 10.04, most recent build of icinga-core, and apache2 2.2.14

What must I do to tell Icinga that the command exists? Or is the problem that check_dummy does not exist? Where or how would I define that?

© Server Fault or respective owner

Related posts about startup

Related posts about delay