Graph with NaN value

Hi folks,

I faced the graph issue today since 01:55 UTC on March 8th, and all of graph now showing since that time.

I can see the RRD command in each graph, but I got the error “ERROR: realpath(switch1/port-id5036.rrd): No such file or directory” when I try to execute it manually.

I also dump the rrd file and it showing NaN value since that time, but all of service still working, and there is no error message showing in librenms.log.

Does any folks faced similar issue before?

#Validate.php

Component Version
LibreNMS 22.4.0-24-gc3cf52730
DB Schema 2022_04_08_085504_isis_adjacencies_table_add_index (236)
PHP 7.4.19
Python 3.6.8
MySQL 10.3.28-MariaDB
RRDTool 1.7.0
SNMP 5.8

====================================

[OK] Composer Version: 2.1.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.

#RRD command in one of graph
rrdtool graph /tmp/6KbpfXP89WglpaI5 --alt-autoscale-max --rigid -E --start 1652005264 --end 1652026864 --width 1382 --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:outoctets=switch1/port-id5036.rrd:OUTOCTETS:AVERAGE DEF:inoctets=switch1/port-id5036.rrd:INOCTETS:AVERAGE DEF:outoctets_max=switch1/port-id5036.rrd:OUTOCTETS:MAX DEF:inoctets_max=switch1/port-id5036.rrd:INOCTETS:MAX CDEF:octets=inoctets,outoctets,+ CDEF:doutoctets=outoctets,1,* CDEF:outbits=outoctets,8,* CDEF:outbits_max=outoctets_max,8,* CDEF:doutoctets_max=outoctets_max,1,* CDEF:doutbits=doutoctets,8,* CDEF:doutbits_max=doutoctets_max,8,* CDEF:inbits=inoctets,8,* CDEF:inbits_max=inoctets_max,8,* VDEF:totin=inoctets,TOTAL VDEF:totout=outoctets,TOTAL VDEF:tot=octets,TOTAL CDEF:dpercentile_outn=doutbits,1,* VDEF:dpercentile_outnp=dpercentile_outn,95,PERCENT CDEF:dpercentile_outnpn=doutbits,doutbits,-,dpercentile_outnp,1,*,+ VDEF:dpercentile_out=dpercentile_outnpn,FIRST VDEF:percentile_in=inbits,95,PERCENT VDEF:percentile_out=outbits,95,PERCENT COMMENT:‘bps Now Ave Max 95th %\n’ AREA:inbits_max#D7FFC788: AREA:inbits#90B04088: LINE:inbits#608720:‘In ’ GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits_max:MAX:%6.2lf%s GPRINT:percentile_in:%6.2lf%s\n AREA:doutbits_max#E0E0FF88: AREA:doutbits#8080C088: LINE:doutbits#606090:‘Out’ GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits_max:MAX:%6.2lf%s GPRINT:percentile_out:%6.2lf%s\n GPRINT:tot:‘Total %6.2lf%sB’ GPRINT:totin:’(In %6.2lf%sB’ GPRINT:totout:‘Out %6.2lf%sB)\l’ LINE1:percentile_in#aa0000 LINE1:dpercentile_out#aa0000 HRULE:1000000000#000000:‘Port Speed 1 Gbps\n’ --daemon unix:/var/run/rrdcached.sock

I try to change the command “switch1/port-id5036.rrd” with “/opt/librenms/rrd/switch1/port-id5036.rrd”.
Then I can see there have 1 record in the graph.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.