Xymon Mailing List Archive search

Files removed from analysis.cfg still show in Files page

3 messages in this thread

list K. Keniston · Wed, 12 Jun 2019 20:12:29 +0000 (UTC) ·
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?
list Rabinoit Anaïs · Thu, 13 Jun 2019 07:48:43 +0000 ·
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.
quoted from K. Keniston

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?
list K. Keniston · Thu, 13 Jun 2019 17:46:02 +0000 (UTC) ·
 This is exactly what I was looking for. I recalled having to add file tests to the client-local, but was looking at the cfg files on the client machine rather on the xymon host.
Thanks again
quoted from Rabinoit Anaïs

    On Thursday, June 13, 2019, 2:48:47 AM CDT, RABINOIT Anaïs <user-0a3be068eb11@xymon.invalid> wrote:     


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 linesin analysis.cfg.
quoted from Rabinoit Anaïs

    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?