Ad Widget

Collapse

zabbix active check with log: permission denied

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mlrtime
    Junior Member
    • Aug 2019
    • 15

    #1

    zabbix active check with log: permission denied

    I have setup a active check using log[]. I've set it up on about 400 hosts, a hand full are giving file permission errors. However the file permission is 644 and if I sudo bash to zabbix user I can cat the file. Any ideas?

    zabbix-agent-4.4.1-1.el7.x86_64

    3340:20191202:195303.919 active check "log[/var/log/salt/minion,The Salt Master has rejected this minion's public key]" is not supported: Cannot open file "/var/log/salt/minion": [13] Permission denied

    # ls -l /var/log/salt/minion
    -rw-r--r--. 1 root root 25837 Dec 2 19:28 /var/log/salt/minion

    root# sudo -H -u zabbix bash -c 'tail /var/log/salt/minion'
    Creating home directory for zabbix.
    .... DATA IS HERE ...


  • mlrtime
    Junior Member
    • Aug 2019
    • 15

    #2
    Can anyone give me some ideas to troubleshoot?

    Comment

    Working...