All pastes #23767 Raw Edit

Miscellany

public text v1 · immutable
#23767 ·published 2005-09-24 05:51 UTC
rendered paste body
root (mbox:0:0)/usr/local/nagios/etc # nagios -v nagios.cfg

Nagios 2.0b4
Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-02-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'check_ping' specified in service 'PING' for host 'mbox' not defined anywhere!
Warning: Service 'PING' on host 'mbox'  has no default contact group(s) defined!
Error: Check period '24x7' specified for service 'PING' on host 'mbox' is not defined anywhere!
Error: Notification period '24x7' specified for service 'PING' on host 'mbox' is not defined anywhere!
 Checked 1 services.
Checking hosts...
Error: Host check command 'check-hosts-alive' specified for host 'mbox' is not defined anywhere!
Error: Host 'mbox'  has no default contact group(s) defined!
Error: Notification period '24x7' specified for host 'mbox' is not defined anywhere!
 Checked 1 hosts.
Checking host groups...
Error: There are no host groups defined!
 Checked 0 host groups.
Checking service groups...
 Checked 0 service groups.
Checking contacts...
Error: There are no contacts defined!
 Checked 0 contacts.
Checking contact groups...
Error: There are no contact groups defined!
 Checked 0 contact groups.
Checking service escalations...
 Checked 0 service escalations.
Checking service dependencies...
 Checked 0 service dependencies.
Checking host escalations...
 Checked 0 host escalations.
Checking host dependencies...
 Checked 0 host dependencies.
Checking commands...
 Checked 0 commands.
Checking time periods...
 Checked 0 time periods.
Checking extended host info definitions...
 Checked 0 extended host info definitions.
Checking extended service info definitions...
 Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 1
Total Errors:   9

***> One or more problems was encountered while running the pre-flight check...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.