You also should be able to modify 
$ZENHOME/Products/ZenEvents/SyslogProcessing.py to include a python regex that 
would better match your syslog message string.  

That would probably be less work than forwarding message to syslog-ng for 
reformat. Also you could then post the regex you came up with along with 
information about your sending device and that could help others in the 
community if they have the same type of device. 

You could use an online regex tool (I used http://regex.larsolavtorvik.com/), 
to test your regex against your syslog message to make sure component and 
summary are parsed correctly. 


Hope that helps!




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

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

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



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

Reply via email to