regex for service in hobbit-alerts.cfg
list Olivier Beau
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
▸
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
Works ! thanks Asif -- Olivier Selon Asif Iqbal <user-c8222abeff59@xymon.invalid>:
▸
On Sat, Mar 26, 2005 at 08:08:46PM, user-fe6e0e6a0d05@xymon.invalid wrote:hobbit doesnt match my contents withSERVICE=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
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
▸
--
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