This release is a pre-release and may not be stable for production use.
volttron-agent-watcher
The VOLTTRON Agent Watcher is used to monitor agents running on a VOLTTRON instance. Specifically it monitors whether a set of VIP identities (peers) are connected to the instance. If any of the peers in the set are not present then an alert will be sent.
Requires
- python >= 3.10
- volttron >= 10.0
Installation
Before installing, VOLTTRON should be installed and running. Its virtual environment should be active. Information on how to install of the VOLTTRON platform can be found here.
Create a directory called config and use the change directory command to enter it.
mkdir config
cd config
After entering the config directory, create a file called agentwatcher.json, use the below JSON to populate your new file.
The agent has two configuration values:
- watchlist: a list of VIP identities to watch on the platform instance
- check-period: interval in seconds between the agent watcher checking the platform peerlist and publishing alerts
The agent watcher requires other agents to watch. In the below example, we are watching the platform.driver and platform.actuator.
In your config add the following JSON.
{
"watchlist": [
"platform.driver",
"platform.actuator"
],
"check-period": 10
}
Install and start the agent watcher in VOLTTRON.
vctl install volttron-agent-watcher --agent-config agentwatcher.json --vip-identity platform.agent_watcher --start --force
View the status of the installed agent
vctl status
Development
Please see the following for contributing guidelines contributing.
Please see the following helpful guide about developing modular VOLTTRON agents
Disclaimer Notice
This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
Metadata
Release files for volttron-agent-watcher 2.0.0rc0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| volttron_agent_watcher-2.0.0rc0.tar.gz | 7.3 kB | Without provenance | Details for volttron_agent_watcher-2.0.0rc0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| volttron_agent_watcher-2.0.0rc0-py3-none-any.whl | Python 3 | none | any | Details for volttron_agent_watcher-2.0.0rc0-py3-none-any.whl |
Total release size: 15.5 kB
Release files / volttron_agent_watcher-2.0.0rc0.tar.gz
| Download URL | volttron_agent_watcher-2.0.0rc0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e30213a1ed6964efa7dff8a92b5a741db6793ab2c7adf975eac210b816fceed
|
|
BLAKE2b-256 checksum How to use checksums |
65f0b44b496907dc512e7eb33d3b7e11301f1fd530c0e8ae06197e89202ec5cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
|
Release files / volttron_agent_watcher-2.0.0rc0-py3-none-any.whl
| Download URL | volttron_agent_watcher-2.0.0rc0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
384b080b16b0a30434f90240d582b1a018d9ca4312fa41da3f27a8fde46d06bf
|
|
BLAKE2b-256 checksum How to use checksums |
454d313a02de496b70040cb158c86f11f05ad715b6a57abcb67147df953dd70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
|
Security for volttron-agent-watcher 2.0.0rc0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.