Created attachment 106 [details] check_mk_agent-1.2.0_p3.ipfire Hello, i created a addon for check_mk agent, so that nagios/icinga users can check their ipfire via the much better check_mk agent instead of nrpe or ssh direct. Please note, as xinetd is missing in ipfire the agent is only usable via ssh.
Created attachment 107 [details] check_mk_agent-1.2.0_p3.patch
Isn't there an initscript required to run the agent or how does it work? The patch looks good and I would like to merge it soon.
No, there is no need for an init script, because the check_mk-agent should either be run via xinetd or via ssh. I added my ipfire box via ssh as there is no xinetd for ipfire. If someone need more detailed instructions on how to do that take a look at http://mathias-kettner.de/checkmk_datasource_programs.html
Stefan Weichinger recently built xinetd, because it is used by some other things like amanda. Maybe you want to have a look at this. I'll merge the check_mk patch soon. Could you please start documentation on our wiki?
Ok i will add a wiki page as soon as possible. Maybe i could start and finish it this weekend if i find the time.
What do you prefer, a german or a english wiki page?
Ok i added a english and german page about check_mk to the wiki, but as the original check_mk documentation is mainly in english i just recommend the user on the german addon page to read the english one.
I was just about to merge your patch, when I stumbled upon something: You don't build the agent from source. You should do that. Source is available.
The patch i provided just provides the check_mk-agent which is only a bash script, so i don't understand how i should build a bash script from source ?
Or do you mean the provided waitmax file? This is a statically compiled binary shipped with check_mk?
My mistake. It's alright. I thought that check_mk-agent.linux was a statically linked binary blob.
Merged: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=30213d32e404579b74e0b3c315ecd36fa86fc2fd
Addon is available in the Testing Tree.