Hello. I was curious as to how Icinga’s built in plugins actually monitor service states as they come as executables and I can’t find their source code. Currently my own custom plugins seem to involve parsing through log files, but I’d like to know how else its possible to monitor a service. Thanks for the help.
Are there any other examples you can give me of existing plugins and in what ways they check the state of a service, I’ve heard you can use systemd and proc files but I’m not sure exactly how it works.
Thanks for your reply.