If the operation returns 'True' it logs a status into the database, otherwise it does nothing.
This sort of plugin could be used to easily send warnings if various values are out of whack (without having to change the endpoint's configuration for each new warning).
The receptor needs a plugin that examines values gotten from the agent, it should take a path from where to get value[s]:
machine: any, plugin: blax, key: ['results', '[2]', 'value']
and an operation:
operator: ['<' , '211']
If the operation returns 'True' it logs a status into the database, otherwise it does nothing.
This sort of plugin could be used to easily send warnings if various values are out of whack (without having to change the endpoint's configuration for each new warning).