Hello.
I'm trying to set up a service check on a linux server. I've installed zabbix-agent2 on it and have configured the discovery rule with key: "systemd.service.active_state["{#UNIT.NAME}"]". If I use "test" option in the discovery configuration menu, it works so I know they key is correct. I've set up an item prototype with key "systemd.service.active_state["{#UNIT.NAME}"]", which should display all the information about a service. I've copied the preprocessing steps from https://www.zabbix.com/integrations/systemd.
But when I check to see if the set up works, the item prototype is not active and I get the error Unknown metric systemd.service.active_state. I don't understand what's causing the error. Can someone help please?
I'm trying to set up a service check on a linux server. I've installed zabbix-agent2 on it and have configured the discovery rule with key: "systemd.service.active_state["{#UNIT.NAME}"]". If I use "test" option in the discovery configuration menu, it works so I know they key is correct. I've set up an item prototype with key "systemd.service.active_state["{#UNIT.NAME}"]", which should display all the information about a service. I've copied the preprocessing steps from https://www.zabbix.com/integrations/systemd.
But when I check to see if the set up works, the item prototype is not active and I get the error Unknown metric systemd.service.active_state. I don't understand what's causing the error. Can someone help please?
Comment