Service Definitions

David Gitman David at feedroom.com
Fri Mar 21 00:44:13 CET 2003


Can I not have a host defined twice in the services.cfg file? The host
is defined as a host_name and under a hostgroup_name. Also "definitions"
is spelled incorrectly in the error message.

 

 

 

/etc/init.d/nagios reload

Running configuration check...

Nagios 1.0

Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org)

Last Modified: 11-24-2002

License: GPL

 

Reading configuration data...

 

Error: Service 'SSH' on host 'hal' has already been defined

 

Error: Could not register service (config file
'/local/project/nagios/etc/services.cfg', line 21)

 

 

***> 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 on the main and host config files, as well
as the

     'Whats New' section to find out what has changed.

 

failed - aborting reload.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030320/32ec08e7/attachment.html>


More information about the Users mailing list