example script for processing events

From: neil mckee <neil.mckee@inmon.com>
Date: 07/18/05
Message-Id: <313dbf967da986e7f37545f2458c08d6@inmon.com>

Hello All,

Most ITS users have found the configuration parameters for controlling
what happens to events....

http://www.inmon.com/help/4.0/server/configure/parameters.php#event

However there have been a number of requests for programmatic control
so that special actions can be triggered. Starting with version 4.0.36
the following options have been available too:

ScriptsDirectory = <directory>
EventScript = <executable>

For example, if you were to set:

ScriptsDirectory = /usr/local/inmon/server/config
EventScript = eventScript

then all events would be passed to the script at
/usr/local/inmon/server/config/eventScript.

For those who prefer the power of perl, here is another example
script. This one has the additional feature that it will look up the
port-locations of hosts that violate security rules, and include that
information when it passes the event on via email, syslog or SNMP trap:

http://www.inmon.com/bin/eventScript

The traps that it generates are described here:

http://www.inmon.com/bin/trapMIB

(You may need to install the net-snmp-utils rpm to get the snmptrap(1)
command)

----
Neil McKee
InMon Corp.
http://www.inmon.com
Received on Mon Jul 18 14:48:51 2005

This archive was generated by hypermail 2.1.8 : 07/18/05 PDT