[xymon] best way to determine if the Xymon server just started?
Gore, David W
david.gore at verizonbusiness.com
Thu Nov 18 18:48:46 CET 2010
Ok, I could just do this in the script:
xymon 0 "xymondboard host=xymon1 test=xymond color=green"
As long as that returns green then execute the script. Thanks for the hint Josh.
~David
> -----Original Message-----
> From: Josh Luthman [mailto:josh at imaginenetworksllc.com]
> Sent: Thursday, November 18, 2010 17:36
> To: xymon at xymon.com
> Subject: Re: [xymon] best way to determine if the Xymon server just
> started?
>
> Just look at the hobbitd column. Goes yellow for 5 minutes when it
> restarts and says...
>
> Latest errormessages:
> Loading hostnames
> Loading saved state
> Setting up network listener on 0.0.0.0:1984
> Setting up signal handlers
> Setting up hobbitd channels
> Setting up logfiles
> Setup complete
>
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
>
>
> On Thu, Nov 18, 2010 at 12:25 PM, Gore, David W
> <david.gore at verizonbusiness.com> wrote:
> > I have several server side scripts that give me results I would rather
> not
> > have soon after a Xymon server restart. What is the best way to
> determine
> > if Xymon just started? I could poke around a bit, just wondered if
> someone
> > already had some ideas already implemented. I will do something like
> exit 1
> > If xymon just started, otherwise continue.
> >
> >
> >
> > ~David
> >
> >
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.com
>
More information about the Xymon
mailing list