nagios -v not counting all warnings

Max perldork at webwizarddesign.com
Wed Dec 30 19:45:15 CET 2009


Just had a similar situation with both 3.0.3 and 3.2.0 today, but for an
error.  Not only was the error not counted in the totals, it did not cause
the check config to exit with error.

The contact group was only mentioned as a contact group member, was not
mentioned anywhere else in the configs as it had been removed from
everywhere else except for the contact group.

Same output (minus the verbose file output of 3.2.0) for 3.2.0.

Nagios 3.0.3
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 06-25-2008
License: GPL

Reading configuration data...

Error: Could not find member group 'nnnn-group' specified in contactgroup
(config file '/usr/local/nagios/etc/clients/clientA/contacts.cfg', starting
on line 1)
Running pre-flight check on configuration data...

Checking services...
    Checked 43936 services.
Checking hosts...
    Checked 2199 hosts.
Checking host groups...
    Checked 337 host groups.
Checking service groups...
    Checked 52 service groups.
Checking contacts...
    Checked 78 contacts.
Checking contact groups...
    Checked 43 contact groups.
Checking service escalations...
    Checked 43732 service escalations.
Checking service dependencies...
    Checked 77624 service dependencies.
Checking host escalations...
    Checked 2077 host escalations.
Checking host dependencies...
    Checked 0 host dependencies.
Checking commands...
    Checked 168 commands.
Checking time periods...
    Checked 6 time periods.
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight
check

# echo $?
0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20091230/d798269f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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 
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list