summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Avoid redundent ".to_s" methods.Steve Kemp
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic.
2015-03-09Use long-namesSteve Kemp
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop
2015-02-05Fixed punctuation on commentSteve Kemp
2015-02-05Updated documentation to match reality.Steve Kemp
(This mostly means the removal of --logfile.)
2015-02-05More simplification - don't pass state around.Steve Kemp
Rather than passing our settings-object around, as well as specific settings that are read from it, just pass the object. The worker can read the settings directly if/when it needs to.
2015-02-05Simplify the flushing of queues.Steve Kemp
Now that we've moved to using redis by default the handling of queue-flushing needs to change. We can simply get rid of the busy-wait and run a redis "del" operation. With that in mind we've moved the flushing logic to our queue abstraction layer, and simplified our queue-helper script.
2015-02-04Hint to ruby that rubygems should be loaded.Steve Kemp
This allows our redis-library to be used.
2015-01-21Don't hard-wire redis as the queue-type.Steve Kemp
Read it from the configuration-file and don't expose the server flag which is now bogus.
2015-01-19Updated to use our queue-abstraction.Steve Kemp
This means we can queue/dequeue to either Redis or Beanstalkd.
2015-01-13Updated to include search-path.Steve Kemp
This is a temporary fix for local-testing.
2015-01-13Avoid hard-wiring 1.8 rubySteve Kemp
2013-05-21 Ensure that jobs last for 300 seconds, rather than the default of 120.Steve Kemp
This allows job.reserve() to keep a job for a "long" time.
2013-04-23 Allow --queue to specify the beanstalkd tube.Steve Kemp
2012-12-12 The dequeuing process passes the settings to the wroker.Steve Kemp
2012-12-06 Updated documentation in a minor fashion.Steve Kemp
2012-12-06 Change hostname1 -> hostname in the doc since we only allow one host to be ↵Steve Kemp
pinged.
2012-12-06 Added script to report on parse failures.Steve Kemp
2012-12-06 The --monitor flag now allows a threshold to be specified, and noSteve Kemp
longer invokes mauvealert directly. Instead the exit code of the script will be used to report success/failure.
2012-11-30 Removed --repeat.Steve Kemp
2012-11-26 Updated to make the requirement of redis soft, as it will probably beSteve Kemp
not used.
2012-11-26 Explicitly watch a "tube" - a named queue - to avoid stomping onSteve Kemp
anything else running under beanstalkd.
2012-11-25 Removed references to sentinel.Steve Kemp
2012-11-24 Removed the trailing ".rb" from our 'require ...' lines.Steve Kemp
2012-11-24 Use the alert-factory, rather than hard-coding our mauve-alert.Steve Kemp
2012-11-24 Remove the --timeout parameter.Steve Kemp
Abort if parsing fails.
2012-11-23 We no longer refer to JSON.Steve Kemp
2012-11-23 Fixed the name of the settings class.Steve Kemp
2012-11-23 Read the server address:port from the settings object. Along with the ↵Steve Kemp
filename if appropriate for logging.
2012-11-23 Updated the API for the parser to split parse_file into parse_lines.Steve Kemp
2012-11-22 Updated to rename the class.Steve Kemp
2012-11-22 Removed the reference to the alerter - that comes from the worker.Steve Kemp
2012-11-22 Parse the configuration file into arrays of jobs, via our test-factorySteve Kemp
2012-11-22 Moved the worker into the custodian namespace.Steve Kemp
2012-11-22 Moved TestFactory to the custodian-namespace.Steve Kemp
2012-11-22 Renamed.Steve Kemp
2012-11-22 Renamed class Custodian -> Custodian/WorkerSteve Kemp
2012-11-22 Updated to stub out more code.Steve Kemp
2012-11-22 Load the DNS primitiveSteve Kemp
2012-11-22 Added stub code.Steve Kemp
2012-11-22 Updated to require libraries more sanelySteve Kemp
2012-11-22 Renamed to use TestFactory.Steve Kemp
2012-11-21 LDAP-protocol is now testable.Steve Kemp
2012-11-21 Added .to_json method to serialize our tests.Steve Kemp
2012-11-21 Added jabber protocolSteve Kemp
2012-11-21 Fixed to include the SMTP driver.Steve Kemp
2012-11-21 Added utility method.Steve Kemp
2012-11-21 Decouple the enqueuing from the parsing.Steve Kemp
2012-11-20 Updated case statements for ruby1.9Steve Kemp
2012-11-20 Updated name of the script in the detail of the hearbeat alert.Steve Kemp
Remove <tt>..</tt> since mauve will strip them out.