Xymon Mailing List Archive search

Where does xymon store info on currently blue servers?

3 messages in this thread

list Betsy Schwartz · Wed, 25 Sep 2013 11:10:43 -0400 ·
I restarted xymon and apache  after emptying /usr/local/xymon/server/tmp,
among other things

A few minutes later, received a cascade of messages because every signle
server that had been  signed out was now signed back in.

Where does xymon get the information, on restart, about what is currently
signed out?
Is that stored in the server's tmp dir?

(if not, what could have happened to cause everything to be signed in? )

thanks Betsy

(losing the battle to keep xymon in production here, and this did not help)
list Japheth Cleaver · Wed, 25 Sep 2013 11:06:44 -0700 ·
quoted from Betsy Schwartz

On Wed, September 25, 2013 8:10 am, Betsy Schwartz wrote:
I restarted xymon and apache  after emptying /usr/local/xymon/server/tmp,
among other things

A few minutes later, received a cascade of messages because every signle
server that had been  signed out was now signed back in.

Where does xymon get the information, on restart, about what is currently
signed out?
Is that stored in the server's tmp dir?

(Given that the dir is in /usr/local, I'm assuming this is a custom
compile....)

xymond on save and restart looks at what it's given with the
--checkpoint-file and --restart options, which is often set to something
in $XYMONTMP, but really can be anywhere. It should be somewhere that's
safe across a reboot (learned that the hard way), so transient or tmpfs
storage is a bad location.

Check your command line, but I'd bet it was named "xymond.chk" in the dir
you emptied.


HTH,

-jc
list Betsy Schwartz · Fri, 27 Sep 2013 21:17:33 -0400 ·
Thanks, that was definitely it

2,936 files in that temp dir and two were important.

thanks Betsy
quoted from Japheth Cleaver


On Wed, Sep 25, 2013 at 2:06 PM, Japheth Cleaver <user-87556346d4af@xymon.invalid>wrote:
On Wed, September 25, 2013 8:10 am, Betsy Schwartz wrote:
I restarted xymon and apache  after emptying /usr/local/xymon/server/tmp,
among other things

A few minutes later, received a cascade of messages because every signle
server that had been  signed out was now signed back in.

Where does xymon get the information, on restart, about what is currently
signed out?
Is that stored in the server's tmp dir?

(Given that the dir is in /usr/local, I'm assuming this is a custom
compile....)

xymond on save and restart looks at what it's given with the
--checkpoint-file and --restart options, which is often set to something
in $XYMONTMP, but really can be anywhere. It should be somewhere that's
safe across a reboot (learned that the hard way), so transient or tmpfs
storage is a bad location.

Check your command line, but I'd bet it was named "xymond.chk" in the dir
you emptied.


HTH,

-jc