Recreate rrdfile

Hello,
I accidentally deleted some “mempool.rrd” files in rrdcached db dir. how can i find the correct "rrdtool
create… " command ?
Regards

Hi @Marc_Boisis
LibreNMS will regenerate them after next poll. So you don’t have anything to do.
Bye

Hi,
the poller does not recreate the file :

poller.php -h 19 -v

#### Load poller module mempools ####
SNMP['/usr/bin/snmpget' '-v2c' '-c' 'public' '-OUQn' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/hp' 'udp:sw42busr.univ-lr.fr:161' '.1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.7.1' '.1.3.6.1.4.1.11.2.14.11.5.1.1.2.2.1.1.7.1']
hpLocal [system]: Local Memory 1: 21%  10.14 MiiB / 47.85 MiiB
RRDtool Output: OK u:0.01 s:0.00 r:4.35
hpGlobal [system]: Global Memory 1: 21%  10.14 MiiB / 47.85 MiiB
RRDtool Output: ERROR: [email protected]:42217: No such file: /data/db/sw42busr.univ-lr.fr/mempool-hpLocal-system-1.rrd

>> Runtime for poller module 'mempools': 0.0617 seconds with 36640 bytes
>> SNMP: [1/0.04s] MySQL: [0/0.00s] RRD: [3/0.00s]
#### Unload poller module mempools ####

RRDtool Output: ERROR: [email protected]:42217: No such file: /data/db/sw42busr.univ-lr.fr/mempool-hpGlobal-system-1.rrd

It does when rrdcached is configured properly or when rrdcached is not installed at all. Seems that your rrdcached is broken.
You should check the docs and fix it.

It works, I forgot
$config[‘rrdtool_version’] = ‘1.7.2’;
thanks

1 Like

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