Hi,
I would like to monitor CPU for pod, ( memory, disk, iops, etc too )
I use node exporter plugin. We can read all cpu, but there no info about the name of the pod. Perhaps there are an other solution ?
/usr/lib/centreon/plugins//centreon_prometheus_node_exporter_api.pl --plugin=cloud::prometheus::exporters::nodeexporter::plugin --mode=cpu --hostname=X.X.X.X --url-path='/api/v1' --port='' --proto='http' --instance='instance=~".*"' --cpu='cpu=~".*"' --warning-node-usage='80' --critical-node-usage='90' --warning-cpu-usage='' --critical-cpu-usage=''
Checking node 'x.x.x.x:9100'
CPU Average Usage: 1.13 %
CPU '0' Usage: 1.09 %
CPU '1' Usage: 1.48 %
CPU '10' Usage: 1.13 %
CPU '11' Usage: 1.18 %
CPU '12' Usage: 1.30 %
CPU '13' Usage: 0.86 %
CPU '14' Usage: 0.85 %
CPU '15' Usage: 1.06 %
CPU '16' Usage: 1.78 %
CPU '17' Usage: 1.17 %
CPU '18' Usage: 0.84 %
CPU '19' Usage: 1.13 %
CPU '2' Usage: 1.27 %
CPU '20' Usage: 1.09 %
CPU '21' Usage: 1.21 %
CPU '22' Usage: 1.27 %
CPU '23' Usage: 1.12 %
CPU '24' Usage: 1.17 %
CPU '25' Usage: 0.99 %
CPU '26' Usage: 1.04 %
CPU '27' Usage: 1.01 %
CPU '28' Usage: 0.93 %
CPU '29' Usage: 1.07 %
CPU '3' Usage: 1.22 %
CPU '30' Usage: 0.97 %
CPU '31' Usage: 1.14 %
CPU '4' Usage: 0.99 %
CPU '5' Usage: 1.18 %
CPU '6' Usage: 1.07 %
CPU '7' Usage: 1.12 %
CPU '8' Usage: 1.18 %
CPU '9' Usage: 1.14 %
Checking node 'x.x.x.x:9100'
CPU Average Usage: 1.93 %
CPU '0' Usage: 1.83 %
CPU '1' Usage: 2.68 %
CPU '10' Usage: 2.14 %
CPU '11' Usage: 3.54 %
CPU '12' Usage: 2.33 %
CPU '13' Usage: 1.95 %
CPU '14' Usage: 1.53 %
CPU '15' Usage: 1.81 %
CPU '16' Usage: 1.55 %
CPU '17' Usage: 1.29 %
CPU '18' Usage: 1.73 %
CPU '19' Usage: 1.60 %
CPU '2' Usage: 2.66 %
CPU '20' Usage: 1.92 %
CPU '21' Usage: 2.53 %
CPU '22' Usage: 1.81 %
CPU '23' Usage: 1.62 %
CPU '24' Usage: 2.32 %
CPU '25' Usage: 1.68 %
CPU '26' Usage: 2.00 %
CPU '27' Usage: 1.54 %
CPU '28' Usage: 1.57 %
CPU '29' Usage: 1.78 %
CPU '3' Usage: 2.60 %
CPU '30' Usage: 1.69 %
CPU '31' Usage: 2.11 %
CPU '4' Usage: 1.72 %
CPU '5' Usage: 1.67 %
CPU '6' Usage: 1.28 %
CPU '7' Usage: 1.89 %
CPU '8' Usage: 1.75 %
CPU '9' Usage: 1.69 %
Thanks,