Xymon Mailing List Archive search

Files removed from analysis.cfg still show in Files page

list Rabinoit Anaïs
Thu, 13 Jun 2019 07:48:43 +0000
Message-Id: <user-1fb5c10153cc@xymon.invalid>

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 <user-e804138486ae@xymon.invalid>
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?