graph called at ./sysstats-lib.pl line 343
Brought to you by:
gerbier
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.881 Date: Fri, 23 Mar 2018 04:02:46 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &RRDs::graph called at ./sysstats-lib.pl line 343.
Anonymous
Linux 3.10.7-gentoo на x86_64
You can test if the rrdtool software is well installed with the attached perl code
Can't locate RRDs.pm in @INC (you may need to install the RRDs module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./test_rrd.pl line 5.
BEGIN failed--compilation aborted at ./test_rrd.pl line 5.
Last post error, I started not on that server.
filename = test.rrd
ds[toto].max = 200
header_size = 584
step = 1
ds[toto].last_ds = 119
ds[toto].type = DERIVE
ds[toto].minimal_heartbeat = 100
rra[0].rows = 120
ds[toto].value = 0.910604448781424
rra[0].pdp_per_row = 1
rra[0].cf = AVERAGE
last_update = 1522026617
rra[0].xff = 0.5
rrd_version = 0003
rra[0].cur_row = 19
Undefined subroutine &RRDs::graph called at ./test_rrd.pl line 55.
it is very strange ! I have never seen that : The perl module RRDS.pm is installed but does not contain all the code (not the graph function).
the rrdtool project give the instructions to install on gentoo on https://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html