[Xymon] Configuring Devmon for the first time

Josh Luthman josh at imaginenetworksllc.com
Tue May 31 06:57:47 CEST 2011


That probably makes more sense then to use Lynx, good idea.

What's with the "x" in the variable?

Would you mind telling me what values you used for date?

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373


On Tue, May 31, 2011 at 12:53 AM, David Baldwin <
david.baldwin at ausport.gov.au> wrote:

> On 31/05/11 11:24 AM, kconnell at ryerson.ca wrote:
> > I've had issues with devmon not updating the bb-display and everything
> going purple.
> > I've had this issue since day one (which is over two years now).
> >
> > I created a "devmon watchdog" script that's runs every 5 min using lynx
> (txt base html browser) which checks if the status of devmon (shows as dm
> test) on bb-monitor. If its purple then I kill the devmon process and start
> it up again....band-aid solution, but it does the trick.
> >
> > I no script expert, but can share the bash script if you want/need.
> >
> Here's mine (replace xymonserver with your hostname):
>
> #!/bin/sh
> COL=`bb xymonserver "hobbitdboard xymonserver.dm fields=color"`
> if [ "x$COL" == "xpurple"  ] ; then
>  (date "+%x %X restarting purple devmon"
>  /etc/init.d/devmon restart) | tee /var/log/devmon-restart.log | mail
> -s "Restarting devmon" xymonadmin
> fi
>
> --
> David Baldwin - IT Unit
> Australian Sports Commission          www.ausport.gov.au
> Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
> david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617
>
>
>
> -------------------------------------------------------------------------------------
> Keep up to date with what's happening in Australian sport visit
> http://www.ausport.gov.au
>
> This message is intended for the addressee named and may contain
> confidential and privileged information. If you are not the intended
> recipient please note that any form of distribution, copying or use of this
> communication or the information in it is strictly prohibited and may be
> unlawful. If you receive this message in error, please delete it and notify
> the sender.
>
> -------------------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110531/5cad6668/attachment.html>


More information about the Xymon mailing list