We are seeing Error Drawing Graph error our newly installed instance in RHEL. Pretty much everything involving drawing doesn’t work.
Couple things to note we are running out of a different directory than OPT. Moved it to a folder labeled /nre/
-bash-4.2$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.61-80-gcfd6c41 |
DB Schema | 2020_03_24_0844_add_primary_key_to_device_graphs (160) |
PHP | 7.2.27 |
MySQL | 5.5.60-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
rrd/.gitignore
RRDTool Command
rrdtool graph /tmp/YPk1Z3Uv3LSApChA -l 0 -u 100 -E --start 1585075800 --end 1585162200 --width 1152 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal DEF:usage=172.21.220.203/processor-cpm-11.0.rrd:usage:AVERAGE AREA:usage#FFBBBB: COMMENT:‘Usage Now Ave Max\n’ LINE1.25:usage#cc0000:’ ’ GPRINT:usage:LAST:%6.2lf%s GPRINT:usage:AVERAGE:%6.2lf%s GPRINT:usage:MAX:%6.2lf%s\n COMMENT:\n --daemon unix:/run/rrdcached.sock
RRDTool Output
ERROR: mmaping file ‘172.21.220.203/processor-cpm-11.0.rrd’: Invalid argument
Warning: unlink(/tmp/YPk1Z3Uv3LSApChA): No such file or directory in /nre/librenms/includes/html/graphs/graph.inc.php on line 127
any help would be greatly appreciated.