Hellau out there,
i have some issue with my zabbix agent on linux! During i can monitor services on windows without any problems with service_state[servicename]. On Linux i have some troubleshoot. I created some Userparameter:
When I'm testing "systemctl status $1 | grep -c running" in the terminal on my linux maschine i'm get 1 (service is running, 0 for all other options)
But in my front-end, i'm getting 0!
Short summary: The expression on the terminal is giving me a right return, but on the front-end i'm getting 0 and this is not the true! (zabbix agent is lying to me
)
Do someone have an idea?
i have some issue with my zabbix agent on linux! During i can monitor services on windows without any problems with service_state[servicename]. On Linux i have some troubleshoot. I created some Userparameter:
UserParameter=service.check[*], systemctl status $1 | grep -c running
But in my front-end, i'm getting 0!
Short summary: The expression on the terminal is giving me a right return, but on the front-end i'm getting 0 and this is not the true! (zabbix agent is lying to me
)Do someone have an idea?
Comment