Re: [Nagios-devel] nagios 3 host checks logic

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 3 host checks logic

Post by Guest »

This is a multipart message in MIME format.
--=_alternative 00424F93C125735D_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"

Additional infos=20
from Matthias (mess) from german nagios forum. (He has mail problem at the=
=20
moment and can not post by himself)=20

***************************************************************************=
****
running the last cvs changes on our test server I noticed that=20
$HOSTADDRESS$
macro intermittently is not resolved correctly. I get numerous messages in=
=20
nagios.log

[1190372305] HOST ALERT: host1;DOWN;SOFT;1;check_icmp: Failed to resolve=20
-w
[1190372345] HOST ALERT: host1;UP;SOFT;2;OK - NNN.NNN.NNN.NNN: rta=20
0.285ms,
lost 0%

check_icmp is defined like this: $USER1$/check_icmp -H $HOSTADDRESS$ -w=20
$ARG1$
-c $ARG2$
***************************************************************************=
*****

Best regards
Thomas


P Please consider the environmental impact of needlessly printing this=20
e-mail.=20




Thomas Stolle =20
Sent by: [email protected]
21.09.2007 12:52
Please respond to
Nagios Developers List


To
[email protected]
cc
[email protected]
Subject
Re: [Nagios-devel] nagios 3 host checks logic problem on some=20
kernels/distros







Dear List=20

today I installed the new CVS to get rid of the host check logic problem=20
and the high cpu load.=20
I can confirm that load is in a normal range now but after installing CVS=
=20
someting with host- and servicechecks went terribly wrong.=20
Many checks return a critical result even if the checked system or service=
=20
is up. (I compared with a second nagios server running 2.9. Everything was=
=20
ok there.)=20
I executed the checkcommands manual from the commandline and received=20
correct values and an OK state, while Nagios said it is critical.=20

Caused by this I switched back to nagios 3.0b3. All services and hosts=20
returned to a normal state but of course CPU load is high again now.=20

Best regards=20
Thomas=20


P Please consider the environmental impact of needlessly printing this=20
e-mail.=20



Ethan Galstad =20
Sent by: [email protected]=20
20.09.2007 23:20=20

Please respond to
[email protected]; Please respond to
Nagios Developers List


To
Nagios Developers List =20
cc

Subject
Re: [Nagios-devel] nagios 3 host checks logic problem on some=20=20
kernels/distros








Thanks all - I found the cause of the problem and fixed it. A patch=20
will be in CVS shortly.

Thomas Stolle wrote:
>=20
> From: SCHAER Frederic cea.fr>
> Subject: *nagios 3 host checks logic problem on some kernels/distros*=20
> *
> Newsgroups: *=20
> *MailScanner has=20
> detected a possible fraud attempt from "news.gmane.org" claiming to be*=
=20
> *gmane.network.nagios.devel*=20
> *
> Date: 2007-09-10 16:17:30 GMT (1 week, 15 hours and 23 minutes ago) *
>=20
> *Hi, *
>=20
> * *
>=20
> *I think I identified a problem (but not and the solution) on the nagios=
=20

> 3 source tree? *
>=20
> *I tried with both the 3.0b3 and cvs HEAD source files and could not get=
=20

> rid of the problem. *
>=20
> *I?m running a 2.4.21 kernel on a RHEL3 box. *
>=20
> * *
>=20
> *What happens is that as soon as I start nagios 3, it starts eating all=
=20
> of the *CPU*. *
>=20
[snip]
>=20
> *I have 53 hosts defined, I don?t understand why nagios is checking ever=
=20

> and ever the same host? and why this is not happening on all systems. *
>=20
> * *
>=20
> *De-activating host checks magically ?solves? the problem. *
>=20
> * *
>=20
> *I just found out th

...[email truncated]...


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