This plugin will collect data that is returned from a command line command. The tool must return a valid json string that is a simple key value list.
To activate the plugin please enable it in your agent360.ini file.
[cli_command]
enabled = yes
command = /path/to/command
[cli_command]
enabled = yes
command = /usr/bin/php /var/tools/redis/stats.php
The command line command has to output a valid JSON string. It is a key value list where the key is a string and the value is the current value as number.
{"size": 200, "amount": 34}