[Xymon] Test for file existence/contents and send contents in alert

Zoltan Forray zforray at vcu.edu
Wed Sep 23 22:33:52 CEST 2020


I have a request to perform the following test and am not sure Xymon can do
both parts of the request.  If so, can someone show me how?  I felt this is
a FILE test to see if the file exists and/or is empty.

This is their request:

*The test should be added as a procruntime test.*

*The test should look for the file /home/tomcat/alertbody.txt*

*If the file is not present, the test result is OK.*

*If the file is present, the test result is CRITICAL, and the contents of
alertbody.txt should be sent to alert recipients (if that is possible).*

-- 
*Zoltan Forray*
IBM Spectrum Protect (p.k.a. TSM) Administrator
VMware Administrator
Xymon Monitor Administrator
Virginia Commonwealth University
UCC/Office of Technology Services
www.ucc.vcu.edu
zforray at vcu.edu - 804-828-4807
Don't be a phishing victim - VCU and other reputable organizations will
never use email to request that you reply with your password, social
security number or confidential personal information. For more details
visit http://phishing.vcu.edu/
<https://adminmicro2.questionpro.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200923/645466fd/attachment.htm>


More information about the Xymon mailing list