[Xymon] get data between alert

cleaver at terabithia.org cleaver at terabithia.org
Thu Jul 11 21:15:02 CEST 2013



> can anyone help?
>
>
> On Thu, Jul 11, 2013 at 10:37 AM, deepak deore
> <deepakdeore2004 at gmail.com>wrote:
>
>> How to get data when alert started and during alert data changes.
>>
>> eg. I am monitoring mysql slow queries which gets displayed on browser
>> and
>> yellow alert gets triggered. During yellow state the data changes, i see
>> queries goes down and up. But in report i see only the data when alert
>> started and when it recovered.
>>
>> So how do get the data which changes in between alerts situation.
>>
>>

By default, xymond only creates a snapshot (specifically: sends a copy of
the current client report for a $HOST over the 'clichg' channel to the
xymond_hostdata listener) when an ALERT threshold is crossed.


I'd considered a patch that would cause xymond to send a "spurious" clichg
message on a regular basis while something is in an alert state
persistently (eg, every half-hour snapshots), but this is really something
that would have to be highly configurable for different installations...

A hack that can be done now is to create an otherwise-ignored status test
for all hosts (eg, "tied"). On whatever frequency you want, send a "red"
status in for the host on this test, followed by a green or clear status.
This will cause xymond to save a snapshot in which should be visible from
either the 'tied' service history dot, and/or an event log report for the
host generally.


Regards,

-jc




More information about the Xymon mailing list