Re: [Nagios-users] duplicate services definition
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@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
Re: [Nagios-users] duplicate services definition
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@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
Re: [Nagios-users] duplicate services definition
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 m...@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@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 -- 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@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
Re: [Nagios-users] duplicate services definition
On Jun 1, 2009, at 3:46 PM, Livio Zanol Puppim wrote: 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. As long as the host_name + service_description combination is unique, you'll have no problems. You could have 10,000 HTTP service_descriptions as long as they're associated to 10,000 different host_name's. -- 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@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