passive host - distributed monitoring

Hendrik Bäcker andurin at process-zero.de
Sat Apr 14 10:27:28 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Marco Supino schrieb:
> Hi,
>
> Thanks for the answer, but according to the docs, a host has
> max_check_attemps :
>
Thanks for posting the docs. You are right.. .a host has
max_check_attempts... but NOT while getting a passive host check result.
Receiving this will immediatelly result in a hard state.
>
> I am currently on Nagios 2.8 , and a solution I found for this is in the
> OCHP command, submit throw NSCA only of the state is HARD, so the active
> check will only submit host results for HARD OK and Non-OK , although
> SOFT errors do appear sometimes,
Another workaround might be using host eventhandler to only use
send_nsca when the state of the distributed server is HARD.
>
> I started working on allowing passive soft alerts, but i think the
> service reaper is breaking my logic, i will continue working on it,
In my opinion, this work might be a nut.
Ethan's works hardly on Nagios3, don't know how far he is, but I think
it will be released within the next few months or so.
Nagios3 has many changes, good changes and cause of the new host check
logic your hack attempts to get passive host checks working like you
would will die on Nagios 3.
Just my 2 Cents.
>
> one more thing, while working in distributed setup, i noticed that a
> service freshness checking is not don't if check_period is NONE, i think
> this is problematic, because if i disable active checks, the services
> will show as "Disabled" in the TAC, if i enable checks, it will run
> checks even if results are fresh, but my remote hosts are unreachable
> from the "master" nagios, I have a patch for it, if you think this is an
> issue, or maybe add a config option to "force freshness even if out of
> check_period"
Well, I think I don't get this right.
Your remote hosts are not reachable by your master? So active checks
will never be an option?
Why don't you go the way described in:

http://nagios.sourceforge.net/docs/2_0/distributed.html (nearly at the
end of the page)

This would get you an alerting when the passive checks are stale,
instead of doing a normal active check of your services when they are
stale.

>
> Thanks.
>
> Marco.
Kind regards
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
 
iD8DBQFGIJBwlI0PwfxLQjkRAlfTAJ98u1TLtH6OgGK3xWwD0amL54VL3QCfV4Vp
7EIJUAUioSapLRvSwQPt5RU=
=SCtK
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list