Custom monitoring shell script to create a service now ticket

ritz266
Kilo Explorer

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

2 REPLIES 2

Brian Lancaster
Tera Sage

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.

i_rv
Kilo Explorer

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.