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
…………
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Closed ticket automatically when nagios states changes from critical to ok,hard to soft……can i any one help me……… thanks in advance………..
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
…………
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
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
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..
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
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
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.
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
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.
completed this task….also special thanks to Stefen sir and Erwan…
Dear Pankaj,
Have you apply this to version 2.0? How does it work?
Dear Xiahong,
Yes we also done in itop2.0..
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.