I'm non-native English speaker,sorry for my poor English.And I also don't know much about coding.so I need some help.
There are lots of tutorials about showing the temperature、cpu frequency、energy consumption in summary page.
But I want to show in the chart.
then I learn that rrdchart need to fetch data from rrd database.
I read the code in /usr/share/perl5/PVE/RRD.pm and /usr/share/perl5/PVE/API2/Nodes.pm ,and learn that the database is store in /var/lib/rrdcached/db/pve2-node
I think if I want to show data in rrdchart , I need to
1.
establish a new rrddatabase
edit /usr/share/perl5/PVE/API2/Nodes.pm and fetch the data from another database
or
2.find the script that update rrd database, delete origin database and add a new column.
may I get some help from you?thank a lot!
There are lots of tutorials about showing the temperature、cpu frequency、energy consumption in summary page.
But I want to show in the chart.
then I learn that rrdchart need to fetch data from rrd database.
I read the code in /usr/share/perl5/PVE/RRD.pm and /usr/share/perl5/PVE/API2/Nodes.pm ,and learn that the database is store in /var/lib/rrdcached/db/pve2-node
I think if I want to show data in rrdchart , I need to
1.
establish a new rrddatabase
edit /usr/share/perl5/PVE/API2/Nodes.pm and fetch the data from another database
or
2.find the script that update rrd database, delete origin database and add a new column.
may I get some help from you?thank a lot!