Extras:Syslog Alert
From FreeNATS Wiki
Syslog Alerts | |
Description: | Logs alerts to syslog |
---|---|
Requires: | Version 1 |
Type: | Event Handler |
Included: | Standard Extras |
Version: | 0.01 17/08/2009 |
The syslog alert extra for FreeNATS provides the ability to output alerts to syslog.
Contents
Installation
Copy the syslog.php file from the extras/events directory into base/site/events/ (you will also need to enable site event includes).
Configuration
Configuration is not directly supported but you may change options in the code if you know what you are doing.
Usage
Once installed and enabled simply create an alert action of the type message queue and the name "_syslog" (without the quotes).
Add this alert action to any nodes you desire.
Alert text for this action will now be output in the syslog.
Please note this may well not work for testing (test alert action) dependent on your security settings but should work for "live" alerts
Technical Requirements
System
FreeNATS version 1
Methods
TFreeNATS::Event TFreeNATS::AddEventHandler
Events
alert_action