Ok thanks
This is the output from the UI after a failed 'apply config' :
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching 'Ricoh Large BS3' (config file '/usr/local/nagios/etc/services/Printer Status.cfg', starting on line 14)
Error: Failed to expand host list '15GSRicoh1' for service 'Printer Status' (/usr/local/nagios/etc/services/Printer Status.cfg:14)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
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.
And then this is the verify output:
[root@localhost ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Ping' on host 'mam-regent.eu.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/mam-regent.eu.mcsaatchi.pri.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'ukam01.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Server Disk Space C.cfg', starting on line 14)
Warning: Duplicate definition found for service 'CPU Usage' on host 'ukam01.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Server CPU Usage.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Memory Usage' on host 'ukam01.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Server Memory Usage.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Ping' on host 'ukam01.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Server Ping.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Ping' on host 'mam-soho.eu.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Apple Mac Ping.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Ping' on host 'mam-carnaby.eu.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Apple Mac Ping.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Ping' on host 'mam-piccadilly.eu.mcsaatchi.pri' (config file '/usr/local/nagios/etc/services/Apple Mac Ping.cfg', starting on line 14)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 1058 services.
Warning: Host '15GSRicoh1' has no default contacts or contactgroups defined!
Warning: Host '15GSRicoh2' has no default contacts or contactgroups defined!
Warning: Host '15GSRicoh3' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 1GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 2BS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 2GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 3GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 4GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 5GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh 6GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh GF' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large 15GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large BS3' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large BS3 Fiery' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large GS1' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large GS1 Fiery' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large GS5' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Large GS5 Fiery' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh No2 GS' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh Partners' has no default contacts or contactgroups defined!
Warning: Host 'Ricoh World Services' has no default contacts or contactgroups defined!
Warning: Host 'RicohNo30GPS' has no default contacts or contactgroups defined!
Checked 235 hosts.
Checked 22 host groups.
Checked 0 service groups.
Checked 18 contacts.
Checked 2 contact groups.
Checked 146 commands.
Checked 27 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 235 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 27 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 22
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
[root@localhost ~]#