Custom monitoring shell script to create a service now ticket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2019 02:57 AM
Hello,
I am a DBA and we have shell scripts written to email the DBAs when a database goes down or a server reboots. I would like to integrate it with service now, so that an incident is created in service now with appropriate priority. I would like to modify the existing monitoring shell script to create a service now incident instead of sending an email.
Please let me know how this can be done.
Thanks in Advance,
RD
- Labels:
-
Incident Management
-
Service Desk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2019 11:07 AM
I can think of two options. For both of them you will need to work with your ServiceNow developer to do either option.
1. Use an inbound web service setup in ServiceNow that you script can call.
2. Set you script to send an email to the ServiceNow mailbox and as long as it comes from a specific email address your ServiceNow developer should be able to write an inbound action to create the incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2020 03:07 PM
Wondering if you got this to work? We have the exact requirement as you quoted. I see one of there Now guys have responded but those are not our preferred method solution to requirement.