lot's of unknowns
Terry L. Inzauro
tinzauro at ha-solutions.net
Tue Mar 29 16:13:33 CEST 2005
Aurimas Mikalauskas wrote:
> Hi,
>
> I have this strange problem and I'm looking for an answer hopefully in
> the right place. I'm new to nagios and I'm sure I'm just missing
> something:
>
> Most of checks are done via snmp. And if snmp daemon on the server
> crashes, I get lot's of emails and smss saying that the service
> states are unknown (and I think - damn, it'd be better if the host was
> unreachable). Is there any way to make nagios believe that if it gets
> more than two unknown states in one check period for the same host,
> probably it's just a simple disaster and it could only send a simple
> notice - "man, your server is almost dead - only two out of the 20
> services you are checking are still in a KNOWN state!"?
>
> Thank you in advance!
>
> Respectfully,
> Aurimas
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
i believe you can accomplish this by setting up service dependecies.
just setup your snmp check to depend on check_procs or something of the
likeing.....or if you want to be really simple, check_tcp (snmp port).
_Terry
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list