[Xymon] Ports graph not showing
Steven Carr
sjcarr at gmail.com
Sun Apr 19 20:38:09 CEST 2020
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 <sjcarr at gmail.com> 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
More information about the Xymon
mailing list