-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Add check_mk_agent as a plugin #2713
Comments
|
Thank you for creating an issue. For more information about the policies for this repository, The easiest option to gain traction is to close this ticket and open a new one using one of our templates. |
|
I'd recommend using ssh and not inetd. Your config gets overwritten after every opnsense update. |
|
Important notices [-] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md [-] I have searched the existing issues and I'm convinced that mine is new. [-] When the request is meant for an existing plugin, I've added its name to the title. Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered Additional context |
|
I don't see any chance to get this as a plugin as long as there is no freebsd port and only a binary |
|
alternativ solution: https://forum.opnsense.org/index.php?topic=26165.0 as long there is no offical plugin for it. best regards Chris |
|
@mimugmail there is a port: https://cgit.freebsd.org/ports/tree/net-mgmt/check_mk_agent |
|
Yeah a plugin would be lovely! |
|
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
|
dump |
|
You can reopen and assign to me if the port gets into repo |
|
There's a third party checkmk agent, that ties better in to OPNsense, as it can report back more detailed information (Sceenshot) check_mk_agent is in FreeBSD ports, but I think we'll need some work on extending the checks it does, otherwise the checks will be very basic, compared to what the third party one can provide. It maybe we can chop up this third party script and add apart of the proper agent, as a plugin. This is turning in to a larger job though, but would be nice to have. |
|
I'm quite sure there will be one asking why using this python script and not the agent. Anyone interesting in this script can already use it :) |
|
any chance to have a ufficial plugin? |
we would love to have the check_mk_agent as a plugin for everyones opnsense firewall.
here are the manual steps in order for it to work,
mkdir -p /opt/binwget -P /opt/bin https://raw.githubusercontent.com/tribe29/checkmk/master/agents/check_mk_agent.freebsdmv /opt/bin/check_mk_agent.freebsd /opt/bin/check_mk_agentchmod +x /opt/bin/check_mk_agentpkg install libstatgrab bashAdd the following to /etc/inetd.conf
check_mk stream tcp nowait root /opt/bin/check_mk_agent check_mk_agentAdd the following to /etc/services | the agent uses port 6556
check_mk 6556/tcp #check_mk agentAdd the following to /etc/hosts.allow, modify monitoring.server.ip.address as required,
# Allow nagios server to access uscheck_mk_agent : monitoring.server.ip.address : allowshould be configurable in the webguicheck_mk_agent : ALL : denyshould be the default valueStart inetd
/etc/rc.d/inetd onestartit will start the mk_agentAdd the following to /etc/rc.conf | to start inetd on boot
inetd_enable="YES"Important notices
it would be awesome if the firewall creates a automatic rule that would allow 6556tcp from the "check_mk_agent : monitoring.server.ip.address " to the firewall
Is your feature request related to a problem? Please describe.
it is not easy to install the mk agent on the firewall.
A clear and concise description of what the problem is including your motivation for the request,
The motivation is to make it a breeze to install the mk agent on the opnsense firewall, so that the end-user do not have to use ssh in order for it to configure it.
Describe the solution you like
i want to have a plugin, just like zabbix agent, just install it and configure it finish.
Describe alternatives you considered
a official guide would also be better then some self made one.
Additional context
Add any other context or screenshots about the feature request here or links to relevant forum thread or similar
thanks to everyone for the guides and help
referred to #2544
https://forum.opnsense.org/English_Forums/Tutorials_and_FAQs/Check_MK_Agent_setup
https://forum.opnsense.org/index.php?topic=1310.0
https://forum.checkmk.com/t/opnsense-mk-check-agent-wont-work-freebsd/28709
official client link
here is the official github link "https://github.com/tribe29/checkmk/blob/master/agents/check_mk_agent.freebsd"
The text was updated successfully, but these errors were encountered: