Replies: 8 comments 1 reply
-
Can you provide more details on what's required for a plugin? I think it's FreeBSD, right? Someone on reddit also mentioned this and wanted to test the FreeBSD binaries, so I'm going to send it to them in a bit for testing. Edit: Also, I'm converting this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Yes it is based off of FreeBSD 13 and 14 with their newest release. Testing other products is what got me here maybe some of this can cut down on the time it takes you to implement something like this. OPNsense is a offshoot of pfsense so that could be included as well. This guy wrote a python script for OPNsense to work with Checkmk: https://github.com/bashclub/checkmk-opnsense-agent. He was supporting: His Python script is available here: Here is another guy using json for Zabbix: Hope this helps and obviously only promoting this for the metrics that make sense for your solution. Hopefully others chime in as well. Thanks again. |
Beta Was this translation helpful? Give feedback.
-
Not finding anything to add plugins to OPNsense official repo but you can add other repos. Here is one example: simple command in opnsense shell: Here is the conf: At least with your own repo your not having to rely on anyone else. Originally I was just thinking about an agent with this request but we could host beszel server on opnsense as well. |
Beta Was this translation helpful? Give feedback.
-
I'm also willing to test the FreeBSD binaries. Will be on PFSense though. |
Beta Was this translation helpful? Give feedback.
-
Here are FreeBSD amd64 binaries for testing. You can also build yourself by following the instructions in the readme. GOOS=freebsd GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-w -s" . beszel-agent_freebsd_amd64.tar.gz |
Beta Was this translation helpful? Give feedback.
-
how are you guys going about auto starting the service in opnsense? |
Beta Was this translation helpful? Give feedback.
-
For anyone else wanting to autostart bezel-agent... 90-beszel-agent -> /usr/local/etc/rc.syshook.d/start/90-beszel-agent #!/bin/sh echo -n "Starting Beszel Agent " actions_beszel-agent.conf -> /usr/local/opnsense/service/conf/actions.d/ [start] [restart] [stop] beszel-agent -> /usr/local/sbin rc.beszel-agent -> /usr/local/etc/rc.beszel-agent #!/bin/sh KEY="PASTE_YOUR_KEY_HERE" /usr/local/sbin/beszel-agent service configd restart |
Beta Was this translation helpful? Give feedback.
-
Yes it is, its pulling the standard metrics perfectly. I am not seeing any fluctuation with disk/io but that just could be opnsense not doing much. I also just got it working so might just need more time monitoring to see something. All that is left is the advanced opnsense metrics when there is time. |
Beta Was this translation helpful? Give feedback.
-
Really love this project and its potential! Wondering if you would consider adding support for OPNsense in Beszel? Like Unraid they have Community Plugins. It opens the door to networking metrics.
Thanks for creating this!
Beta Was this translation helpful? Give feedback.
All reactions