Sure, with some coding. What you'd want to do is create an Event command that triggers on the event you want, then write a script that you fire with the command. The script could have an snmpwalk in it (I do this a bit) and then e-mail that (though I haven't really sent mail from a script on Zenoss... Maybe generate another event that you then create an alerting rule from? Not sure how to do this, but you can generate events from the GUI so I'd expect you could from the command line. If you were really slick, you could maybe use the generated event as a clear for the first "trigger event" so you don't have to close 2 events...)
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



mikeatisw wrote:
Thanks for the response. I did find a little change in the way I could monitor these 
units.. and I'm hoping Zenoss will do what I need it to. There's a conditions OID that 
reports whether or not there is a condition. It gives a gauge 1 value if there is and a 0 
if there is not. If you do a walk on an OID one level "higher" then this 
condition OID, it will report the condition and give you the OID which points to the 
description of the condition. My question is now... Is it possible to have Zenoss do an 
snmpwalk on an OID when it receives an Event/trap and then have it email the output of 
that walk?

Thanks!

Here are examples of the output:


Code:
[EMAIL PROTECTED] ~]$ snmpwalk  -m ALL -c xxxxxxx -v2c 192.168.102.1 
1.3.6.1.4.1.476.1.42.3.2
LIEBERT-GP-CONDITIONS-MIB::lgpConditionsPresent.0 = Gauge32: 1
LIEBERT-GP-CONDITIONS-MIB::lgpConditionId.2 = Gauge32: 2
LIEBERT-GP-CONDITIONS-MIB::lgpConditionDescr.2 = OID: 
LIEBERT-GP-CONDITIONS-MIB::lgpConditionHighTemperature
LIEBERT-GP-CONDITIONS-MIB::lgpConditionTime.2 = Timeticks: (752880) 2:05:28.80
LIEBERT-GP-CONDITIONS-MIB::lgpConditionControlEventReset.0 = INTEGER: 
noAction(1)
LIEBERT-GP-CONDITIONS-MIB::lgpConditionControlEventAck.0 = INTEGER: noAction(1)







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

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

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



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

Reply via email to