nagios -v not counting all warnings

Ton Voon ton.voon at opsera.com
Thu Dec 17 14:48:35 CET 2009


Hi Jim,

On 16 Dec 2009, at 12:41, Jim Avery wrote:

> When I ran "nagios -v" to check my Nagios config just now, it found a
> couple of duplicate service definitions:
>
> ----
>  Warning: 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)
>     Read object config files okay...
>
>  Running pre-flight check on configuration data...
>
>  Checking services...
>          Checked 6766 services.
>  (other checks)
>  Checking misc settings...
>
>  Total Warnings: 0
>  Total Errors:   0

Can you get a minimal config that displays this behaviour? I'll add it  
to the tests in CVS.

Should it be counted in the warnings or is it just an informational  
message?

Ton


------------------------------------------------------------------------------
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 easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 




More information about the Developers mailing list