duplicate services definition

Max Hetrick maxhetrick at verizon.net
Mon Jun 1 22:14:46 CEST 2009


Livio Zanol Puppim wrote:

> I'm trying to modify how my configuration files are written, and have 
> choosed to make one CFG file per host monitored. The file contain the 
> host itself and all the services monitored on that host. Using this 
> configuration makes nagios3 return a bunch of WARNING messages about 
> "Duplicate definition", but works just fine. Are there any problems in 
> using this kind of design?

Warning messages can generally be ignored, as they are only recommended 
messages to fix. The only problem would be a lot of extra typing that 
isn't needed is all.

Generally, you specify host_name as follows for more than one host:

host_name 	host1,host2,host3

Regards,
Max

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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