2015-02-23 14:42:27 +00:00
|
|
|
2015-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlerter.h: Add options for time-limiting rule activity
|
|
|
|
* EcAlerter.m: Implement those options
|
|
|
|
* EcProcess.m: Put debug logs in 'DebugLogs' by default.
|
|
|
|
* EcCommand.m: Put our logs in 'Logs' by default.
|
|
|
|
* EcControl.m: Put our logs in 'Logs' by default.
|
|
|
|
Change default logging locations.
|
|
|
|
|
2015-02-02 09:24:54 +00:00
|
|
|
2015-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2015-01-30 10:00:16 +00:00
|
|
|
|
|
|
|
* EcAlarmDestination.m: When coalescing alarms, do not coalesce a
|
|
|
|
clear with anything other than an earlier clear for the same event.
|
|
|
|
We do not want to risk forwarding a clear without a preceding
|
|
|
|
event raising the alarm.
|
|
|
|
|
2015-01-26 12:50:42 +00:00
|
|
|
2015-01-26 Richard Frith-Macdonald <rfm@gnu.org>
|
2015-01-30 10:00:16 +00:00
|
|
|
|
2015-01-26 12:50:42 +00:00
|
|
|
* GNUmakefile.preamble: fixup gcc flag filtering
|
|
|
|
* EcClientI.h:
|
|
|
|
* EcClientI.m:
|
|
|
|
* EcCommand.m:
|
|
|
|
* EcControl.m:
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Implement forced kill by -terminate method if a client fails to
|
|
|
|
close down gracefully within 30 seconds.
|
|
|
|
|
2015-01-19 07:59:17 +00:00
|
|
|
2015-01-19 Wolfgang Lux <wolfgang.lux@gmail.com>
|
|
|
|
|
|
|
|
* GNUmakefile.preamble: Fix wrong option letter in sed command.
|
|
|
|
|
2015-01-15 12:20:27 +00:00
|
|
|
2015-01-15 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlarmDestination.m: When shutting down, only wait for the
|
|
|
|
background thread first time ... otherwise we could get into a
|
|
|
|
recursive loop calling the -shutdown method while
|
|
|
|
waiting for shutdown to complete.
|
2015-01-19 07:59:17 +00:00
|
|
|
|
2015-01-07 15:46:42 +00:00
|
|
|
2015-01-07 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* configure.ac:
|
|
|
|
* GNUMakefile.preamble:
|
|
|
|
Filter out fstack-protect-strong from snmp cflags because clang
|
|
|
|
doesn't support it.
|
|
|
|
|
2014-11-28 13:01:12 +00:00
|
|
|
2014-11-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlarmSinkSNMP.m: Fix incorrect OID setup for alarm table in
|
|
|
|
SNMP agent.
|
|
|
|
|
2014-11-27 08:35:31 +00:00
|
|
|
2014-11-27 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcUserDefaults.m: The -doubleForKey: method was commented out!
|
|
|
|
Restore it.
|
|
|
|
|
2014-11-26 08:59:50 +00:00
|
|
|
2014-11-26 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Make -cmdLastIP, -cmdLastOP (and their setters)
|
|
|
|
thread-safe.
|
|
|
|
|
2014-11-02 14:30:24 +00:00
|
|
|
2014-11-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Add method to register a user default / configuration key to have
|
|
|
|
updates for a default automatically trigger a method to handle it,
|
|
|
|
and to provide 'help' documentation for command line arguments.
|
2014-11-02 16:06:16 +00:00
|
|
|
* EcCommand.m:
|
|
|
|
Implement 'restart' command for when we want to quit a server and
|
|
|
|
have it start up again.
|
2014-11-02 14:30:24 +00:00
|
|
|
|
2014-11-01 09:18:02 +00:00
|
|
|
2014-11-01 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Check for descriptor leaks at 1 minute intervals,
|
|
|
|
and shut down if EcDescriptorsMaximum is exceeded or if the
|
|
|
|
process runs out of descriptors.
|
|
|
|
|
2014-10-23 09:46:04 +00:00
|
|
|
2014-10-23 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcCommand.m:
|
|
|
|
* Control.plist:
|
|
|
|
Add LaunchOrder config to control the order in which services are
|
|
|
|
handled by the Command server. By default we now do them in
|
|
|
|
lexicographic order rather than leaving the order undefined.
|
|
|
|
|
2014-09-16 11:10:35 +00:00
|
|
|
2014-09-16 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcCommand.m: Simplify handling of loss of process and configuration
|
|
|
|
error alarms. Clear such alarms when we receive a ping from the
|
|
|
|
process.
|
2014-09-16 18:37:00 +00:00
|
|
|
EcLogger.[hm]: Add documentation in the header, plus a new method to
|
|
|
|
make subclassing a bit easier. Fix bug in naming of config keys.
|
2014-09-16 11:10:35 +00:00
|
|
|
|
2014-09-04 21:24:19 +00:00
|
|
|
2014-09-04 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Fix missing clear after unable to register with name
|
|
|
|
server.
|
|
|
|
|
2014-09-02 09:19:29 +00:00
|
|
|
2014-09-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m: If a Command server on a host registers and we already
|
|
|
|
have a Command server registered, have the new registration replace
|
|
|
|
the old one rather than rejecting it. The aim is to handle a race
|
|
|
|
condition where a Command server is re-registering after some network
|
|
|
|
problem and the old registration is still in place.
|
|
|
|
* EcAlerter.m: Add more debug logging to show what elarms/alerts are
|
|
|
|
handled by what rules.
|
|
|
|
|
2014-07-30 10:44:08 +00:00
|
|
|
2014-07-30 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Added +ecSetup method to create/initialise the singleton instance.
|
|
|
|
|
2014-07-01 22:06:42 +00:00
|
|
|
2014-07-01 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* Command.m:
|
|
|
|
* Control.m:
|
|
|
|
Implement auto-restart ...
|
|
|
|
Run a 'Watcher' process as a daemon with the actual server as a
|
|
|
|
subtask. If the subtask dies with a status other than zero,
|
|
|
|
restart it after a 30 second delay.
|
|
|
|
|
2014-06-20 16:32:12 +00:00
|
|
|
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Make sure the NSHost cache is flushed at least
|
|
|
|
once per minute (by -ecNewMinute:) so that any stale information
|
|
|
|
is replaced reasonably promptly.
|
|
|
|
|
2014-05-16 16:24:28 +00:00
|
|
|
2014-05-16 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
2014-05-16 16:39:05 +00:00
|
|
|
* EcAlarmDestination.m: Perform all connection operations in
|
2014-05-16 16:24:28 +00:00
|
|
|
main thread (forwarding etc) and ensure that we run the
|
|
|
|
current run loop while waiting for startup and shutdown.
|
2014-05-16 16:39:05 +00:00
|
|
|
* EcLogger.m: Use floating point flush interval for modern
|
|
|
|
systems which run faster and might want to flush more than
|
|
|
|
once per second.
|
2014-05-16 22:13:43 +00:00
|
|
|
* EcProcess.m: Don't start handling timeouts until the
|
|
|
|
process is actually running (so we don't get any during
|
|
|
|
initialisation of the class).
|
2014-05-16 16:39:05 +00:00
|
|
|
* GNUmakefile: bump subminor version number for release
|
|
|
|
Version 1.1.3 release
|
2014-05-16 16:24:28 +00:00
|
|
|
|
2014-05-14 21:52:58 +00:00
|
|
|
2014-05-14 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlerter.m: fix bug processing alert emails
|
|
|
|
* GNUmakefile: bump subminor version number for release
|
|
|
|
Version 1.1.2 release
|
|
|
|
|
2014-05-08 10:49:24 +00:00
|
|
|
2014-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: add memory commands 'class' and 'list' to record
|
|
|
|
allocated instances of a specific class and list them... another
|
|
|
|
memory debugging option.
|
2014-05-08 14:53:02 +00:00
|
|
|
* GNUmakefile: bump subminor version number for release
|
|
|
|
Version 1.1.1 release
|
2014-05-08 10:49:24 +00:00
|
|
|
|
2014-05-08 08:09:46 +00:00
|
|
|
2014-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: bump subminor version number for release
|
|
|
|
Version 1.1.0: scripting and alarm improvements.
|
|
|
|
|
2014-04-28 06:40:03 +00:00
|
|
|
2014-04-27 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Add +ecInitialDefaults to allow subclasses to easily set and
|
|
|
|
modify default configuration values.
|
|
|
|
|
2014-03-28 08:07:59 +00:00
|
|
|
2014-03-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcTest.h:
|
|
|
|
* EcTest.m:
|
|
|
|
* EcProcess.m:
|
|
|
|
* GNUmakefile:
|
|
|
|
Add a few simple functions to connect to a process, set/get the
|
|
|
|
config of a running process, and issue commands (and get back
|
|
|
|
the response) so that regression test software can relatively
|
|
|
|
easily exercie an entire system.
|
|
|
|
|
2014-03-26 09:38:34 +00:00
|
|
|
2014-03-26 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
2014-03-28 08:07:59 +00:00
|
|
|
* EcControl.m: Add option to allow any user to log in.
|
2014-03-26 09:38:34 +00:00
|
|
|
|
2014-03-25 18:44:47 +00:00
|
|
|
2014-03-25 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcConsole.m: Don't read from stdin whn in non-interactive mode
|
|
|
|
* EcProcess.m: Allow up to ten seconds to Contact Command server
|
|
|
|
on startup.
|
|
|
|
|
2014-03-18 15:23:33 +00:00
|
|
|
2014-03-18 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* ECCL.h:
|
|
|
|
* EcCommand.m:
|
|
|
|
* EcConsole.m:
|
|
|
|
* GNUmakefile:
|
|
|
|
Extend Console tool to support non-interactive use for scripting etc.
|
|
|
|
|
2014-02-28 10:25:14 +00:00
|
|
|
2014-02-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m:
|
|
|
|
* ECCL.h:
|
|
|
|
Extend system so the Terminate tool can contact the Control server
|
|
|
|
and shut down the entire cluster rather than just a singlee host.
|
|
|
|
|
2014-02-22 17:01:46 +00:00
|
|
|
2014-02-22 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlarmDestination.h:
|
|
|
|
* EcAlarmDestination.m:
|
|
|
|
When clearing an alarm, forward the clear to the next destination
|
|
|
|
unless we have already done so.
|
|
|
|
When unmanaging a managed object, remove internal records of cleared
|
|
|
|
and active alarms for that managed object.
|
|
|
|
|
2014-01-16 09:36:34 +00:00
|
|
|
2014-01-16 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m:
|
|
|
|
* EcAlarmDestination.h:
|
|
|
|
* EcAlarmDestination.m:
|
|
|
|
Remove experimental force clear method ... obey the KISS rule and
|
|
|
|
stick to using domanange and unmanage methods for clearing on
|
|
|
|
startup/shutdown. People wanting alars which persist after process
|
|
|
|
shutdown should create a secondary managed object for them.
|
|
|
|
|
2013-11-04 07:28:57 +00:00
|
|
|
2013-11-04 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m:
|
|
|
|
* EcCommand.m:
|
|
|
|
* EcClientI.h:
|
|
|
|
* EcClientI.m:
|
|
|
|
* EcAlarmDestination.h:
|
|
|
|
Change error/alert logs to use alarm mechanism instead.
|
|
|
|
|
2013-08-20 14:35:26 +00:00
|
|
|
2013-08-20 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcConsole.m: Ignore exception printing message on shutdown.
|
|
|
|
* EcProcess.m: Improve SIGHUP handling. Add new option for
|
|
|
|
memory usage logging and increase default alert increments
|
|
|
|
again. Make name of allowed usage config consistent with other
|
|
|
|
names. Add option to quit process when usage gets too high.
|
|
|
|
|
2013-08-05 10:45:52 +00:00
|
|
|
2013-08-05 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
2013-08-05 15:38:36 +00:00
|
|
|
* AlarmTool.m: Tool to raise/clear alarms
|
2013-08-05 10:45:52 +00:00
|
|
|
* LogTool.m: Tool to generate logs
|
|
|
|
* Terminate.m: Cleanups
|
2013-08-05 15:38:36 +00:00
|
|
|
* GNUmakefile: Build new tools
|
|
|
|
* ECCL.h: Document new tools
|
2013-08-05 10:45:52 +00:00
|
|
|
|
2013-07-12 19:05:52 +00:00
|
|
|
2013-07-12 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h: New method to get EC user directory
|
|
|
|
* EcProcess.m: implement new method
|
|
|
|
* EcCommand.m: Add simple auto compress/delete of logs
|
|
|
|
CompressLogsAfter and DeleteLogsAfter control this.
|
|
|
|
|
2013-07-06 05:03:26 +00:00
|
|
|
2013-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcConsole.m: Strip spaces from command line to avoid a space
|
|
|
|
at end of line causing the line terminator to be treated as an
|
|
|
|
argument.
|
|
|
|
|
2013-04-07 10:56:03 +00:00
|
|
|
2013-04-07 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m:
|
|
|
|
* EcAlerter.h:
|
|
|
|
* EcAlerter.m:
|
|
|
|
* Alaertconfig.plist:
|
|
|
|
More restrucuturing plus addition of rules options for improving
|
|
|
|
formatting of output messages and handling alerts due to alarms.
|
|
|
|
Add some example alert configuration.
|
|
|
|
|
2013-04-05 23:20:16 +00:00
|
|
|
2013-04-06 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m:
|
|
|
|
* EcAlerter.h:
|
|
|
|
* EcAlerter.m:
|
|
|
|
Restructure for better integration of alrm system with alert system.
|
|
|
|
Send critical alarms as alerts and major alarms as errors.
|
|
|
|
Repeat delivery of outstanding critical/major alarms periodically
|
|
|
|
(still need to make this period configurable).
|
|
|
|
Send clear message when a major/critical alarm is cleared, trying
|
|
|
|
to get mail clients to replace original email with the clear so the recipient can tell a problem has gone away.
|
|
|
|
|
2013-04-05 09:56:18 +00:00
|
|
|
2013-04-05 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m: Fix to get 'control on <host> ...' to work while
|
|
|
|
connected to a specific server.
|
|
|
|
|
2013-03-22 08:04:35 +00:00
|
|
|
2013-03-22: Niels Grewe <niels.grewe@halbordnung.de>
|
2013-04-05 09:56:18 +00:00
|
|
|
|
2013-03-22 08:04:35 +00:00
|
|
|
* EcControl.m: Fix bug that could remove a alerter when it was still
|
|
|
|
needed.
|
|
|
|
|
2013-03-18 17:11:41 +00:00
|
|
|
2013-03-18: Niels Grewe <niels.grewe@halbordnung.de>
|
2013-04-05 09:56:18 +00:00
|
|
|
|
2013-03-18 17:11:41 +00:00
|
|
|
* EcAlerter.h
|
|
|
|
* EcAlerter.m:
|
|
|
|
Rearrange and expose a few methods so that subclasses can
|
|
|
|
easily inject alert rules.
|
|
|
|
* EcControl.m:
|
|
|
|
Allow dynamically loading the alerter class based on the
|
|
|
|
AlerterBundle key in AlertConfig.plist
|
|
|
|
|
2013-03-18 07:42:41 +00:00
|
|
|
2013-03-18 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Add test logging methods ([-ecTestLog:...])
|
|
|
|
|
2013-03-15 11:02:32 +00:00
|
|
|
2013-03-15 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h: Document EcCoreSize
|
|
|
|
* EcProcess.m: Change so that if no value is set, we don't use any
|
|
|
|
limit, and so that if a negative value is set we use 1GB
|
|
|
|
|
2013-03-13 10:40:53 +00:00
|
|
|
2013-03-13 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* GNUmakefile: 1.0.2 release
|
|
|
|
|
2013-03-13 10:08:13 +00:00
|
|
|
2013-03-13 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Improve documentation of sequence of calls of configuration update
|
|
|
|
methods and add convenience functionality to support alarming for
|
|
|
|
fatal configuration errors.
|
2013-03-13 10:40:53 +00:00
|
|
|
Add EcMemoryIncrement config to adjust alerting about potential leaks.
|
2013-03-13 10:08:13 +00:00
|
|
|
|
2013-01-26 15:14:51 +00:00
|
|
|
2013-01-26 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlarmDestination.m:
|
|
|
|
* EcAlarmSinkSNMP.m: Fix problem flushing alarms on process shutdown.
|
|
|
|
|
2012-12-17 13:14:40 +00:00
|
|
|
2012-12-17 Niels Grewe <niels.grewe@halbordnung.de>
|
|
|
|
|
|
|
|
* EcAlarmDestination.m: Fix designated initializer behaviour.
|
|
|
|
* EcControl.m: Make SNMP master agent port and host configurable.
|
|
|
|
|
2012-12-07 14:51:17 +00:00
|
|
|
2012-12-07 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcAlarmSinkSNMP.m:
|
|
|
|
* GNUSTEP-MIB.txt:
|
|
|
|
Fix minor naming consistency errors.
|
|
|
|
|
2012-12-06 08:08:39 +00:00
|
|
|
2012-12-06 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Improve handling of signals ... quit process after the
|
|
|
|
next event when an unexpected signal is caught.
|
|
|
|
|
|
|
|
2012-10-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcCommand.m:
|
2012-11-26 15:12:55 +00:00
|
|
|
2012-11-26 Wolfgang Lux <wolfgang.lux@gmail.com>
|
|
|
|
|
|
|
|
* EcLogger.m (+loggerForType): Fix wrong receiver when registering
|
|
|
|
for notifications.
|
|
|
|
|
2012-11-16 11:14:06 +00:00
|
|
|
2012-11-16 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcControl.m: Record a change in the alerter configuration as an
|
|
|
|
update of the overall configuration.
|
2012-11-16 16:35:41 +00:00
|
|
|
* EcProcess.m: Implement 'alarms' and 'clear' commands for local
|
|
|
|
process alarm state.
|
2012-11-16 11:14:06 +00:00
|
|
|
|
2012-10-28 14:37:42 +00:00
|
|
|
2012-10-28 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcCommand.m:
|
|
|
|
* EcConsole.m:
|
|
|
|
* EcControl.m:
|
|
|
|
* EcLogger.m:
|
|
|
|
* EcProcess.h:
|
|
|
|
* EcProcess.m:
|
|
|
|
Use NSInteger argument for -cmdQuit:
|
|
|
|
|
2012-10-19 05:10:26 +00:00
|
|
|
2012-10-18 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
* EcProcess.m: Remove unused variable.
|
|
|
|
* EcControl.m: Yse -hostWithWellKnownName: in preference to
|
|
|
|
-hostWithName: when trying to find/match hosts.
|
|
|
|
|
2012-10-05 14:51:40 +00:00
|
|
|
2012-10-05 Richard Frith-Macdonald <rfm@gnu.org>
|
|
|
|
|
|
|
|
Initial (1.0) release.
|
|
|
|
|