Xymon Mailing List Archive search

Analysis Not Working as expected

3 messages in this thread

list David Company · Tue, 4 Aug 2020 08:46:13 +0200 ·
Hi,

My analysis.cfg doesn't see to be working but host.domain.local still
alerts at 82%.  My understanding is that the yellow alert for this host
should be 90 and the red 95.

This is the first entry in the alerts file.

HOST=host.domain.local
        MEMSWAP 90 95
        MEMACT  90 95
        MEMPHYS 90 95
list Jeremy Laidman · Thu, 6 Aug 2020 04:23:00 +1000 ·
Hi David

Try running xymond_client in test mode and see if the output matches what
you expect.

xymond_client --debug --test


Cheers
Jeremy
quoted from David Company

On Tue, 4 Aug 2020 at 16:46, David Company <user-a1e567ceceaa@xymon.invalid> wrote:
Hi,

My analysis.cfg doesn't see to be working but host.domain.local still
alerts at 82%.  My understanding is that the yellow alert for this host
should be 90 and the red 95.

This is the first entry in the alerts file.

HOST=host.domain.local
        MEMSWAP 90 95
        MEMACT  90 95
        MEMPHYS 90 95

list Becker Christian · Thu, 6 Aug 2020 06:49:53 +0000 ·
Hi,

just to make sure: you are asking about analysis.cfg that doesn?t seem to work.
Your code

HOST=host.domain.local
        MEMSWAP 90 95
        MEMACT  90 95
        MEMPHYS 90 95

shows a snippet that should be placed in analysis.cfg, but you wrote that this part is the first entry in the alerts file? If so, then this is the failure, since the alerts file should contain things like

                HOST=host.domain.local    SERVICE=memory    COLOR=red
                                     SCRIPT    /path/to/script/alerting-scriptname    user-6cd6ef76383b@xymon.invalid<mailto:user-6cd6ef76383b@xymon.invalid>    FORMAT=PLAIN


Regards
Christian
quoted from David Company


Von: Xymon <xymon-bounces at xymon.com> Im Auftrag von David Company
Gesendet: Dienstag, 4. August 2020 08:46
An: xymon at xymon.com
Betreff: [Xymon] Analysis Not Working as expected

Hi,

My analysis.cfg doesn't see to be working but host.domain.local still alerts at 82%.  My understanding is that the yellow alert for this host should be 90 and the red 95.

This is the first entry in the alerts file.

HOST=host.domain.local
        MEMSWAP 90 95
        MEMACT  90 95
        MEMPHYS 90 95