Dynamic warning/critical thresholds

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Tue Jul 10 17:46:41 CEST 2012


As indicated, make a plugin that gets the info and set thresholds
so high they're never likely to "ring the red bell".

But in addition to this, I'd set it up with something like nagiosgraph
to generate graphs that you can watch. This will save/show historical
data and show you the norm. Thus you may wish to then set a
threshold at a later date based on this empirical data.

If you don't want to go to the trouble of nagiosgraph, your plugin can
still email you when the rate reaches a threshold you define (again,
without setting off nagios warning/critical alarms)

On Tue, Jul 10, 2012 at 10:28 AM, Jonathan Gazeley
<jonathan.gazeley at bristol.ac.uk> wrote:
> On 10/07/12 14:47, C. Bensend wrote:
>>
>>> On 22/06/12 15:11, Jonathan Gazeley wrote:
>>>> I've got a bunch of Nagios plugins that monitor things like
>>>> DNS/HTTP/RADIUS hits per second.
>>>>
>>>> I've set what I believe to be sensible max/min warning thresholds but
>>>> what I really want is dynamic thresholds. If some quantity suddenly
>>>> doubles or halves, I'd like an alert.
>>>>
>>>> For example, if I usually serve 10 DNS lookups per second, and suddenly
>>>> it is doing 20 per second, that isn't a "fault" but I would like to know
>>>> about it, because it might mean there is a problem with the network in
>>>> general.
>>>>
>>>> Is there a way of doing this?
>>>>
>>>
>>> Any ideas?
>>
>> You've already received two replies, both stating that you'll
>> likely have to write some code to do it.  I'm not aware of
>> any common plugins out there that calculate rates of change and
>> alert appropriately.  Maybe they exist, but I don't recall
>> seeing any of them.
>>
>> Have you tried any of the plugin sites?
>>
>>
>
> Oh, I didn't receive any replies. Presumably the mails got lost in the
> ether.
>
> I'm happy to write code - I just wondered if there was a built-in way of
> doing this.
>
> Thanks for your response,
> Jonathan
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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