Check Running Process


#1

Hi everyone,

is it possible to check if a process is running on a server? I want to check for example fail2ban with the icinga2-client but i dont know how, anyone an idea?

best regards,

zlFamous


#2

Take a look at the docs please:
https://icinga.com/docs/icinga2/latest/doc/10-icinga-template-library/#procs


#3

thank you, but I only can change the check “procs” but I want a new check too. So I want to have one procs check for all processes which are started on the server and one check for only one specific service. Anyone an idea?

best regards,

zlFamous


(Matthias) #4

Create two separate services leveraging the options of the procs plugin.


#5

https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#using-apply-for-rules