License
Other
The Sensu Go ServiceNow handler is a Sensu Event Handler that creates or updates a ServiceNow incident and/or event.
If a Configuration Item for the Sensu Entity doesn't exist in ServiceNow, this handler will create one automatically.
Example Sensu Go handler definition:
{
"api_version": "core/v2",
"type": "Handler",
"metadata": {
"namespace": "default",
"name": "servicenow"
},
"spec": {
"type": "pipe",
"command": "sensu-servicenow-handler -H mycompany.service-now.com -u sn_user -p sn_password -c cmdb_ci_server -i incident -e em_event -t 30",
"timeout": 10,
"filters": [
"is_incident"
]
}
}
Help:
The Sensu Go handler for managing ServiceNow Configuration Items, Incidents, and Events
Usage:
sensu-servicenow-handler [flags]
Flags:
-c, --cmdbCiTable string The Config CMDB CI table
-e, --eventTable string The Config event table
-h, --help help for sensu-servicenow-handler
-H, --host string The Config host
-i, --incidentTable string The Config incident table
-p, --password string The Config password
-t, --timeout uint The HTTP timeout for the Config request (seconds)
-u, --username string The Config username
See https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md
Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.
×