Skip to content

Instantly share code, notes, and snippets.

@jstanley23
Created April 3, 2019 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstanley23/9f976f9361f4c4a3653e9506a4a3cec0 to your computer and use it in GitHub Desktop.
Save jstanley23/9f976f9361f4c4a3653e9506a4a3cec0 to your computer and use it in GitHub Desktop.
Example Zenoss ValueChangeThreshold
name: ZenPacks.jstanley.NetworkMonitoring
device_classes:
/Network/Cisco/NewDeviceClass:
templates:
EthernetInterface:
targetPythonClass: ZenPacks.zenoss.CiscoMonitor.EthernetInterface
thresholds:
statusChange:
enabled: true
type: ValueChangeThreshold
dsnames: [ifOperStatus_ifOperStatus, ifAdminStatus_ifAdminStatus]
eventClass: /Status/Network
severity: Critical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment