Drdb monitoring doesn't work

Hi all,

I just install LibreNMS on a Debian 9.
All work good except drbd monitoring using the check_mk_agent.

When I see the web page for drbd and show the RDD COMMAND, rrdtool tell me :

RRDTool Command
rrdtool graph /tmp/1E79EXNyVqytmw57  -l 0 -E --start 1502361000 --end 1502447400 --width 1728 --height 494 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal -l 0 -E --start 1502361000 --end 1502447400 --width 1728 --height 494 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal DEF:poutoctets=:ns:AVERAGE DEF:pinoctets=:nr:AVERAGE DEF:poutoctets_max=:ns:MAX DEF:pinoctets_max=:nr:MAX CDEF:inoctets=pinoctets,8,* CDEF:outoctets=poutoctets,8,* CDEF:inoctets_max=pinoctets_max,8,* CDEF:outoctets_max=poutoctets_max,8,* 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:d95thoutn=doutbits,-1,* VDEF:d95thoutn95=d95thoutn,95,PERCENT CDEF:d95thoutn95n=doutbits,doutbits,-,d95thoutn95,-1,*,+ VDEF:d95thout=d95thoutn95n,FIRST VDEF:95thin=inbits,95,PERCENT VDEF:95thout=outbits,95,PERCENT COMMENT:'bps      Now       Ave      Max      95th %\n' AREA:inbits_max#D7FFC7: AREA:inbits#90B040: LINE:inbits#608720:'In ' GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits_max:MAX:%6.2lf%s GPRINT:95thin:%6.2lf%s\n AREA:doutbits_max#E0E0FF: AREA:doutbits#8080C0: LINE:doutbits#606090:'Out' GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits_max:MAX:%6.2lf%s GPRINT:95thout:%6.2lf%s\n GPRINT:tot:'Total %6.2lf%sB' GPRINT:totin:'(In %6.2lf%sB' GPRINT:totout:'Out %6.2lf%sB)\l' LINE1:95thin#aa0000 LINE1:d95thout#aa0000

RRDTool Output
ERROR: opening '': No such file or directory

Do you have any idea to solve the problem.

Thank’s for reading

Beo

Those outputs for rrd commands contain error output rrd files so you have something is not working right your rrdtool install. What version of RRD tool you running and where you get it from?

Also are you able to see any graphs with other devices?

I don’t see “drdb” in the list of applications, is something you have made or from another source?
http://docs.librenms.org/Extensions/Applications/

Hi,

Thank’s for your response.
RDDTOOL version is 1.6.0-1+b2 on debian 9.1

DRBD isn’t in the list of applications but the script is available in the local-agent directory.
On Observium, DRBD is working fine :wink:

I can see other graph on the same and other devices.
Only Drbd doesn’t work.

BR

Beo