Locations for plugins & custom-scripts

Hi!

I have a few questions about plugins and scripts and wonder if I have understood correctly.

On the hosts:

  1. Checkmk plugins are always placed in:
    /usr/lib/check_mk_agent/plugins

  2. 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

  3. 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.cfg where 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

Yes. The performance of that architecture is way better than using active checks (Nagios plugins) on the monitoring server.

Ok, I understand!

Thanks for the answer.

Best Regards
Björn Ahlman

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.