Release LoadGen Insight Agent: 1.0.0.12234
Before you upgrade: this release makes Platform mode the only supported runtime mode. An agent that is not connected to a LoadGen Platform now stays idle instead of falling back to LoadGen Cloud, and logs the exact command needed to connect it. Agents still running against LoadGen Cloud must be connected to a Platform with /connect before they resume reporting.
New Features
- Both Services Installed With One Command -
/installnow registers the LoadGen Control and LoadGen Insight services together, sets Insight to depend on Control, configures delayed automatic start, and sets automatic restart on failure for both. Installing is idempotent, so an existing registration is stopped and replaced rather than failing. Use/control-onlyto register just the Control service,/insight-path:to point at a specific Insight executable instead of the standard install locations, and/no-startto register without starting. - Install and Connect in a Single Step -
/installaccepts the/connectoptions, so a machine can be installed and enrolled against your Platform in one command. - New
/statusCommand - Reports the operating mode, Platform URL, masked API key and key type, agent, machine and machine group IDs, onboarding status, last check-in, and the current state of both services. It also warns when service registrations from older installations are still present. - New
/start,/stopand/restartCommands - Control both services in the correct dependency order, starting Control first and stopping Insight first, with/control-onlyto act on the Control service alone. - New
/uninstallCommand - Removes both services along with any registrations left behind by older installations. Add/purgeto also delete the agent's configuration data. - New
/connectand/disconnectCommands - These replace the previous platform setup and removal options, which still work as hidden aliases so existing scripts do not break./connectrestarts the Control service automatically on success, so the old "restart the LoadGen Control Service to apply changes" step is gone; use/no-restartto opt out.
Enhancements
- Platform Mode Is Now Required - The agent no longer falls back to LoadGen Cloud when no Platform configuration is present. An unconfigured agent reports its state, logs an error naming the exact
/connectcommand to run, and stays idle without starting any communication. If a Platform configuration is written while the service is running, the agent picks it up on its own, so/connecttakes effect without a manual restart. Existing LoadGen Cloud installations go idle after upgrading until they are connected to a Platform. - Consistent Option Syntax - All commands now accept
/name:value,-name:valueand--name:valueinterchangeably, instead of each command supporting a different subset. - Installation Checks for Administrator Rights Up Front -
/installverifies elevation before it starts, rather than surfacing an unclear access-denied error from the Windows Service Control Manager partway through. - The
/loginand/encryptcommands have been removed and now print a notice pointing at/connect - The credential options
/secure:and/iv:are still accepted but ignored, with a deprecation warning, so existing deployment scripts keep working. They are no longer needed: both services are installed to run as the local system account - Service descriptions and the command-line help banner no longer refer to the LoadGen Cloud Suite
Bug Fixes
- Fixed
/installAlways Failing - Running/installfailed withValue cannot be null. Parameter name: s, or withInvalid length for a Base-64 char array or stringwhen the deprecated credential options were supplied. Installation no longer involves credentials at all and completes normally. - Fixed Agent Self-Update Leaving Services Running - The updater looked for the services under names that did not match the ones the installer registers, so it silently failed to stop them and then tried to replace binaries that were still running and locked. It now uses the registered service names, and stopping a service is handled separately from stopping a process.
- Fixed the Command-Line Tool Reporting Success After a Failure - Every failure path exited with code
0, so installers and deployment scripts could not detect that anything had gone wrong. The tool now returns0on success,1on a usage error and2when an operation fails. - Fixed
/iv:being documented but never actually parsed, and/s:being documented as a switch that never existed - Unrecognised options are now reported as usage errors instead of being silently ignored