Ad Widget

Collapse

Zabbix 6.0 integration with ManageEngine SD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pawel.struczyk
    Junior Member
    • Jul 2022
    • 8

    #1

    Zabbix 6.0 integration with ManageEngine SD

    Hello,

    recently I wanted to integrate my Zabbix with ManageEngine SD. I configured the media type according to Zabbix's guidelines.
    Unfortunately, when I try to test, I get an error.
    "Sending failed: Request failed with status_code 4001. Message: Invalid entry. Check debug log for more information"

    Logs I found:
    "00:00:00.075 [Debug] [ ManageEngine Webhook ] Received response with status code 400 {"response_status":{"status_code":4000,"message s":[{"status_code":4001,"field":"priority" ,"type":"failed","message":"Invalid entry"}],"status":"failed"}}

    00:00:00.075 [Warning] [ ManageEngine Webhook ] ERROR: Request failed with status_code 4001. Message: Invalid entry. Check debug log for more information."

    Unfortunately, they don't tell me anything. I'm going to check the debog log but I'm still new to Zabbix and need to check how to do it.

    I've attached a screenshot of my media type configuration

    I am asking you for help. Maybe your advice will help me solve this problem.

    Thank you.​
    Attached Files
  • ScottyStuNZ
    Junior Member
    • May 2024
    • 1

    #2
    Hey did you manage to resolve this issue I have a similar issue and have no experience with web hooks

    Comment

    • thapakorn.l
      Junior Member
      • May 2024
      • 1

      #3
      I have a similari issue, could someone please share solution about it.I have a similar issue, Please someone share a solution about it.

      Comment

      • lmonasterio
        Member
        • May 2021
        • 34

        #4
        Hi everyone!
        Did you find any solution? Im having the same issue here...

        Comment

        • pawel.struczyk
          Junior Member
          • Jul 2022
          • 8

          #5
          Hi,

          I guess this error was due to the fact that I have task priority names configured in Zabbix in English and in SD in Polish. I added English priority names in SD and this problem just disappeared, but to make it not so easy I have another one

          00:00:00.043 [Debug] [ ManageEngine Webhook ] Received response with status code 400 {"response_status":{"status_code":4000,"message s":[{"status_code":4012,"type":"failed","message":" Wyp ełnij pola obowiązkowe","fields":["request_type"]}],"status":"failed"}}
          00:00:00.043 [Warning] [ ManageEngine Webhook ] ERROR: Request failed with status_code 4012. Message: Wypełnij pola obowiązkowe. Check debug log for more information.

          Now I'm looking for that mandatory field.

          Comment

          • pawel.struczyk
            Junior Member
            • Jul 2022
            • 8

            #6
            Hi,

            I managed to integrate Zabbix with ManageEngine SD

            In my case, Zabbix uses a default template to set up tasks (maybe it can be set in zabbixe too but I don't know how yet ).

            - The first problem I had was the name field - "priority_default". Due to the fact that I use Polish language in SD I had to change the value in pl. After this change the problem disappeared.

            - The second problem is an error related to my post above " ERROR: Request failed with status_code 4012. Message: Fill in mandatory fields. Check debug log for more information." It turned out that the default template in SD I have the mandatory fields checked: subject, description and request type. Subject and description are in the default configuration "media types" in Zabbix but the request type was not. To solve this I had to enter such a configuration."
            name: field_ref:request_type
            value: expression configured in ManageEngine SD (in my case, it was "problem". It was adding this configuration that the test request fell into SD

            Comment

            Working...