[Zenoss-dev] Re: Summary/Message in event threshold

drago aolder at blitzgames.com
Thu Jan 24 05:37:17 EST 2008


Ah okay.

I assume I have to map the event to a class in order to run the event transform?

Now that's where I have a problem.  When I try and Map to class, Zenoss replies with:

1 event does not have an event class key. Created 0 event mappings.

I just can't see where I can insert the eventClassKey.
I've tried various configuration changes, and I'm sure I've missed something, but just can't get it to work.

Any help or advice you could give would be much appreciated :)




Apologies for the long post, but here's the configuration:
Zenoss version: 2.1.2

I've created a template for nagios_check_disk which has a number of data sources eg:

Name: check_disk_data0
Source Type: COMMAND
Enabled: True
Use SSH: False
Component: data0
Event Class: /Unknown
Event Key: data0
Severity: Warning
Command Template: /usr/local/zenoss/libexec/check_nrpe -n -H $devname -c check_disk_data0 | awk '{print $$1,$$2"|data0="$$7"\n"}'

I've created the min/max threshold for this particular check (min/max values are just for testing and create events frequently!):
Name: data0
Data Points: check_disk_data0_data0
Min Value: 40000
Max value: 50000
Event class: /Unknown
Severity: Warning
Escalate Count: 0
Enabled: True

Zencommand creates an event as expected, but the eventClasskey is always blank, and I guess this creates the error.

Here's the detailed information of the event:
dedupid  	fs-3|data0|/Unknown|data0|check_disk_data0_data0|3
evid 	0a07b455364e87386b91582
device 	fs-3
component 	data0
eventClass 	/Unknown
eventKey 	data0|check_disk_data0_data0
summary 	fs-3 threshold of data0 exceeded: current value 1462028.00
message 	

fs-3  threshold of data0 exceeded: current value 1462028.00

severity 	3
eventState 	0
eventClassKey 	
eventGroup 	
stateChange 	2008/01/24 09:56:56.000
firstTime 	2008/01/24 09:36:56.000
lastTime 	2008/01/24 09:56:56.000
count 	5
prodState 	1000
suppid 	
manager 	localhost
agent 	zencommand
DeviceClass 	/Server/FreeBSD
Location 	
Systems 	|
DeviceGroups 	|
ipAddress 	10.5.200.3
facility 	unknown
priority 	-1
ntevid 	0
ownerid 	
clearid




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15694#15694

-------------------- m2f --------------------





More information about the zenoss-dev mailing list