Xymon Mailing List Archive search

regex for service in hobbit-alerts.cfg

4 messages in this thread

list Olivier Beau · Sat, 26 Mar 2005 20:08:46 +0100 ·
hobbit doesnt match my contents with
SERVICE=http,%tcp.*,%cont.*
nor with SERVICE=http,%(tcp|cont).*

but matches with SERVICE=http,%cont.*


is it possible to have several services with regex ?


--
Olivier Beau
list Asif Iqbal · Sat, 26 Mar 2005 14:54:26 -0500 ·
quoted from Olivier Beau
On Sat, Mar 26, 2005 at 08:08:46PM, user-fe6e0e6a0d05@xymon.invalid wrote:
hobbit doesnt match my contents with
SERVICE=http,%tcp.*,%cont.*
nor with SERVICE=http,%(tcp|cont).*

but matches with SERVICE=http,%cont.*


is it possible to have several services with regex ?
SERVICE=%http|tcp(.*)|cont(.*)
--
Olivier Beau

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi
list Olivier Beau · Sat, 26 Mar 2005 21:08:32 +0100 ·
Works !

thanks Asif


--
Olivier

Selon Asif Iqbal <user-c8222abeff59@xymon.invalid>:
quoted from Asif Iqbal
On Sat, Mar 26, 2005 at 08:08:46PM, user-fe6e0e6a0d05@xymon.invalid wrote:
hobbit doesnt match my contents with
SERVICE=http,%tcp.*,%cont.*
nor with SERVICE=http,%(tcp|cont).*
but matches with SERVICE=http,%cont.*
is it possible to have several services with regex ?
SERVICE=%http|tcp(.*)|cont(.*)
--
Olivier Beau
-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the
credit...try
 to be in the first group;...less competition there."  - Indira Gandhi

--

Olivier Beau
list Asif Iqbal · Sat, 26 Mar 2005 15:31:50 -0500 ·
On Sat, Mar 26, 2005 at 09:08:32PM, user-fe6e0e6a0d05@xymon.invalid wrote:
Works !

thanks Asif
You are welcome. You could also go to Help -> Configuring Alerts on your
hobbit webpage to get more details. OR you can go to this url to see how
macros work

http://www.hswn.dk/hobbit/help/hobbit-alerts.html#macros
quoted from Olivier Beau


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi