Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v0.0.10 · public · Published about 2 months ago

README
Asset Definition
Release Notes
Release Assets

Sensu Go ServiceNow Handler

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.

Configuration

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"
        ]
    }
}

Usage examples

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

Contributing

See https://github.com/sensu/sensu-go/blob/master/CONTRIBUTING.md

Are you sure you want to report this asset?

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.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

This asset is enterprise only and requires an enterprise license. By clicking download, you agree to the Sensu terms and conditions and license agreement.