[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xymon] best way to determine if the Xymon server just started?
- To: xymon (at) xymon.com
- Subject: RE: [xymon] best way to determine if the Xymon server just started?
- From: "Gore, David W" <david.gore (at) verizonbusiness.com>
- Date: Thu, 18 Nov 2010 17:48:46 +0000
- References: <E0299E62DC82494EA6C14D5E4FABA3F704F38E09 (at) ASHEVS006.mcilink.com> <AANLkTikd5EeS_qFC3JN=CO8XkwZGxsKTzLNuuL7ZYMSJ (at) mail.gmail.com>
- Thread-index: AcuHR5ehXGGY+mvOR6u1dYwwJwaZHwAAOxXA
- Thread-topic: [xymon] best way to determine if the Xymon server just started?
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
>