[Xymon] Order of values in analysis.cfg

Becker Christian christian.becker at rhein-zeitung.net
Fri Dec 11 12:25:55 CET 2020


Hello to the list,

this is probably the 50st question about this.....

Can anybody guide me to understand, how individual machine thresholds, default thresholds and class thresholds are interpreted in analysis.cfg for different servers and in which order?

Let me say this is my analysis.cfg (this is not my working analysis.cfg, it's shown here just to ask my question):


# Drop windows servers below here
    CLASS=win32
            MEMACT  85 90
            MEMACT  85 90
            MEMSWAP 85 90

    HOST=WINDOWS-1
            MEMACT  97 98

# Drop powershell configured servers below here
    CLASS=powershell
            MEMACT  90 95
            MEMACT  90 95
            MEMSWAP 90 95

    HOST=WINDOWS-2
            MEMACT  90 92

# Drop linux servers below here
    CLASS=linux
           PROC    %(syslogd|syslog-ng|rsyslogd)
            PROC   sshd
            MEMACT  80 85
            MEMACT  80 85
            MEMSWAP 80 85

    HOST=LINUX-1
            MEMACT  85 90

# Default values
    DEFAULT
            DISK    * 90 95
            MEMSWAP 80 90
            MEMACT  90 95

I have difficulties to understand, how the values would be applied. Is it that way, that it looks to the class of a host and applies the values of the class first, then the rule per hostname, and then the default? Or does it stop at the first match?

Regards, greetings from Germany
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20201211/768840b7/attachment.htm>


More information about the Xymon mailing list