[hobbit] Dual Hobbit servers and acknowledgements. + ack email patch
david.peters at dpi.nsw.gov.au
david.peters at dpi.nsw.gov.au
Wed May 28 23:52:23 CEST 2008
Another possibility is that where I am using Hobbit, we have multiple
users acknowledging alerts. In order to facilitate this we have set up SSL
and a login to the admin pages so that the alerts are acknowledged by
username. I have modified the code in order to send an email of the alerts
to the acknowledging user. This allows us to send particular acknowledged
alarms to our helpdesk for logging and routing to the right IT group.
If Hobbit does not already handle acknowledgements between servers, then
it should be relatively easy to modify the code so that it sends the ack
to any other hobbit servers .
I suppose I should submit a patch of what I currently have that sends
emails to the acknowledging user?
"Phil Wild" <philwild at gmail.com>
28/05/2008 01:16 PM
Please respond to
hobbit at hswn.dk
To
hobbit at hswn.dk
cc
Subject
Re: [hobbit] Dual Hobbit servers and acknowledgements.
I am not 100% sure on all of this. Some one with a little more knowledge
may be able to further expand on this.
In my testing, I have acked alerts and could not find any record ofthe
mack message in any file on the hobbit server. From this I have assumed
that this stays memory resident, being dumped to the memory checkpint file
every so often.
If you disable an alert, the same thing goes, but an entry does appear in
./data/histlogs/...
So the way I am going to approach this (not yet implemented but planned):
copy the checkpoint file across between the two servers and leave it there
just in case it is needed....
synchronise the bb-hosts and hobbit-alerts files from primary to secondary
servers.
hobbly the sending out of messages on the secondary server (this is done
by using a script for all message types. The script determines if it
should act on the alerts or not based on a setting of who is
primary/secondary...
In the event that primary is down, secondary is started, loading the
primaries checkpoint file. Alerting is then enabled.
Cheers
Phil
2008/5/28 <david.peters at dpi.nsw.gov.au>:
Maybe I could explain the problem a little clearer. If I have two hobbit
servers that both recieve updates from clients, I want to be able to
receive on Server B acknowledgements created on server A.
david.peters at dpi.nsw.gov.au
27/05/2008 02:16 PM
Please respond to
hobbit at hswn.dk
To
hobbit at hswn.dk
cc
Subject
[hobbit] Dual Hobbit servers and acknowledgements.
Hi,
I have two hobbit servers that each recieve updates from all our client
machines. This is working fine with two entries in the client
configuration file. What I am struggling with however, is how do I get
acknowledgements submitted on one server to also show up on the other
server. (Is this possible with the current code?)
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. Views expressed in this message are those
of the individual sender, and are not necessarily the views of their
organisation.
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. Views expressed in this message are those
of the individual sender, and are not necessarily the views of their
organisation.
--
Tel: 0400 466 952
Fax: 0433 123 226
email: philwild AT gmail.com
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080529/a97851da/attachment.html>
More information about the Xymon
mailing list