Dave Stycos
unread,Dec 13, 2009, 11:14:27 AM12/13/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ossec...@googlegroups.com, osse...@googlegroups.com
Here's a shell script that will take an OSSEC alert and convert it to a
Nagios passive service event.
Install the script as an Active Response handler, then add a passive
service check in Nagios for all the hosts that have OSSEC agents. The
agent name must match the Nagios host name. Currently, the script
requires OSSEC and Nagios to be running on the same server.
I like funneling events through the Nagios notification system for a
couple of reasons: 1) Nagios' notification system is far more
sophisticated; 2) All notification configuration is handled in one
place; 3) Because ISP's are trying to defeat spamming, more are are
requiring SMTP traffic to be authenticated and/or use non-standard
ports, and OSSEC doesn't not provide this configurability (that I've seen).
Enjoy.
- Dave Stycos