Xymon Mailing List Archive search

XYMONTMP vs XYMONVAR

3 messages in this thread

list Mark Felder · Sat, 08 Jun 2013 10:36:55 -0500 ·
I've noticed what I believe to be discrepancies between the supplied
configs and documentation. I'm currently the xymon port maintainer on
FreeBSD, and it has bugged me that the acks, data, and disabled
directories never seem to have anything in them, even when we have tons
of things acked or disabled. I figured I'd start hunting things down and
comparing our configuration to the supplied examples and this is what I
have found.

Straight out of the tarball --

xymon-4.3.11/xymond/etcfiles/xymonserver.cfg.DIST:

# Server specific directories
XYMONVAR="@XYMONVAR@"                           # The xymonvar directory
holds all monitoring data
XYMONACKDIR="$XYMONVAR/acks"                    # Acknowledge event info
stored here (xymond_alert)
XYMONDATADIR="$XYMONVAR/data"                   # Data files go here
(xymond_filestore --data)
XYMONDISABLEDDIR="$XYMONVAR/disabled"           # Enabled/disabled flags
are stored here (xymond_filestore --enadis)
XYMONHISTDIR="$XYMONVAR/hist"                   # History logs are
stored here (xymond_history)
XYMONHISTLOGS="$XYMONVAR/histlogs"              # Historical detail
status-loge are stored here (xymond_history)
XYMONRAWSTATUSDIR="$XYMONVAR/logs"              # Status logs go here
(xymond_filestore --status). Not needed by Xymon.


I think that may be incorrect here

xymon-4.3.11/xymond/etcfiles/tasks.cfg.DIST:

# "alert" sends out alerts.
[alert]
        ENVFILE @XYMONHOME@/etc/xymonserver.cfg
        NEEDS xymond
        CMD xymond_channel --channel=page 
        --log=$XYMONSERVERLOGS/alert.log xymond_alert
        --checkpoint-file=$XYMONTMP/alert.chk --checkpoint-interval=600

Why is the xymond_alert checkpoint-file going to XYMONTMP? Isn't it
supposed to be going to XYMONACKDIR? Or is that unrelated? Can anyone
explain why XYMONACKDIR, XYMONDATADIR, and XYMONDISABLEDDIR are always
empty? 


Thanks!
list Henrik Størner · Sat, 08 Jun 2013 18:10:16 +0200 ·
quoted from Mark Felder
On 08-06-2013 17:36, Mark Felder wrote:
I've noticed what I believe to be discrepancies between the supplied
configs and documentation. I'm currently the xymon port maintainer on
FreeBSD, and it has bugged me that the acks, data, and disabled
directories never seem to have anything in them, even when we have tons
of things acked or disabled.
[snip]
Why is the xymond_alert checkpoint-file going to XYMONTMP? Isn't it
supposed to be going to XYMONACKDIR? Or is that unrelated? Can anyone
explain why XYMONACKDIR, XYMONDATADIR, and XYMONDISABLEDDIR are always
empty?
These directories exist only for historical reasons. The old "Big Brother" tool used these to store information about acks, data-messages, and disabled tests. Xymon doesn't, it keeps all of this in RAM and just dumps a checkpoint-file occasionally (into the tmp directory, as you've found).

There is a compatibility module in Xymon - xymond_filestore - which can be enabled if required for some Big Brother specific applications. This module will fill the ack / data / disabled directories with files in the format generated by Big Brother.

Although I've never heard of anyone actually using it :-)

Hope that helps


Regards,
Henrik
list Mark Felder · Mon, 10 Jun 2013 07:48:25 -0500 ·
Thanks for the clarification Henrik.