Page 1 of 1

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

Posted: Wed Dec 30, 2009 6:45 pm
by Guest
--0016e6d7e33a3f2c8e047bf68b29
Content-Type: text/plain; charset=ISO-8859-1

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

--0016e6d7e33a3f2c8e047bf68b29
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Just had a similar situation with both 3.0.3 and 3.2.0 today, but for an er=
ror.=A0 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 ment=
ioned as a contact group member, was not mentioned anywhere else in the con=
figs as it had been removed from everywhere else except for the contact gro=
up.

Same output (minus the verbose file output of 3.2.0) for 3.2.0.=
Nagios 3.0.3Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)Last Modified: 06-25-2008

License: GPLReading configuration data...Error: Could not f=
ind member group 'nnnn-group' specified in contactgroup (config fil=
e '/usr/local/nagios/etc/clients/clientA/contacts.cfg', starting on=
line 1)

Running pre-flight check on configuration data...Checking services.=
..=A0=A0=A0 Checked 43936 services.Checking hosts...=A0=A0=A0 C=
hecked 2199 hosts.Checking host groups...=A0=A0=A0 Checked 337 host=
groups.Checking service groups...

=A0=A0=A0 Checked 52 service groups.Checking contacts...=A0=A0=A0 C=
hecked 78 contacts.Checking contact groups...=A0=A0=A0 Checked 43 c=
ontact groups.Checking service escalations...=A0=A0=A0 Checked 4373=
2 service escalations.

Checking service dependencies...=A0=A0=A0 Checked 77624 service depende=
ncies.Checking host escalations...=A0=A0=A0 Checked 2077 host escal=
ations.Checking host dependencies...=A0=A0=A0 Checked 0 host depend=
encies.Checking commands...

=A0=A0=A0 Checked 168 commands.Checking time periods...=A0=A0=A0 Ch=
ecked 6 time periods.Checking global event handlers...Checking obse=
ssive compulsive processor commands...Checking misc settings...=
Total Warnings: 0

Total Errors:=A0=A0 0Things look okay - No serious problems were de=
tected during the pre-flight check# echo $?0

--0016e6d7e33a3f2c8e047bf68b29--





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