Re: mon between two servers

2003-06-18 Thread Beat Jucker
On Wed, Jun 18, 2003 at 08:30:50PM +, bond Ellison wrote: > can I install mon on two directors, and use it to detect each other > like heartbeat. > My intention is if first director is dead, the second director will take > over it and I also want to make a alert file which used to change > it

mon between two servers

2003-06-18 Thread bond Ellison
can I install mon on two directors, and use it to detect each other like heartbeat. My intention is if first director is dead, the second director will take over it and I also want to make a alert file which used to change its hostname to the first director's. when the first director comes back,

RE: Calling alerts and monitors

2003-06-18 Thread Gary Richardson
If you are using perl, see Parallel::ForkManager (http://search.cpan.org/author/DLUX/Parallel-ForkManager-0.7.5/ForkManager.p m). Almost all of our monitors are perl based. Our monitoring stations are starting to get their asses kicked with all the scripts firing. To save perl startup time, woul

Re: Calling alerts and monitors

2003-06-18 Thread Jim Trocki
On Wed, 18 Jun 2003, Aled Treharne wrote: > Simply put then, does mon call > the monitor/alert scripts as 'external applications' (i.e. if I write a > shell script/python app will it execute it?)? yes. the details about how a monitor is invoked and what the mon server expects from it can be found

Re: Calling alerts and monitors

2003-06-18 Thread David Nolan
--On Wednesday, June 18, 2003 12:02 PM +0100 Aled Treharne <[EMAIL PROTECTED]> wrote: Hi guys. I was hoping that someone with a better experience of perl could give me some advice here. :) We're looking at writing some monitors/alerts tailored specifically to our sites. The problem is that (fo

Calling alerts and monitors

2003-06-18 Thread Aled Treharne
Hi guys. I was hoping that someone with a better experience of perl could give me some advice here. :) We're looking at writing some monitors/alerts tailored specifically to our sites. The problem is that (for political reasons) python is 'preferred' to perl for writing scripts. Simply put then,

Re: mail.alert

2003-06-18 Thread Kevin Ivory
Mark Lawrence wrote: Attached is (according to my tastes) a slighly clearer version of the mail alert. I think it is much clearer as well. Perhaps it can make it into the official mon, either as supplementary alternative or as the official mail.alert? Two things I noticed: 1. I hate the time stamp