Files | Admin

Notes:

Release Name: 3.1.0

Notes:



Changes: == 3.1.0 * Fixed a bug where the monitor might not properly signal all subprocesses * Made the master agent forward shutdown requests to running missions * Enhanced the stop command to ensure all processes exit and to skip the waits on KILL signals since they cannot be responded to * Improved the error message for forced stops to give next steps * Fixed a bug that would prevent the agent from daemonizing itself at start-up if it had to clean out a stale PID file first * Added status database and log file maintenance to the snapshot and queue commands * Completed full code documentation and clean-up pass == 3.0.7 * Added a log() method (with a logger() alias) plugins can access to add messages to the log as needed * Added JSON hooks for the Time class so they will be converted back to Ruby objects when loaded * Added a `scout_agent test` command for plugin developers * Switched to the default URL of https://beta.scoutapp.com * Improved the error handling in the communications agent for connection failure scenarios like blocked ports (fixes a CPU pegging bug) * Loosened error checking when killing processes to improve monitor stability * Loosened the check-in timeout a touch as the monitor seemed to kill off processes a little too quickly * Enhanced the monitor to kill off mission processes after killing the mission runner * Made the stop command hunt for stray processes after stopping the monitor process == 3.0.6 * The new `sudo scout_agent update` command can be used to update your configuration file * Made it possible to disable XMPP for a smaller memory footprint * Restricted XMPP commands to a white list for added security * Added an optional "force" argument for `scout_agent snapshot` that clears command run times before running to ensure a full snapshot * Modified XMPP snapshots to use the new force option for snapshots to ensure requests from users via the Web interface are always honored * Added a periodic_snapshots configuration option that defaults to true and will cause the agent to attempt a snapshot before each check-in (though command intervals will usually only allow them to be run every few check-ins) * Fixed a bug that could cause snapshots to temporarily orphan a process and/or to unnecessarily delay API requests * Fixed a bug that could cause the agent to crash if it had trouble killing off a spawned process == 3.0.5 * Added support for XMPP message SHA, instead of just an ID == 3.0.4 * Upgraded to Arrayfields 4.7.3 to silence a warning on Ruby 1.9 * Added HTTP proxy support * Added replies to acknowledge received messages from XMPP when a message ID is included in the command * Turned XMPP on and aimed it at the real Scout server * Greatly improved error handling for the XMPP process * Added logging and status tracking for the XMPP operations == 3.0.3 * Upgraded to JSON 1.1.4 for Ruby 1.9 compatibility == 3.0.2 * Added xmpp4r gem dependency * Locked gem version numbers at load time * Upgraded to Amalgalite 0.9.0 for Ruby 1.9 compatibility * Upgraded to RestClient 0.9.2 to remove a couple of bug workarounds * Changed the API to always shell out to the same version of Ruby it is running under * Made a first pass at Ruby 1.9 support == 3.0.1 * Added more error protection to the server wrapper so thinks like OpenSSL::SSL::SSLError and SocketError don't kill the agent * Switched to the beta URL == 3.0.0 * Initial release