George3d6 / Inquisitor

An easily extensible, minimal footprint monitoring tool. (Still in the testing phase)
BSD 2-Clause "Simplified" License
30 stars 4 forks source link

Add receptor plugin for comparing values #31

Closed George3d6 closed 6 years ago

George3d6 commented 6 years ago

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).