Xymon Mailing List Archive search

Ports graph not showing

list Steven Carr
Sun, 19 Apr 2020 19:38:09 +0100
Message-Id: <CALMep05Kr48JpU81ZCZk0qGN1KAuhMQ5YwmAU0_yR8QC=user-43c3f91c66bb@xymon.invalid>

FYI, got it working, turns out the ordering of the parameters seems to matter...

        PORT "LOCAL=%([.:]80)$" state=LISTEN TEXT=nginx
        PORT "LOCAL=%([.:]443)$" state=LISTEN TEXT=nginxssl
        PORT "LOCAL=%[.:](80|443)$" STATE=ESTABLISHED MIN=0 TRACK=http
TEXT=http-sessions

TRACK needs to come before TEXT

Steve

On Sun, 19 Apr 2020 at 19:27, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:
I'm looking to graph the number of established HTTP/HTTPS connections.
Nothing in the docs indicates it's boolean, docs state: The optional
TRACK=id setting causes Xymon to track the number of sockets found in
an RRD file, and put this into a graph which is shown on the "ports"
status display.

I tried removing the hyphen from the ID and TRACK parameters but that
still hasn't generated any RRD files
PORT "LOCAL=%([.:]80)$" state=LISTEN TEXT=nginx
PORT "LOCAL=%([.:]443)$" state=LISTEN TEXT=nginxssl
PORT "LOCAL=%[.:](80|443)$" STATE=ESTABLISHED MIN=0 TEXT=httpsessions
TRACK=httpsessions

If I turn on debug on the [rrdstatus] task I get the following error:
2020-04-19 18:23:47.547705 Unknown token 'TRACK=httpsessions' ignored
at line 415

I'm not sure what else I need to do to make Xymon create the graphs.

Steve