0

I've written a check_mk Nagios plugin that is monitoring a REST API. I only want a single instance of this service/script on the entire monitoring service, not a service instance per host.

However, when I add the script to the /local/lib/nagios/plugin directory and configure a classical activate & passive monitoring check in WATO, it creates a service for each host.

Is this possible or am I doing this the wrong way?

Patrick Mevzek
  • 10,995
  • 16
  • 38
  • 54
Riley
  • 19
  • 4

1 Answers1

0

Dropping scripts in /opt/omd/sites/{site}/local/lib/nagios/plugins, then defining custom checks in /opt/omd/sites/{site}/etc/check_mk/conf.d/wato/rules.mk is how I ended up having a single check.

Riley
  • 19
  • 4