Thanks Jan, that script/integration looks really solid, guessing it could be pretty easily adapted to ServiceNow's Event management as well.
Ad Widget
Collapse
ServiceNow Integration?
Collapse
X
-
-
Feel free to open pull requests.
Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / VagrantComment
-
Will keep that in mind if/when we move back to WebServices for integrating with events. Currently though when I have tried to use WebServices integration it tends to cause the alerter process to max out and eventually get behind in sending events in.
We have a lot of our triggers configured with 'Multiple PROBLEM events generation' selected. using the event aggregator to de-duplicate our alerts. Not sure how your triggers are configured, though the script does appear to have de-duplication built in.
Do you guys run into any performance problems related to WebService response times?Comment
-
Deduplication is not implemented - it's simple-minded script: parse output and create web request.
Performance - no problem, because only 10 tickets per day :-). If you need performance, then I recommend to implement forking and parent will exit immediately after fork, however child will be real worker and it will handle slow web responses. It will be super fast from Zabbix notification point of view and you don't need to really care about webservice response times - it can be 1-100sec. Zabbix doesn't care about return code from notification script - IMO it's safe solution.Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / VagrantComment
-
Came across this thread randomly, thought I would add an option.
My firm created a Zabbix integration for ServiceNow a little over a year ago, which plugs into our Premium event management and correlation solution for ServiceNow. Both are available for download from our site.
It's also available via the SN AppStore for ServiceNow Event Managment customers.
If someone is looking for a supported solution, or advanced event correlation inside of ServiceNow, Evanios is a great option.
ThanksComment
-
Let me take the chance to bring up this topic as I'm struggling with this for so long and I'm running out of time to find a solution
I'm trying to make zabbix send tickets to ServiceNow using SOAP and my first approach was doing what is documented here:
ServiceNow tickets from Zabbix. Contribute to monitoringartist/zabbix-script-servicenow development by creating an account on GitHub.
However, there's no information about which Python version and modules that are needed to make it work, I assume they are the same as per ServiceNow documentation (maybe I'm wrong):
- fpconst
- PyXML
- SOAPpy
fpconst installs via pip
PyXML needs to be downloaded tar.gz file and then run python setup.py install --user
SOAPpy installs via pip
The biggest problem here is that whenever you try to install something you get into errors due to dependencies or some crazy messages that are not clear at all
Is there anybody here using this solution and it is working so far? If yes can you please share information about your current environment? (OS distro and version, zabbix and python versions...)
I'm asking because:
- fpconst: Last released: Nov 1, 2005
- SOAPpy: Last released: Jun 20, 2014
- PyXML: Last released: Feb 5, 2008
Looks like these modules are quite obsolete and maybe I'm running into errors due to using an OS updated
My attempt is to make it work with Centos 8 and Zabbix 4.0 but there are not limitations in case of distro to make it work
In my current test environment I have:
- Centos 7
- Python 2.7.5 (PyXML 0.8.4 / SOAPpy 0.12.22 / fpconst 0.7.2)
- Zabbix 4.0
But when the script runs I get in the traceback:
- Fault SOAP-ENV:Server: This is an operation implementation generated fault: <SOAPpy.Types.structType detail at 139804533821024>: {'insertFault': <SOAPpy.Types.structType insertFault at 139804533821096>: {'returnCode': 'SEM-9600', 'description': 'MethodNotExist', 'detail': 'un-supported API call: insert'}}>
Any clue? Suggestion? Thoughts? Feel free to share anything you may have as for sure it would be useful.
ThanksComment
-
No clue?
Just read somewhere that SOAPpy doesn't work on Python3
can somebody share what's the workaround?
I don't think the answer will be "keeping old versions, updates off"
I'm trying to do something using zeep library but what a pain...
any other option?Comment
Comment