7.0 monitoring

port MP from https://code.launchpad.net/~camptocamp/server-env-tools/7.0-monitoring/+merge/215138 as requested as part of #35 
Same as with the python script, can you split this file by model, the larger parts, at least.