Ad Widget

Collapse

Problems in Zabbix...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alfista
    Senior Member
    • Mar 2017
    • 136

    #1

    Problems in Zabbix...

    Hi,

    I try to set correctly the Zabbix Server, that I dont have any errors in logs, and found there these errors:

    cannot stat SNMP trapper file "/var/log/zabbix/snmptrap.log": [2] No such file or directory
    cannot send list of active checks to "127.0.0.1": host [Zabbix Server] not found

    I tried to figure out what is cause and how to resolve it, but without any chance.
    I use Zabbix V4 on CentOS.

    Please is possible to help me.
    Thanks.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    If you don't use SNMP Traps I suggest commenting out SNMPTrapperFile and StartSNMPTrapper in your server config:
    Code:
    egrep 'SNMPTrapperFile|StartSNMPTrapper' /etc/zabbix/zabbix_server.conf
    As to "cannot send list of active checks", it means Active agent with Hostname=Zabbix Server (note the capital-cased "Server") in its configuration file does not exist in Zabbix configuration. Perhaps it should be Zabbix server (lower-cased "server"), check from the front-end.

    Comment

    • Alfista
      Senior Member
      • Mar 2017
      • 136

      #3
      Hi,

      You have right with the checks - I had there small capital and there was a visible name which was corect and hid the uncorect name.
      I would like to ask to the Trappers. Why even it is running the Zabbix doesnt create the trapper log file? Instiead of it only write a log - missing file?

      Thanks.

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        The trapper log file is maintained by SNMP Translator, such as SNMPTT, not by Zabbix. Zabbix only reads this file and gets the values. If the file is not there Zabbix "thinks" something is wrong and SNMP traps are not set up correctly.

        Comment

        • Alfista
          Senior Member
          • Mar 2017
          • 136

          #5
          Thanks, Now I understand it fully.
          Please also possoble to help me with second post I have here .

          Comment

          • barton21
            Junior Member
            • Feb 2019
            • 5

            #6
            thanks for the relatable information i'm now fully understood

            Comment

            Working...