[hobbit] bbfix functionality in hobbit
My personal opinion is that having Hobbit (or Big Brother) take action other than sending an alert goes beyond the scope of what it is intended for...as a monitoring system. I had thought about the same thing at one point, but was talked out of it.
-----Original Message----- From: Gary B. [mailto:gmbfly98 at gmail.com] Sent: Friday, July 21, 2006 9:22 AM To: hobbit at hswn.dk Subject: [hobbit] bbfix functionality in hobbit
Is there any method with hobbit to have the client automatically restart services, like bbfix does for BB? We would like to be able to restart services that tend to fail often (such as SSH tunnels) automatically through Hobbit. Without writing a custom external script, I can't seem to find any information about doing this.
Thanks
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.
My personal opinion is that having Hobbit (or Big Brother) take action other than sending an alert goes beyond the scope of what it is intended for...as a monitoring system. I had thought about the same thing at one point, but was talked out of it.
I would tend to agree myself, except 1) some people are asking about such functionality, and 2) it would be nice during oncall weeks to not have to get up and restart processes such as procallator, etc.
I would be interested in hearing what talked you out of this, however. If nothing else, I can use it to talk other people out of it ;-)
-----Original Message----- From: Gary B. [mailto:gmbfly98 at gmail.com] Sent: Friday, July 21, 2006 9:22 AM To: hobbit at hswn.dk Subject: [hobbit] bbfix functionality in hobbit
Is there any method with hobbit to have the client automatically restart services, like bbfix does for BB? We would like to be able to restart services that tend to fail often (such as SSH tunnels) automatically through Hobbit. Without writing a custom external script, I can't seem to find any information about doing this.
Thanks
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
What about using SCRIPT facility of alert module ?
If e-mail is not enough
The MAIL keyword means that the alert is sent in an e-mail. Sometimes
this ends up being an SMS to your cell-phone - there are several "e-
mail to SMS" gateways that perform this service - but that may not be
what you want to do. And also, for an e-mail to actually be delivered
requires that the mail-server is working. So if you need full control
over how alerts are handled, you can use the SCRIPT method instead.
Here's how:
HOST=%(www|intranet|support|mail).foo.com SERVICE=http
SCRIPT /usr/local/bin/smsalert 4538761925 FORMAT=sms
Gary B. wrote:
My personal opinion is that having Hobbit (or Big Brother) take action other than sending an alert goes beyond the scope of what it is intended for...as a monitoring system. I had thought about the same thing at one point, but was talked out of it.
I would tend to agree myself, except 1) some people are asking about such functionality, and 2) it would be nice during oncall weeks to not have to get up and restart processes such as procallator, etc.
I would be interested in hearing what talked you out of this, however. If nothing else, I can use it to talk other people out of it ;-)
I've thought about this kind of functionality a lot and my co-workers and I have discussed it several times before, and there are definitely pros and cons. However, it would be cool to have a module (kinda like the NCV one that gives end users a lot of flexibility) that allowed Hobbit to execute some script/command when an alert is triggered. Whether that script/command then collects more debugging info about the alert, tries to repair the system, or opens a ticket with a ticketing system automatically would then be up to the end user. That might keep Henrik out of a lot of scope creep. :)
Tom
participants (4)
-
gmbfly98@gmail.com
-
JMSmith@stvincenthealth.com
-
ndo@unikservice.com
-
tomg@mcclatchyinteractive.com