Re: mv .cfg for switch I don't want to monitor crashes Nagio
Posted: Thu Mar 13, 2014 4:12 pm
Code: Select all
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Processing object config file '/etc/nagios/objects/groups.cfg'...
Processing object config directory '/etc/nagios/objects/computers'...
Processing object config directory '/etc/nagios/objects/computers/corporate'...
Processing object config file '/etc/nagios/objects/computers/corporate/ahgserver2.cfg'...
Processing object config file '/etc/nagios/objects/computers/corporate/ahgserver2003.cfg'...
Processing object config file '/etc/nagios/objects/computers/corporate/grey.cfg'...
Processing object config file '/etc/nagios/objects/computers/corporate/mail.cfg'...
Processing object config directory '/etc/nagios/objects/computers/hotels'...
Processing object config file '/etc/nagios/objects/computers/hotels/bentley.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/amcourt.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/ameritania.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/moderne.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/berkeley.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/empire.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/empire2.cfg'...
Processing object config file '/etc/nagios/objects/computers/hotels/marcel.cfg'...
Processing object config file '/etc/nagios/objects/computers/excsvc.cfg'...
Processing object config file '/etc/nagios/objects/computers/winsvc.cfg'...
Processing object config directory '/etc/nagios/objects/devices'...
Processing object config file '/etc/nagios/objects/devices/antsvc.cfg'...
Processing object config file '/etc/nagios/objects/devices/fwsvc.cfg'...
Processing object config directory '/etc/nagios/objects/devices/inngates'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_berk.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_bent.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_amcourt.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_mar.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_amer.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_emp.cfg'...
Processing object config file '/etc/nagios/objects/devices/inngates/ant_mod.cfg'...
Processing object config directory '/etc/nagios/objects/devices/sonicwalls'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_berk.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_mod.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_emp.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_mar.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_amer.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_corp.cfg'...
Processing object config file '/etc/nagios/objects/devices/sonicwalls/sw_bent.cfg'...
Warning: Duplicate definition found for service 'C:\ Drive Space' on host 'ahgserver2003' (config file '/etc/nagios/objects/computers/corporate/ahgserver2.cfg', starting on line 10)
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 163 services.
Checking hosts...
Error: 'AH-AMCourt' is not a valid parent for host 'AMCourt innGate'!
Error: 'AH-AMCourt' is not a valid parent for host 'Amsterdam Court'!
Checked 27 hosts.
Checking host groups...
Checked 6 host groups.
Checking service groups...
Checked 2 service groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 32 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 26 commands.
Checking time periods...
Checked 6 time periods.
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: 0
Total Errors: 2
***> 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.
Code: Select all
What do I make of this please help?
I fixed it by copying another sonicwall .cfg file because I luckilly remembered the settings.