GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Hackman238/beepScript: 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

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.rst
README.rst
 
 
api.py
api.py
 
 
beepScript.py
beepScript.py
 
 
console-beep.mp3
console-beep.mp3
 
 
sound.py
sound.py
 
 
zenoss_beeps.log
zenoss_beeps.log
 
 

Repository files navigation

Zenoss beepScript

About

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.

Prerequisites

Prerequisite Restriction
Product Zenoss 4.0 or higher
Required ZenPacks None
Other dependencies None

Usage

Edit beepScript.pt

Configuration

Severity - 5=Critical/Red, 4=Error/Orange, 3=Warning/Yellow, 2=Info/Blue, 1=Gray/Debug, 0=Green/Cleared

Set the severity list to a list of severities you'd like to filter. Example:

severity = [5,4]
EventState - 0=New, 1=Acked, 2=Suppressed, 3=Closed, 4=Cleared, 5=Aged

Set the eventState list to a list of statuses you'd like to filter. Example:

eventState = [0,1]
ProductionState - 1000=Production, 500=Pre-Production, 400=Test, 300=Maintenance, -1=Decommissioned

Set the prodState list to a list of production states you'd like to filter. Example:

prodState = [1000]
DeviceClass - Add * to include subclasses

Set to a simple regex to include deviceClasses Example:

deviceClass = '/Network*'
Query Config - Int

Set to the number of seconds between each poll Example:

cycleTime = 5
Zenoss authentication - user/password

Set the user and password for the script to authenticate with. Requires only ZenUser role. Example:

zenossUser = 'zenoss_beep'

zenossPassword = 'myReallyBadPassword'

beepSound - File path

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'
Query targets - URLs

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'},}

Appendix Related Daemons

Type Name
None  

About

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

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.