/usr/share/pcp/examples/pmie/WEBREPORT is in pcp 3.10.8build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | //
// Some Common Performance Monitoring Scenarios
//
// The WEBREPORT Group
//
// Intended to be used with archive logs to produce summaries, e.g.
// pmie -v -A 1hour -S @10:00am -T @2:00pm -a somearchive WEBREPORT
// produces hourly summaries for the hours 10am to 2pm
//
delta = 1 hour; // change to suit, else use -t from the command line
//
// Request rate throughput (requests per second) summaries
//
// you may replace the metric below with any of the other
// web.allservers.requests metrics
request_rate = web.allservers.requests.total;
//
// Data throughput (Kbytes per minute) summaries
//
// you may replace the metric below with any of the other
// web.allservers.bytes metrics
data_rate = web.allservers.bytes.total * 60 / 1024;
|