Hello,

I am having trouble with event transformations and I was hoping someone could 
point me in the right direction.  My setup is as follows:

I am using cfengine to do some tasks, one of which is to fire off shell scripts 
at certain times.  Those shell scripts then write to a specific file.  SNMP 
then calls a script to look at the value of the file that was written and 
report it back (as the extResult MIB, OID 1.3.6.1.4.1.2021.8.1.100.#  ... 
different # for each script, I have about 200).  Along with that, the script 
also echos any error information (such as "Could not connect to database ###, 
check line ###") which is reported in extOutput, OID 
1.3.6.1.4.1.2021.8.1.101.#.  extResult is used as a datasource (one datasource 
for each script) and those all get mapped to thresholds, which when tripped, 
fire off an alert and email (different codes may warrant only a warning, others 
emails, and even more severe results in SMS being sent).

Everything works except getting the extOutput into the event message or event 
summary.  I would think that there would be some way in the event transform to 
lookup which OID tripped the event (maybe by looking at which datasource caused 
it?) and then replacing the 8.1.100 with 8.1.101 and appending that string to 
the event message.

Any help at all is *greatly* appreciated.

Thank you




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

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

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



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

Reply via email to