User parameter defined in Zabbix agent configuration is not returning proper result due to enforcing

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi,

      We are trying to introduce some extra service status checks in Zabbix and wanted to use systemd.unit.is-active[*] for that, which apparently doesn’t work because Enforcing is on “on” in the corresponding VM. I think this is the default and normal value. I just set enforcing to “permissive” while trying to debug why the value was different on the Zabbix server face to what shell command and agent query reported on the vm.

      My guess is this has something to do with the fact that Zabbix agent is running the command with zabbix user on vm and this one is not allowed to run some commands, like systemctl.
      If not, in which version this is already allowed?

      Could you kindly confirm?

      Thanks and kind regards,
      Mara Lourenço

            Assignee:
            Edgar Akhmetshin
            Reporter:
            Mara Lourenco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: