Service Definitions

nny nny at questionsleep.net
Fri Mar 21 00:46:31 CET 2003


is it defined through that host_name and host_group on two services
named the same?

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of David
Gitman
Sent: Thursday, March 20, 2003 5:44 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Service Definitions



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/f3b557d1/attachment.html>


More information about the Users mailing list