[Xymon] Files removed from analysis.cfg still show in Files page

RABINOIT Anaïs Anais.RABINOIT at somei.fr
Thu Jun 13 09:48:43 CEST 2019


Hi,


Did you remove/comment the declarations in client-local.cfg too?

If these are still in this file, they will still show up in test .


A.R.

________________________________
De : K. Keniston <misc_spam at yahoo.com>
Envoyé : mercredi 12 juin 2019 22:12
À : xymon at xymon.com
Objet : Files removed from analysis.cfg still show in Files page

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/20190613/6e1b88b3/attachment.html>


More information about the Xymon mailing list