Thank you :)
I manged to to do that by configuring the following:
apply Service "rsyslogd_proc" {
import "generic-service"
name = "Rsyslogd Check"
check_command = "procs"
vars.procs_command = "rsyslogd"
vars.procs_critical = "1:1"
assign where host.vars.os == "Linux"
}
On Sat, Jul 18, 2015 at 12:08 PM, Alexander Wirt <[email protected]>
wrote:
> On Sat, 18 Jul 2015, Dennis Zheleznyak wrote:
>
> > That wasn't my question though..
> >
> > My question was about monitoring more than one service using check_procs.
> Simple answer: you can't.
>
> Create a service definition per service.
>
> Alex
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users