| | 3 | |
|---|
| | 4 | Eddie-0.36 (04-Dec-2007) |
|---|
| | 5 | - Eddie will now throw an error and exit if a config file cannot be read. |
|---|
| | 6 | - Added persist_cookies option to HTTP directive. It is used to |
|---|
| | 7 | specify whether to persist server-defined cookies on the client |
|---|
| | 8 | side. If enabled, Eddie HTTP checks will send back any cookies |
|---|
| | 9 | defined by the server, doing its best to obey expire times. |
|---|
| | 10 | Disabled by default. |
|---|
| | 11 | - Added "server" option to HTTP directive, used to specify the server |
|---|
| | 12 | name to connect to. This will be used instead of the server name |
|---|
| | 13 | from the URL. The server name from the URL will still be used for |
|---|
| | 14 | the HTTP host header. |
|---|
| | 15 | - SunOS: Changed mem_free and mem_swapfree to return as bytes (although |
|---|
| | 16 | they are rounded up to the nearest kbyte). |
|---|
| | 17 | - Added Solaris SMF method/manifest files to contrib. |
|---|
| | 18 | - Full find & replace of all evil tabs to spaces. |
|---|
| | 19 | - Added some tools to contrib/spread/ to use for testing elvinrrd message |
|---|
| | 20 | passing over Spread. These tools send & receive elvinrrd messages the |
|---|
| | 21 | same way that Eddie and ElvinRRD do. |
|---|
| | 22 | - Added support for Spread messaging as an alternative to Elvin. |
|---|
| | 23 | - Bugfix: make sure body is initialised so MSG parsing doesn't fail if a |
|---|
| | 24 | HTTP check fails before assigning anything to the body. |
|---|
| | 25 | - Bugfix: reason was not defined before actions were called, causing |
|---|
| | 26 | exception in some cases. |
|---|
| | 27 | - Bugfix: make sure status is initialised before generating any alerts. |
|---|
| | 28 | - Changes to the Elvin code to make re-connections more reliable. Use |
|---|
| | 29 | elvin.SyncLoop instead of elvin.ThreadedLoop. Disabled auto-discovery. |
|---|
| | 30 | - Implemented the DiskStatistics data collector for Linux. |
|---|
| | 31 | This uses a new linux_diskio module which has been added to the Eddie |
|---|
| | 32 | distribution. |
|---|
| | 33 | - Correct tcp/udp port bug in SP class: searching for "port=123" was matching |
|---|
| | 34 | to a bound port of 1234 because of use of string.find(). |
|---|
| | 35 | - For any var name that contains "_pages_", create a "_bytes_" version. |
|---|
| | 36 | - Added vars: ctr_swap_pages_inactive, ctr_bytes_per_page |
|---|
| | 37 | - New var for "COM" directive: outfields |
|---|
| | 38 | - Added "DBI" directive, for database query checking. |
|---|
| | 39 | Based heavily on the (undocumented) mysql directive. |
|---|
| | 40 | - Solve startup race condition for "checkdependson": initial state cannot be "ok". |
|---|
| | 41 | Create state "unknown", and change "Directive.checkDependencies" to consider |
|---|
| | 42 | all non-"ok" status to be failure (this include "failinitial"). |
|---|
| | 43 | - Two important enhancements to Directive.tokenparser: |
|---|
| | 44 | 1) When parsing the config file, for every argument in the directive, if its |
|---|
| | 45 | value is a STRING type, then use utils.typeFromString() to set its value, |
|---|
| | 46 | so we get a decent data type for it (int, float, string). This reduces the |
|---|
| | 47 | typecasting in evaluated expressions. |
|---|
| | 48 | 2) When parsing the config file, for every scalar (int, float, string) argument |
|---|
| | 49 | in the directive, put it into the defaultVarDict. This allows for setting |
|---|
| | 50 | "variables" in the directive, and then using that in the rule. For example, |
|---|
| | 51 | if the directive (or template) has "maxcpu=30", then the rule can address |
|---|
| | 52 | this like "rule='pcpu > _maxcpu'". |
|---|
| | 53 | - Added "--daemon" command-line option, and supporting "utils.create_child" |
|---|
| | 54 | routine. Also created brief documentation for all command-line switches. |
|---|
| | 55 | - Changed in logscanning.py: Detect inode number change: if watched file's |
|---|
| | 56 | inode number changes, then read from start of the file. |
|---|
| | 57 | - For the "email" action, convert "\n" strings in the body text into newline |
|---|
| | 58 | characters. This allows for: |
|---|
| | 59 | email('foo@bar.com', 'host: %(h)s', 'Host: %(h)s\nAge: %(problemage)s') |
|---|
| | 60 | instead of having odd-looking multi-line strings in the config file. |
|---|
| | 61 | - Added "RESCANCONFIGS" config option. Defaults to original behavior. |
|---|
| | 62 | This option allows the disabling of Eddie's constant scanning and reloading |
|---|
| | 63 | if its config files. |
|---|
| | 64 | - Fixed very minor bug where action variables were updated multiple times |
|---|
| | 65 | for no good reason. Reported by Mark Taylor. |
|---|
| | 66 | - Added "log" action. Use it to append to a log file, log via syslog, or |
|---|
| | 67 | print on the eddie tty. |
|---|
| | 68 | - Log the ImportError message if a requested data collector module fails |
|---|
| | 69 | to import. Helps users debug why the module won't load. |
|---|
| | 70 | - Replaced references to whrandom module with random instead. whrandom is |
|---|
| | 71 | being deprecated. |
|---|
| | 72 | - Changed option parsing to use optparse/optik (ticket #5) and added |
|---|
| | 73 | support for specifying an alternate config file from the command line |
|---|
| | 74 | (ticket #6). |
|---|