Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to setup xymon client (via CLI)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    1 Posts 1 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tedly
      last edited by tedly

      I'd been wanting some remote monitoring and trend graphing forever. I like my old Hobbit/Big Brother/Xymon but despite there being a few pfsense package requests in the past, its not been made available as part of pfsense. (I'm sure the demand is too low vs other requests.)

      There's an outdated post about how to do it from 7 years ago, but that no longer works. Last night I forced myself to sit down and figure out how to install it on modern (2.4.4) pfsense.

      Simple as:

      1. SSH in as root. Drop into the CLI.

      2. pkg add http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/xymon-client-4.3.28.txz
        replace "amd64" with your own architecture. If you get it wrong, the CLI will tell you to change it.

      3. vi /usr/local/www/xymon/client/etc/xymonclient.cfg
        point to your xymon-server and port.

      4. /usr/local/etc/rc.d/xymon-client onestop

      5. /usr/local/etc/rc.d/xymon-client onestart

      If the URL in step 2 is not found, just browse to http://pkg.freebsd.org/ and find your own path. The version of BSD might be 12, 13, or 14 for you people reading this in the future. And the xymon-client might not be 4.3.28. For example, it was 4.3.28 for amd64 but 4.3.27 for armv6 architecture when I sorted it out for my netgate appliances last night.

      To have it start on boot:

      1. ln -s /usr/local/etc/rc.d/xymon-client /usr/local/etc/rc.d/xymon-client.sh
      2. sed -i "" 's/xymon_client_enable:=NO/xymon_client_enable:=YES/g' /usr/local/etc/rc.d/xymon-client

      There's a way to do it in config.xml, but, well, I didn't do it that way.

      1 Reply Last reply Reply Quote 2
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.