[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Running client scripts from alerts???
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Running client scripts from alerts???
- From: mario andre <rower.master (at) gmail.com>
- Date: Tue, 2 Feb 2010 12:08:14 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=f6J+vv5N+VwmbNPAnOhIKdmR4DuPqFoLkJw2hdRT+vM=; b=qVE5zxGiZLim5LTvM2+CrQuvA0bQruzkmJFqtG4bWRTjK+UMoTAK4HuZmrpARE4L5R AxbonYZXbcJIN5bgobtL8oApWlyZCfEJi8jn7HL3BK8vW8BO+ql8WwyNi/52sNwbNrqI +zXthZqsj0l375ZpOi1ScTQS5Vo+CvY+L8Q6c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mEbp6DeAzanyjqK6G4+sUm8fLe4mbjUFHmLiAKFE0Daf8szO5S/fsr+/u6jGvb1+e/ rL/Q0ShocK9y6IT/omtQCVXDuYAKsYx+jTG5IFytpci3SgZx9pQ9KddnF4wz/R4mAuFP HZnjqALymqyrzHOPcuAfJcxk8gwPJnTClW4qc=
- References: <881C636C1BC32F419F75E2DA394054350317E09D50 (at) sysmx02.systeam.local> <20100201103627.135720 (at) gmx.net>
Hi,
On a linux client you I can use hobbitboard. I don't know if bbwin supports
hobbitboard.
I use this script to restart devmon on a bbproxy:
#!/bin/sh
TEST=`/home/bbmon/server/bin/bb IP_of_XYMON "hobbitdboard test=dm
color=purple" | grep myhost`
if [ -n "$TEST" ];
then
PID=`cat /var/run/devmon/devmon.pid`
echo $PID;
kill $PID;
sleep 30;
/usr/local/devmon/devmon
xm=1;
else
xm=0;
fi
#echo $xm
On Mon, Feb 1, 2010 at 8:36 AM, Malcolm Hunter <malcolm.hunter (at) gmx.co.uk>wrote:
> > Are there any way to make XYmon run scripts on clients depending on
> > alerts?
> > I'm monitoring a bunch of services on windows 2003/2008 servers running
> > bbwin,
> > and I would like to run different scripts depending on which service is
> > failing.
> > Instead of just restarting the service, I would like to run a script to
> > take care of the real reason of the failure.
> >
> > Are there any way to do this with XYmon?
>
> You could write an external script called from BBwin that checks the
> service status and calls the relevant script when it fails.
>
> Malcolm
>
>
> --
> Technical copy-editor & proofreader
>
> KDE Proofreading Team
> KDE British English Translation Team
>
> http://l10n.kde.org/team-infos.php?teamcode=en_GB
>
> Facebook: http://www.facebook.com/FriendlyAtheist
>
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5
> -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>