Xymon Mailing List Archive search

Regular Expression problem

list Steve Holmes
Thu, 13 Mar 2008 10:29:09 -0400
Message-Id: <user-80c652ee5197@xymon.invalid>

Robert,
Do the files show up in the client data listing on the server?
You might need to put the match string in the FILE statement in
hobbit-clients.cfg in double quotes.

Steve.

On Thu, Mar 13, 2008 at 9:47 AM, Manocchia, Robert <
user-615a9b935f98@xymon.invalid> wrote:
             I have the following scenario. I want to monitor the creation
of core files in the following directories /usr/sap/PRD/D01/work,
/usr/sap/PRD/D02/work, usr/sap/PRD/D03/work, /usr/sap/PRD/D04/work,
/usr/sap/PRD/D05/work, and /usr/sap/PRD/D06/work.


            I have the following:


1.       In client-local.cfg: [server1]

                                    File:`ls -1d /usr/sap/PRD
/D0*/work/core`


2.       In hobbit-clients.cfg: FILE %/usr/sap/PRD/D0.*/work/core NOEXIST
yellow


3.       And in hobbit-alerts.cfg: MAIL user-e4d0b0f5a288@xymon.invalid COLOR=yellow
RECOVERED


            This is not working. When click on the files for this server I
do not see these files being selected.


            Any help would be appreciated.
-- 
There is no greater gift to an insecure leader that quite matches a vague
enemy who can be used to whip up fear and hatred among the population.
-Paul Rusesabagina, humanitarian (b. 1954)

Human beings are perhaps never more frightening than when they are
convinced beyond doubt that they are right. -Laurens van der Post, explorer
and writer (1906-1996)