Hi!
I have a few questions about plugins and scripts and wonder if I have understood correctly.
On the hosts:
-
Checkmk plugins are always placed in:
/usr/lib/check_mk_agent/plugins -
Local checks(Shell, Perl and Python scripts for example with standard Checkmk output:
(echo “0 "Test service" - Detailed comment”) is always placed in:
/usr/lib/check_mk_agent/local -
Nagios-compatible check plugins is placed on the host too so that the Checkmk-agent can find them with the help of
/etc/check_mk/mrpe.cfgwhere you specify service names and the files to execute.
On the Checkmk server:
Here are some Nagios plugins included by default by Checkmk:
/opt/omd/sites/site-name/lib/nagios/plugins
These plugins can be used by going to:
Setup - Services - Other services - Integrate Nagios plugins
Question:
Can Shell, Perl and Python scripts for example with standard Checkmk output be placed on the Check-mk server and easily configured as services for specific hosts through the GUI?
We are currently using Nagios and are used to scripts being located on the server mostly.
Is the preferred way in Checkmk to always put plugins and custom-scripts on the hosts and then only when necessary use Nagios-compatible check plugins on the hosts or Nagios plugins located on the Checkmk server?
Best Regards
Bjorn.A