Ad Widget

Collapse

Zabbix Log Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kramnitsuj
    Junior Member
    • Sep 2022
    • 3

    #1

    Zabbix Log Monitoring

    Hi Zabbix Community,

    I'm trying to monitor the syslog file using Zabbix agent but I'm encountering this "2022/09/29 06:09:06.001522 check 'log[/var/log/syslog]' is not supported: Cannot obtain information for file "/var/log/syslog": [2] No such file or directory"

    I have added the zabbix user to adm group.

    Here's my config in item. Thanks

    ​ ​
    ​​
  • kramnitsuj
    Junior Member
    • Sep 2022
    • 3

    #2
    BTW I'm using dockerized zabbix-agent2 in my setup.

    Comment

    • Jun.Liu
      Member
      • Apr 2007
      • 91

      #3
      hi Kramnitsuj, do you resolved the problem? I encountered similar problem with you. I use dockerized zabbix server and a normal rpm installed zabbix-agentd in same host.
      the configuration for the item:
      • type: Zabbix agent(active)
      • key: log.count[/tmp/testsys.log,error]

      the error msg found in the zabbix_server.log:

      Code:
       error reason for "appsrv1:log.count[/tmp/testsys.log,error]" changed: Cannot obtain information for file "/tmp/testsys.log": [2] No such file or director
      Last edited by Jun.Liu; 18-07-2024, 13:17.

      Comment

      Working...