Greetings,
We need to monitor a specific service only in one host. In this case we want to monitor "mailgun" service.

So we followed an old guide we found but didn't work. We did this:
First of all, we created an Item with the following values and using 'system.run["systemctl status mailgun"]' key. (We don't know if 'system.run["systemctl is-active mailgun"]' would work too, we don't have preferences, just want it to work any possible way).

However, it says "Unsopported item key".
Then we created a Trigger which obviously won't work.

Can anyone help us to monitor a specific service in a host like "mailgun"? We don't know if we were on the right track, so if the way to do this is completely different provide us a new way without any kind of problem.
Best regards.
We need to monitor a specific service only in one host. In this case we want to monitor "mailgun" service.
So we followed an old guide we found but didn't work. We did this:
First of all, we created an Item with the following values and using 'system.run["systemctl status mailgun"]' key. (We don't know if 'system.run["systemctl is-active mailgun"]' would work too, we don't have preferences, just want it to work any possible way).
However, it says "Unsopported item key".
Then we created a Trigger which obviously won't work.
Can anyone help us to monitor a specific service in a host like "mailgun"? We don't know if we were on the right track, so if the way to do this is completely different provide us a new way without any kind of problem.
Best regards.
Comment