duplicate services definition

Livio Zanol Puppim livio.zanol.puppim at gmail.com
Mon Jun 1 22:46:34 CEST 2009


In fact, to mantain a good configuration design (using automatic scripts and
nice language to users) I want duplicate service names since I'm defing the
same service for each host. I just want to know if this will bring me any
problem at all.

2009/6/1 Marc Powell <marc at ena.com>

>
> On Jun 1, 2009, at 3:03 PM, Livio Zanol Puppim wrote:
>
> > Hello!
> >
> > 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?
>
> You shouldn't be seeing Duplicate warnings unless the definitions are
> duplicated. You don't want duplicates and probably have them defined
> in both your old and new configs, both of which you've told nagios to
> use (cfg_file in nagios.cfg). Bear in mind that if you're using the
> cfg_dir directive there, it's recursive and may be catching you as
> well..
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
[]'s

Lívio Zanol Puppim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090601/1bdaf819/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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