Re: [Nagios-devel] nagios -v not counting all warnings

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] nagios -v not counting all warnings

Post by Guest »

I think I should be related with the host service over hostgroup
service functionality : a service apply on a host ovveride the same
service apply on a hostgroup. The message says Warning but it should
say Notice.


Jean

On Wed, Dec 16, 2009 at 1:41 PM, Jim Avery wrote:
> When I ran "nagios -v" to check my Nagios config just now, it found a
> couple of duplicate service definitions:
>
> ----
> =A0Nagios Core 3.2.0
> =A0Copyright (c) 2009 Nagios Core Development Team and Community Contribu=
tors
> =A0Copyright (c) 1999-2009 Ethan Galstad
> =A0Last Modified: 08-12-2009
> =A0License: GPL
>
> =A0Website: http://www.nagios.org
> =A0Reading configuration data...
> =A0 =A0 Read main config file okay...
> =A0Processing object config file '/usr/local/nagios/etc/objects/contacts.=
cfg'...
> =A0(lots more like this)
> =A0Processing object config file
> '/usr/local/nagios/etc/objects/wireless-ap/ws5000-ap.cfg'...
> =A0Warning: Duplicate definition found for service 'CPU' on host
> 'sh-en-1' (config file
> '/usr/local/nagios/etc/objects/servers-windows/cpu.cfg', starting on
> line 3)
> =A0 =A0 Read object config files okay...
>
> =A0Running pre-flight check on configuration data...
>
> =A0Checking services...
> =A0 =A0 =A0 =A0 =A0Checked 6766 services.
> =A0(other checks)
> =A0Checking misc settings...
>
> =A0Total Warnings: 0
> =A0Total Errors: =A0 0
>
> =A0Things look okay - No serious problems were detected during the
> pre-flight check
> ----
>
> So even though it found those duplicate definitions, it still said
> "Total Warnings: 0" at the end. =A0Is that a bug? =A0I've had a quick loo=
k
> in Tracker and can't see anything similar, not sure If I'm looking in
> the right place though.
>
> Cheers,
>
> Jim
>
> -------------------------------------------------------------------------=
-----
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and e=
asy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked