Xymon Mailing List Archive search

analysis.cfg DISK statement

list Torsten Richter
Mon, 29 Aug 2016 14:41:45 +0200 (CEST)
Message-Id: <user-d10071f7b301@xymon.invalid>

Hi,

I have some servers where I have a lot of small SAN disk partitions.
There are always 3 partitions for 1 project.

/var/lib/ppas_project1_date
/var/lib/ppas_project1_date/log
/var/lib/ppas_project1_date/backup


At the moment I have the following statement in analysis.cfg:

DISK %^/var/lib/ppas_.* 70 85

which ensures that a yellow alert is raised at 70% on one of the partitions and a red alert at 85%.

But now the application admins want to have something changed.
They want to get alerted earlier (50%,70%) on log and backup partitions.

Is it possible to have the following in analysis.cfg:

DISK %^/var/lib/ppas_.*/log 50 70
DISK %^/var/lib/ppas_.*/backup 50 70
DISK %^/var/lib/ppas_.* 70 85

Would this work? Or would this cause problems?


TIA
Torsten