cluther was able to answer my question in the IRC chat.

<twm1010> or maybe it accepts all community strings used throughout Zenoss
[b]<cluther> There isn't a configuration knob for accepted community strings. 
It just accepts everything.[/b]
<MuseHome> I'm also checking in to that. have someone looking in to what the 
trap setting on the systems are. they may be different then the snmpget 
community.... I don't know yet. 
<BrixWork> I don't think many snmp consoles actually use the snmp community 
string on traps, I think it was one of those it's in the specs, but not really 
implemented things.
[b]<cluther> Right.. if you really needed to do this you could stick a bit of 
code into the doHandleRequest method in $ZENHOME/Products/ZenEvents/zentrap.py
<cluther> if getattr(event, 'community', None) != 'myCoolString': return[/b]
<Dorferiferon> cluther:  do you know much about the setup of custom commands in 
snmpd?
<cluther> Right before the sendEvent line.




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

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

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



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

Reply via email to