Warning: Duplicate definition found for service 'XXXX' on host 'YYYY'

Werner Flamme werner.flamme at ufz.de
Thu Feb 9 16:14:47 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Thompson [09.02.2012 12:17]:

> Nagios Users,
> 
> Im trying to restructure my Nagios to make the web interface easier
> to read.
> 
> My test servers.cfg file is thus: 
> http://dl.dropbox.com/u/895609/office_servers.cfg
> 
> When I test my config I get: Warning: Duplicate definition found
> for service 'XXXX' on host 'YYYY'
> 

Andrew,

what happens when you remove the "hostgroups" line from each service
definition?

AFAIK this causes the services to be executed on any host in that
hostgroup, while you intend to check one server per service (as I
understood).

HTH
Werner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8z4ucACgkQk33Krq8b42NacACfbbQx2PhWpX3d2QD5VSJaO3I5
emcAn1CSrRFo1CNsCMGMVKqgNdhIqzi2
=VY1E
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list