Files removed from analysis.cfg still show in Files page

K. Keniston misc_spam at yahoo.com
Wed Jun 12 22:12:29 CEST 2019


We'd been monitoring a set of files for presence and age using the following in analysis.cfg.
    FILE /adabckcurrent/db038.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db041.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db042.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db043.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db044.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db045.adabck red mtime<122400 TIME=*:0530:1730

all the file links on the File page show the appropriate info as expected for each
[file:/adabckcurrent/db0XX.adabck] 
type:100000 (file) 
mode:664 (-rw-rw-r--) 
linkcount:1 
owner:1003 (sag) 
group:1003 (sag) 
size:65968430564 
clock:1560369713 (2019/06/12-15:01:53) 
atime:1560342550 (2019/06/12-07:29:10) 
ctime:1560342832 (2019/06/12-07:33:52) 
mtime:1560342832 (2019/06/12-07:33:52)
we've since eliminated some of these files and have commented the appropriate lines in analysis.cfg.

      FILE /adabckcurrent/db038.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db041.adabck red mtime<122400 TIME=*:0530:1730
#    FILE /adabckcurrent/db042.adabck red mtime<122400 TIME=*:0530:1730
#    FILE /adabckcurrent/db043.adabck red mtime<122400 TIME=*:0530:1730
#    FILE /adabckcurrent/db044.adabck red mtime<122400 TIME=*:0530:1730
     FILE /adabckcurrent/db045.adabck red mtime<122400 TIME=*:0530:1730
While we don't get any errors for these files in the Files page, they still show in the Files page, and clicking on the link shows:
[file:/adabckcurrent/db042.adabck] 
ERROR: No such file or directory
Is there a way to have these three files no longer show in the Files page?


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


More information about the Xymon mailing list