| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Script designed to test multiple Zenoss instances from a client machine and create an audible 'beep' from the client PC based on matching event criteria.
| Prerequisite | Restriction |
|---|---|
| Product | Zenoss 4.0 or higher |
| Required ZenPacks | None |
| Other dependencies | None |
Edit beepScript.pt
Set the severity list to a list of severities you'd like to filter. Example:
severity = [5,4]
Set the eventState list to a list of statuses you'd like to filter. Example:
eventState = [0,1]
Set the prodState list to a list of production states you'd like to filter. Example:
prodState = [1000]
Set to a simple regex to include deviceClasses Example:
deviceClass = '/Network*'
Set to the number of seconds between each poll Example:
cycleTime = 5
Set the user and password for the script to authenticate with. Requires only ZenUser role. Example:
zenossUser = 'zenoss_beep'
zenossPassword = 'myReallyBadPassword'
Set to the patch of the beep sound you'd like to play. The default plays console-beep.mp3 from the beepScript folder. Example:
beepSound = 'file://' + str(os.getcwd()) + '/console-beep.mp3'
Set add each target Zenoss instance you'd like to query for events Example:
targetInstances = {'Dallas':{'targetInstance':'http://zen1.dallas.myDomain.net:8080'},'London':{'targetInstance':'http://zen1.ilondon.myDomain.net:8080'},'Chicago':{'targetInstance':'http://zen1.chicago.myDomain.net:8080'},}
| Type | Name |
|---|---|
| None |
| Back | FazBrowse Home | New Git URL |