icinga2-check_systemd_service

Icinga2 exchange plugin for monitoring systemd services.

Log in or register to post comments

  • Darkentik

    The webformular here auto converted my code. I try it with a trick :D WRONG is in service.conf (you must remove the whitespace between the special char code): service_name = & g t ; CORRECT would be service_name => On the Github project there is the correct code: https://github.com/patrikskrivanek/icinga2-check_systemd_service#how-to-integrate-the-plugin-into-the-icinga-monitoring-process

  • Darkentik

    There is a typo error. WRONG: # service.conf apply Service for (service_name => config in host.vars.systemd) { #CORRECT: # service.conf apply Service for (service_name = config in host.vars.systemd) { I struggled into it while copy paste the code to rollout to our Icinga2 Master in Staging. On the Github project there is the correct code: https://github.com/patrikskrivanek/icinga2-check_systemd_service#how-to-integrate-the-plugin-into-the-icinga-monitoring-process

  • svro

    Latest Version 1.2.0 isn't working, stopped but enabled services are shown as 'running'. Reason is a false handling with the return code in line 126.

  • ArthurBorsboom

    Thanks for sharing your plugin. I am using it happily. I would like to use it also for checking for failed systemd services. Some systemd services (oneshot, etc) are supposed to run only for a short period of time. In my case an check mail service, based on a timer. This service is most of the time inactive, but usually working fine. I would like to get a warning if its state is FAILED. sudo systemctl --state=failed Can you extend the plugin somehow?