Closed yxz900 closed 3 years ago
When running test of "SystemD service monitoring template: Service Discovery" discovery rule for a host on the server front end, it returns {"data":[]}. But if I run
_zabbixagentd -t "systemd.service.discovery"
directly from the host, it returns:
systemd.service.discovery [t|{"data":[{"{#SERVICE}": "nftables"},{"{#SERVICE}": "postfix"},{"{#SERVICE}": "sshd"}]}]
Will you be able to advise what I'm doing wrong? Thanks!
Turned out it's SELinux issue. I'll close the case.
When running test of "SystemD service monitoring template: Service Discovery" discovery rule for a host on the server front end, it returns {"data":[]}. But if I run
_zabbixagentd -t "systemd.service.discovery"
directly from the host, it returns:
systemd.service.discovery [t|{"data":[{"{#SERVICE}": "nftables"},{"{#SERVICE}": "postfix"},{"{#SERVICE}": "sshd"}]}]
Will you be able to advise what I'm doing wrong? Thanks!