On Sep 10, 2008, at 9:28 AM, theob wrote:
I have configured a nagios plugin to check for certain process states. If there is a wrong state the script will exit with an exitcode 2. When i run zencommand i can see that an event is send with severity 5 (Critical) but when I check the event in the browser the severity is set to 2

DEBUG:zen.zencommand:Sending event {'severity': 5, 'message': 'CRITICAL Vendor server not running', 'component': 'License', 'agent': 'zencommand', 'summary': 'CRITICAL Vendor server not running', 'manager': 'localhost', 'eventKey': 'License', 'device': 'u305.mindef.nl', 'eventClass': '/App/IBM/Netcool License', 'performanceData': '\n'}

Template definition
Source type: COMMAND
Enabled: True
Use SSH:True
Component:License
Event Class:/App/IBM/Netcool License
Severity: Critical

How do I get the event in the browser set to critical?

The /App event class has its zEventSeverity set to Info by default. This is modifying your severity. Go into /Events/App/IBM/Netcool License and set the zEventSeverity to Original to have it left alone.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to