[Xymon] alert on PROC only during certain time

Kris Springer kspringer at innovateteam.com
Thu Dec 6 16:47:40 CET 2018


Thanks Fabian.  Your suggestion works perfectly.

Kris Springer


On 12/6/18 12:37 AM, Fabian Wendlandt wrote:
>
> In the analysis.cfg you can specify a limit for max processes. If you 
> set it to 0 xymon will alert when its running.
>
> In analysis.cfg:
>
> HOST=CamViewer TIME=*:2200:2400
>
> PROC CamSoftware 0 0
>
> This will change proc’s color to red if a process named CamSoftware is 
> running between 22:00 and 24:00 on any given day.
>
> See 
> http://xymon.sourceforge.net/xymon/help/manpages/man5/analysis.cfg.5.html
>
> Best regards,
>
> Fabian
>
> *Von:* Xymon <xymon-bounces at xymon.com> *Im Auftrag von *Kris Springer
> *Gesendet:* Mittwoch, 5. Dezember 2018 22:44
> *An:* Xymon MailingList <xymon at xymon.com>
> *Betreff:* [Xymon] alert on PROC only during certain time
>
> I need to configure my analysis.cfg file to check if a specific 
> process on a specific host is NOT running during a specific time.  
> That is, if the process IS running during that time I want it to flag 
> red.  I don't care if it's running any other time of the day.  I've 
> reviewed the man pages and tried a few different settings with no 
> success.  I'm hoping someone could send me a functioning sample config.
>
> Here's what I've got in analysis.cfg
>
> *HOST=CamViewer  EXTIME=*:2200:2400
>     PROC    CamSoftware*
>
>   
> Kris Springer
>   
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181206/e5cfc67d/attachment.html>


More information about the Xymon mailing list