[Xymon] File monitoring

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Thu Nov 8 02:39:33 CET 2018


Hi everyone,

I'm trying to monitor for the existence of some files.  I have the entries in client-local.config, and when the files exist they are being reported back properly.  I can see the data about each file when I click on it in the files area for the server.  The problem comes when the files don't exist.  The files entry for the server remains green, but when I click on the file that I'm monitoring it says ERROR: No such file or directory.  So Xymon client is sending back that it doesn't exist, but yet Xymon is still green.

Here's the client-local.cfg for that server:

[retvpgpdbak.na.lzb.hq]
file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).pgc`
file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).sql.gz`
file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/basebackup-$(date +%F).tgz`
file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/quartz-$(date +%F).pgc`
file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/quartz-$(date +%F).sql.gz`

And the analysis.cfg

HOST=retvpgpdbak.na.lzb.hq
        FILE `echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).pgc` red  TYPE=file SIZE>0 MTIME<108000


>From the man-page, Xymon is supposed to send an alert if the file doesn't exist... So the only thing I can think of is that my analysis.cfg entry is wrong somehow.

Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162  | * 734-384-6403 | | * 7349151444 | *  Scot.Kreienkamp at la-z-boy.com<mailto:%7BE-mail%7D>
www<http://www.la-z-boy.com/>.la-z-boy.com<http://www.la-z-boy.com/> | facebook.<https://www.facebook.com/lazboy>com<https://www.facebook.com/lazboy>/<https://www.facebook.com/lazboy>lazboy<http://facebook.com/lazboy> | twitter.com/lazboy<https://twitter.com/lazboy> | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>

[cid:lzbVertical_hres.jpg]



This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181108/97a30248/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lzbVertical_hres.jpg
Type: image/jpeg
Size: 21288 bytes
Desc: lzbVertical_hres.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181108/97a30248/attachment.jpg>


More information about the Xymon mailing list