Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting Warning range doesn’t trigger at top?

  • Warning range doesn’t trigger at top?

    Posted by bluefoxicy on July 30, 2012 at 18:41

    I have a disk usage monitor with warning from 80-90 and critical from 91-100

    at 90, it shows green…

    Is this somewhere doing an (if value < max_warn) {...} thing where it should be <= or what? I assume this is in pandora server, installed from: pandorafms_server-4.0.2-1.noarch.rpm

    bluefoxicy replied 12 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Nacho1988

    Member
    July 30, 2012 at 19:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Start the range for the critical min value at 90.1

    Probably the module is giving a value like 90.2 or whatever between 90 and 91 which are not included in the ranges you setup so that’s why it shows at normal status.

    Regards

  • bluefoxicy

    Member
    July 30, 2012 at 21:04
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Start the range for the critical min value at 90.1

    Probably the module is giving a value like 90.2 or whatever between 90 and 91 which are not included in the ranges you setup so that’s why it shows at normal status.

    Regards

    The module cuts the decimal off the end.

    I should just warn on 80-90 and critical on 90-100, instead of critical 91-100 anyway.  Interestingly, when you invert these (i.e. warn from 10-20, critical from 0-10), the logic changes:  Warning seems to pick up on the bottom end (10-20 warns on 10 <= x < 20).