service restart
list Sabeer MZ
Dear all, is it possible to start an failed service for example.- httpd using hobbit-alerts.cfg ? -- Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491
list Olivier Audry
hello you can execute a script on alert. So you can write a script to execute the httpd restart. oau ----- Mail Original -----
▸
De: "Sabeer MZ" <user-c73a09452f94@xymon.invalid>
À: user-ae9b8668bcde@xymon.invalid
Envoyé: Lundi 15 Février 2010 12h44:38 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: [hobbit] service restart
Dear all,
is it possible to start an failed service for example.- httpd using hobbit-alerts.cfg ?
--
Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491
list Sabeer MZ
Dear all,
I have given alert for service "named", unfortunately i m not getting any
email alerts. How to troubleshoot this issue ?
HOST=abc.xyz.com
MAIL <mail-address> SERVICE=named
▸
On Mon, Feb 15, 2010 at 5:28 PM, Olivier AUDRY <user-0dc286edb094@xymon.invalid> wrote:
hello you can execute a script on alert. So you can write a script to execute the httpd restart. oau ----- Mail Original ----- De: "Sabeer MZ" <user-c73a09452f94@xymon.invalid> À: user-ae9b8668bcde@xymon.invalid Envoyé: Lundi 15 Février 2010 12h44:38 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [hobbit] service restart Dear all, is it possible to start an failed service for example.- httpd using hobbit-alerts.cfg ? -- Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491
-- Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491
list Kii Noda
Hi, Here's a short excerpt from Matthew Moldvan's email addressed to myself from a few days ago. This should be of help to you. Basically, try passing on the alert by hand and see if you don't have any STOP or IGNORE statements for the host or alert that match before your alerting rule. --- cut here --- A few very useful ways I recently found to test the regular expressions with xymon are the pcretest and hobbitd_client command. -bash-3.2$ pcretest PCRE version 6.6 06-Feb-2006 re> /^asd$/ data> asdf No match data> asd 0: asd [root at zenls01h ~]# su - xymon -bash-3.2$ ./server/bin/bbcmd hobbitd_client --test 2010-02-06 19:39:42 Using default environment file /usr/lib64/xymon/server/etc/hobbitserver.cfg Hostname (.=end, ?=dump, !=reload) []: From there you can try out the host name that's not matching up as well as the test. --- and here ---
▸
On Mon, Feb 15, 2010 at 2:16 PM, Sabeer MZ <user-c73a09452f94@xymon.invalid> wrote:
Dear all, I have given alert for service "named", unfortunately i m not getting any email alerts. How to troubleshoot this issue ? HOST=abc.xyz.com MAIL <mail-address> SERVICE=named On Mon, Feb 15, 2010 at 5:28 PM, Olivier AUDRY <user-0dc286edb094@xymon.invalid> wrote:hello you can execute a script on alert. So you can write a script to execute the httpd restart. oau ----- Mail Original ----- De: "Sabeer MZ" <user-c73a09452f94@xymon.invalid> À: user-ae9b8668bcde@xymon.invalid Envoyé: Lundi 15 Février 2010 12h44:38 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [hobbit] service restart Dear all, is it possible to start an failed service for example.- httpd using hobbit-alerts.cfg ? -- Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491-- Thanks Sabeer MZ | user-a94dec493fc3@xymon.invalid TVM +91 9446057491
--
kN