[Xymon] Small oddity - specifying max number of processes but no minimum.

Larry Barber lebarber at gmail.com
Fri Sep 7 21:06:06 CEST 2012


I think -1 only works as the max value. For the minimum, zero is the more
natural number to use.

Thanks,
Larry Barber


On Fri, Sep 7, 2012 at 1:31 PM, Betsy Schwartz <betsy.schwartz at gmail.com>wrote:

> I have a process named "foo". It is ok if there are zero instances of
> this process running, or one or more. I want to alert when there are
> more than three instances.
>
> If I put in analysis.cfg:
>
> PROC  foo  -1 3 yellow
>
> and there are no foo processes, the procs page shows:
>           green foo (found 0, req. 1 or more)
>
> Color is correct, message is inaccurate
> Then if I have more than three I see:
>
> yellow foo  (found 11, req. 1 or more)
>
> So I think the test is correct but the message is confusing.
>
> also it's not explicitly documented that you can use -1 to mean "no
> minimum"
>
> (server and client are 4.3.7)
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120907/80360195/attachment.html>


More information about the Xymon mailing list