Menu

Closed ticket automatically

2012-10-03
2013-04-12
  • Pankaj khurana

    Pankaj khurana - 2012-10-03

    Closed ticket automatically when  nagios states changes from critical to ok,hard to soft……can i any one help me……… thanks in advance………..

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-03

    its urgent can any one help just gives the clues or suggestion on ticket closing or resolve issue when state changes from critical to Ok,hard to soft
    …………

     
  • TheBigOne

    TheBigOne - 2012-10-03

    I can`t really help BUT I would check the script where you create the tickets from nagios. Maybe you find the function where you open the ticket. I assume there could be also a function to close a ticket.
    Search in the files which are included into the create_ticket.php

    Another way is to check the class UserRequest in the modules folder. There must be a function to close tickets because this class is used by the GUI.

    /Stefan

     
  • Erwan Taloc

    Erwan Taloc - 2012-10-03

    Hi all

    for the moment there is no Soap API to update a ticket created from an external source.
    So you cannot change the ticket status automatically from Nagios.

    This is in our plan, but i'm not sure we will have time to make it for the release 2.0

    Sorry

    Erwan

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-04

    Hello Ervan,

    Thanks for reply….But Ervan could u help me to solve this issue………..just give me a clues  to solve or fix this issue ..its so urgent………. i will be very thankful to u..

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-05

    Hello Itop Developer  Team,

    Could u help me to Modify in SOAP API  just gives me a clues so that i modify the webservices and complete my Nagios updation(Delete or resolved incident Ticket when states changes from critical to ok,hard to soft) task.

    its urgent..anyone have beta version of  SOAP API modified webservices please Share with me…
    My personal email id:-pankaj6513@yahoo.com

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-09

    Hello itop developer team,

    Please  give some idea or overview to change in SOAP API webservices..i change number of things but its urgent

    Thanks in advance

     
  • TheBigOne

    TheBigOne - 2012-10-09

    If nobody in the forum can help you, maybe the support can do it.

    Instead of using soap webservices, you could also try to use the php classes (ticket module) to close the tickets.
    It`s nothing more than just updating the database. (If its really urgent, then a quick workaround is always a good workaround)

    You will not be able to get the soap service running just by changing the xml cause there are some functions to open the tickets and you need to write functions to close the tickets. Thats why, just a hint will not really help you. (otherwise my first hint would bring you into the right direction)

    file:webservices.class.inc.php
    line 503:  protected function MyObjectInsert

    You can check the UI.php which functions are updating the DB on special "cases"

    OR

    Track the DB change on Ticket close and write your own DB update.

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-09

    Dear johndoe2011,

    Thanks a lots .I am creating my  own SOAP API webservices which is very difficult task for newly comer in IT industry…what i do i don't know…..Really confused….finally at your suggestion i wrote a requesting mail to Project manager for taking  ITop Support from itop community.Hope so they will help me to have a support from itop community…..
    Once again Thanks,
    Pankaj Khurana

     
  • Pankaj khurana

    Pankaj khurana - 2012-10-18

    Hello Stefan,

    I have done update status when  ticket close automatically ( new -> closed).but i have to make change in ticket(ticket_log_index) database so that  it maintain a log.

    Thanks for your help.

     
  • Pankaj khurana

    Pankaj khurana - 2012-12-17

    completed this task….also special thanks to Stefen sir and  Erwan…

     
    • xiaohong

      xiaohong - 2013-03-05

      Dear Pankaj,
      Have you apply this to version 2.0? How does it work?

       
  • Pankaj khurana

    Pankaj khurana - 2013-03-05

    Dear Xiahong,

    Yes we also done in itop2.0..

     
  • Jacob Martin

    Jacob Martin - 2013-04-12

    Hello,

    This sounds like exactly what we want to do;

    I was wondering if you could elaborate your process on getting your nagios to auto resolve/close on UP or OK when it comes to incident tickets in iTop2.0. At the moment we have our nagios (through Icinga) generating incident tickets whenever something goes DOWN or CRITICAL on a HARD state. Now we would like those tickets to be auto resolved or closed when that service/host comes back UP or goes OK. Any help or information would be greatly appreciated.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.