Re: [Nagios-devel] Unable to stop executing checks with 3.2.2
-
Guest
Re: [Nagios-devel] Unable to stop executing checks with 3.2.2
--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Sep 20, 2010 at 08:51:32AM +0100, Ton Voon said:
> The first thing is: can you get the test_events C code to execute =20
> without failure?
>=20
> The 2nd is to code your scenarios above. The tricky thing here is that =
=20
> you have to setup all the appropriate variables, then execute =20
> event_execution_loop(). As you success criteria is based on whether =20
> certain events were executed or not, you could probably work this out =20
> by checking the last_check and next_check for specific host/services =20
> afterwards.
>=20
> I look forward to see those tests!
Hi there,
This is my simple minded attempt at matching the originally reported
failure case (host checks being skipped when service checks disabled).
It fails without my patch and passes with my patch. Hopefully it's
clear enough - please ask for clarification if not.
Cheers,
--=20
--------------------------------------------------------------------------
| Stephen Gran | May not be reproduced, in whole or in |
| [email protected] | part, by any means, mechanical or |
| http://www.lobefin.net/~steve | electronic, except for brief excerpts |
| | for the purpose of inclusion in |
| | reviews. |
--------------------------------------------------------------------------
--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJMl+y8AAoJELMRjO+K6o/uy54QAM0k3ghLqooz8tXUI6O0RQ4q
+NtKT+ME8thTenbDXM7t/XQ/qz7OxI5x3KvDY87RZGeP9ITlQrFhFTUC4tZ8kzHm
JwOI2AsgaY1M5EvoCoMHMpL0eh/7YBYoQfAt1zcLtGPbTp/f1Y/yxvnZeonDnfN2
5sBSDtXLg76DIcQFnmwdUeK1tX4LR9MFf4iuZL82szNlGy/pB+iWDrXNEhXfUits
Jq95qazzITPRngrkSqkL4CumATp7/dzroyPre6VMjU8N12csnLRA2XfttRwi7W2u
4i1J7b6Efc7RFMzV9o9a5ZsUS89w0pls2ZY1psR7oQed6jDxxpM/ouHpuxSVsfjz
rR0HmmAkhCRPUlH4gBDkkEbj8qMcIIbrlTEFX8pjnFgkRg4dYfHWPLxDA6VLajOG
GEnhv5DtsAmdIS0cyu2PxonO7rcsbvUtiE/tERcj8p36AOE18M1TUg3e4p7fRGkl
876Z5GweJ3sE7UtO36UuzPf9w4kP4/HWyRGMMAIujKWrZYn424bnkU2rTAPXl5sW
2oc3iUqqcgBKasZ24FTtHtIHFWuY0wynZ8+00JgcVB4jrcjfDNBmC9BQh0jZxw/g
OrnxdJ7Y1FR+JskbTIGd4VtHAjEIklqcL6+TTo553RgXc0LGxcZPe7fHu798w853
rthMf/eMl9J0LSbAtYhT
=PRQM
-----END PGP SIGNATURE-----
--TB36FDmn/VVEgNH/--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]