The rpcutil Agent
We include an agent with a few utilities and helpers there to assist in retrieving information about the running mcollectived.
We aim to add the ability to initiate reloads and so forth in this agent too in future, this will require further internal refactoring though.
Retrieves an inventory of the facts, classes and agents and plugins on the system, takes no arguments and returns a hash like this:
Retrieves statistics about the running daemon, how many messages it’s handled, passed, dropped etc.
See the DDL for the agent for a full reference
Replies will always be less than received since the current message has not been sent yet when the stats are gathered.
Retrieves a single fact from the server
Returns a list of all agents with their meta data like version, author, license etc
Retrieves the active value for any configuration item on a server
A simple lightweight ping action that just returns each nodes local time
Retrieves the main and sub collectives configured
For a server configured with:
The following structure gets returned: