This plugin uses free to fetch the used disk from the different partitions and swap performance metrics from a linux server.
It should detect almost all kind of partitions and where they are mounted.
To install it:
- Verify that your system has free and df installed: $ free -V; df –version
- Download the file “diskusage_plugin”.
- Copy it to your agent plugins directory. F.ex. on my system in “/etc/pandora/plugins”.
- Make it executable: $ chmod +x /etc/pandora/plugins/diskusage_plugin
To use it, just call it from the config file of your agent with the following line:
For more plugin options or change warning and critical levels see its code.
Depends on: free, df