I was wondering how I would get CiscoWorks to send out an SNMPInform in response to a lvl 0-3 Syslog message. My main goal is to send an alert to OpenView. I tried setting up an automated action, but SNMP is not an option. Is there a well known script I could use for this? How would CiscoWorks interact with the script? Does it include the Syslog message as well as the generating host in whatever type of notification it sends? Thanks in advance.
The net-snmp suite (http://net-snmp.sourceforge.net) includes an snmpinform tool that you can use to send out an SNMP inform. However, it may be easier to configure syslog messages as traps on the device itself:
snmp-server enable traps syslog
This will wrap all syslog messages into traps using the CISCO-SYSLOG-MIB. They can then be sent as informs directly to your OpenView box.