Ad Widget

Collapse

Close problems in ServiceNow with Zabbix Integration 5.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luishmdasilva
    Junior Member
    • Jul 2018
    • 4

    #1

    Close problems in ServiceNow with Zabbix Integration 5.0

    Hello,

    I use Zabbix 5.0 and I have a problem. I'm using this documentation: https://www.zabbix.com/int/integrations/servicenow
    But I am not able to close the problems automatically with this integration.

    Did anyone succeed?
  • luishmdasilva
    Junior Member
    • Jul 2018
    • 4

    #2
    Hello good Morning.
    So, I use this default procedure: https://www.zabbix.com/int/integrations/servicenow.

    I can open incidents normally, but when I try to close the incident it just includes a comment and does not change the status to closed.

    There is no error message. The action of Zabbix happens successfully. The problem I believe is in the parameterization of the script of the default procedure or of the parameters on the Zabbix side.

    Can anyone here open and close incidents automatically on this default procedure?

    An example of the description:
    Problem started at 10:11:10 on 2021.02.25
    Problem name: XXXXXXXXXXXXX
    Host: XXXXXXXXXXXXXX
    Severity: Disaster
    Operational data: 404
    Original problem ID: 85

    An example of the closing message:
    Problem has been resolved in 2m 0s at 10:13:10 on 2021.02.25
    Problem name: XXXXXXXXXXXXX
    Host: XXXXXXXXXXXXXX
    Severity: Disaster
    Original problem ID: 85

    Comment

    • luishmdasilva
      Junior Member
      • Jul 2018
      • 4

      #3
      Resolved!!!!
      In the script, I added these conditions in the try option.

      if (params.event_value === '0') {
      data.state = 6;
      data.incident_state = 6;
      }

      With that, when Zabbix sends event.value = 0, it changes the ticket status to 6 (which for my ServiceNow instance is resolved)

      Comment


      • vai
        vai commented
        Editing a comment
        I would be thankful if you could provide the steps which you followed to auto resolve incident if Zabbix resolves the alert?
    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4811

      #4
      Too little info... what exactly happens .. how its configured, what fails etc..

      Comment

      Working...