All pastes #2058338 Raw Edit

Miscellany

public text v1 · immutable
#2058338 ·published 2011-05-13 15:30 UTC
rendered paste body
[root@nagios init.d]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios 2.0b2
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 02-09-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
        Checked 163 services.
Checking hosts...
Error: 'elmwood-pix' is not a valid parent for host 'elmwood-leased-line-router'!
Error: 'maj-switch.hb3' is not a valid parent for host 'maj-edam'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server1'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server1'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server2'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server2'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server3'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server3'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server4'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server4'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server5'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server5'!
Error: 'mcps-prs-pix1' is not a valid parent for host 'mcps-prs-switch1'!
Error: 'mcps-prs-pix2' is not a valid parent for host 'mcps-prs-switch2'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-chalk'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-detention'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-setsquare'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-tangent'!
        Checked 101 hosts.
Checking host groups...
        Checked 21 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 15 contacts.
Checking contact groups...
Warning: Contact group 'axyswebs-contact' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'farming-page' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'twigger' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
        Checked 12 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 68 commands.
Checking time periods...
        Checked 6 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: 3
Total Errors:   18

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

[root@nagios init.d]# pwd
/etc/init.d
[root@nagios init.d]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios 2.0b2
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 02-09-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
        Checked 163 services.
Checking hosts...
Error: 'elmwood-pix' is not a valid parent for host 'elmwood-leased-line-router'!
Error: 'maj-switch.hb3' is not a valid parent for host 'maj-edam'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server1'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server1'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server2'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server2'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server3'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server3'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server4'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server4'!
Error: 'mcps-prs-foundry2' is not a valid parent for host 'mcps-prs-server5'!
Error: 'mcps-prs-foundry1' is not a valid parent for host 'mcps-prs-server5'!
Error: 'mcps-prs-pix1' is not a valid parent for host 'mcps-prs-switch1'!
Error: 'mcps-prs-pix2' is not a valid parent for host 'mcps-prs-switch2'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-chalk'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-detention'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-setsquare'!
Error: 'ngfl-pix' is not a valid parent for host 'ngfl-tangent'!
        Checked 101 hosts.
Checking host groups...
        Checked 21 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 15 contacts.
Checking contact groups...
Warning: Contact group 'axyswebs-contact' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'farming-page' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
Warning: Contact group 'twigger' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
        Checked 12 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 68 commands.
Checking time periods...
        Checked 6 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: 3
Total Errors:   18

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