Hello,
I'm struggling with some integration procedure in order to trigger auto-tickets from Zabbix to ServiceNow via SOAP.
1st thing I tried was following the procedure from this link:
However Python is using an old library (SOAPpy - latest version from 2014) that is not working as expected, so I just abandoned this option after plenty of attempts and now I'm trying a new one.
Using Zabbix 4.0 installed on Fedora 31 with Perl version 5.30.1 and perl-ServiceNow-API, I'm able to create tickets via perl script using SOAP.
So now I need to develop a script to capture the event from Zabbix but I didn't find any reference in how to send the parameters from Zabbix to the script (I assume it should be something similar to the script and instructions from URL above)
I already configured the Media Type to call the script, modified the media for Admin user and configured the actions for the trigger with concerned macros.
My question is: how to send all the information to the script? Does anybody has an example?
Keep in mind that I don't want the full script, just an example like:
- configure these steps in zabbix
- call this way in the script
- check the output
Even not being a developer I will remove the rusty and create the routine to capture the information and send it via SOAP as I need to the ticketing tool.
There are not too many references in the web of people doing this, I believe most of the people are sending via email/sms/etc... but in my case SOAP + Perl or Python (if any other up to date library is available) is the last resort.
If anybody has another solution that can work, please feel free for any suggestions.
Any information you may have would be appreciated.
Thanks in advance.
Regards,
Andre
I'm struggling with some integration procedure in order to trigger auto-tickets from Zabbix to ServiceNow via SOAP.
1st thing I tried was following the procedure from this link:
However Python is using an old library (SOAPpy - latest version from 2014) that is not working as expected, so I just abandoned this option after plenty of attempts and now I'm trying a new one.
Using Zabbix 4.0 installed on Fedora 31 with Perl version 5.30.1 and perl-ServiceNow-API, I'm able to create tickets via perl script using SOAP.
So now I need to develop a script to capture the event from Zabbix but I didn't find any reference in how to send the parameters from Zabbix to the script (I assume it should be something similar to the script and instructions from URL above)
I already configured the Media Type to call the script, modified the media for Admin user and configured the actions for the trigger with concerned macros.
My question is: how to send all the information to the script? Does anybody has an example?
Keep in mind that I don't want the full script, just an example like:
- configure these steps in zabbix
- call this way in the script
- check the output
Even not being a developer I will remove the rusty and create the routine to capture the information and send it via SOAP as I need to the ticketing tool.
There are not too many references in the web of people doing this, I believe most of the people are sending via email/sms/etc... but in my case SOAP + Perl or Python (if any other up to date library is available) is the last resort.
If anybody has another solution that can work, please feel free for any suggestions.
Any information you may have would be appreciated.
Thanks in advance.
Regards,
Andre