...
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]:~$ cp ~/lib/python3/cmk/cee/notification_plugins/servicenow.py ~/local/share/check_mk/notifications/ |
.
- make the script executable
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]:~/local/share/check_mk/notifications$ chmod +x ~/local/share/check_mk/notifications/servicenow.py |
.
- Inside the script, you need to change
- The 3rd line to the name of your script. This name will be displayed in the Notification rules
Code Block | ||||
---|---|---|---|---|
| ||||
3 # Notification script name 4 # Bulk: no |
.
- At the end of the notification script, we need to add:
...