How to setup xymon client (via CLI)
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.
SSH in as root. Drop into the CLI.
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.
point to your xymon-server and port.
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:
- ln -s /usr/local/etc/rc.d/xymon-client /usr/local/etc/rc.d/xymon-client.sh
- 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.
Nona last edited by Nona
thank you so much for sharing this.
this was helpful like this read on instagram accounts.
keep posting this great work.