Ad Widget

Collapse

Zabbix Problem Not clearing, Trigger should not be activated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    Zabbix Problem Not clearing, Trigger should not be activated

    Hello,

    My Zabbix Server has three pending problems, all of which are identical; the Item check is for a TCP service, to ensure Monit is running all a particular host. I have verified that the service is indeed running, however problem is not clearing from Zabbix Server. I have tested the item check from the perspective of the Zabbix Server (via zabbix_get and the new check now feature), and the return value is 1, indicating success. When looking at a problems hosts' trigger list: Configuration>(Problem)Host>Triggers, I can see that the last value is showing as 0.

    I cannot seem to figure out what's wrong! It's important to know that this check is run against every Linux server that we have, and every server is running the service as expected. This issue, however, is present on these three hosts alone. I've included some information below that may be important. I've also included sample results of zabbix_get below.

    Code:
    [root@zabbixserver first.last]# zabbix_get -s badnode.sub.domain.com -p 10050 --tls-connect psk --tls-psk-identity "PSK 060" --tls-psk-file /etc/zabbix/zabbix_agentd.psk -k net.tcp.service[http,192.168.1.1,2812]
    1
    [root@zabbixserver first.last]#
    Zabbix Server Version: 4.0.1
    Zabbix Agent Version: 3.2.10
    Monit Service Check: net.tcp.service[http, {HOST.HOST}, 2812]

    It should be noted that we were previously running Zabbix Server 3.4 and the problem with these three hosts was present. We then built Zabbix Server 4.0 on a new VM, migrated the Database, and allowed all of the host agents to connect to 4.0. The existing problem with these three nodes carried over from Zabbix Server 3.4 to 4.0. I have not tried to manually update the value in the database, and allow the check to run again, but this may be an option.

    Any help is appreciated.
    Last edited by Guest; 05-11-2018, 22:30.
  • Mike2K
    Member
    • Oct 2018
    • 62

    #2
    Could you please show us how you've configured the triggers?

    Comment

    • Guest

      #3
      Hello,

      Thank you for your response, I have attached a picture of the trigger configuration. Please remember, that this is working perfectly fine on all of our additional hosts.





      Attached Files

      Comment

      • Mike2K
        Member
        • Oct 2018
        • 62

        #4
        You have an OK event expression but I don't see it ?
        When should this trigger return to an OK state ?

        Comment

        • Guest

          #5
          I actually found the solution! I changed the Item type from Zabbix Agent to Simple Check, and provided the username/password used to access the webUI. I'm not 100% certain why this worked with other host, but failed with these three; in theory it should have failed for all of them. Accessing the webUI on most of the hosts does not require credentials, so long as my browser has them cached.

          Anyway, after making changes, the issues cleared immediately.

          Thanks for your help!

          Comment


          • Mike2K
            Mike2K commented
            Editing a comment
            I'm glad you solved it and shared your solution with us. thank you!
        Working...