Smokeping missing from latency tab

I have Smokeping up and running after following the instructions here - Smokeping - LibreNMS Docs

The smokeping interface is visible and working correctly in /smokeping , with all the graphs etc - but I don’t see smokeping in the Latency tab on the device. It did appear briefly during the install, but it disappeared (possibly when I did the config changes related to “Share RRDCached with LibreNMS”).

Is this intentional? Should smokeping no longer appear in the Latency tab? or is there a config change I need to make?

validate.php mostly comes back clean, except for the following:

[WARN]  Your local git contains modified files, this could prevent automatic updates.
	[FIX]: 
	You can fix this with ./scripts/github-remove
	Modified Files:
	 bootstrap/cache/.gitignore
	 logs/.gitignore
	 rrd/.gitignore
	 storage/app/.gitignore
	 storage/app/public/.gitignore
	 storage/debugbar/.gitignore
	 storage/framework/cache/.gitignore
	 storage/framework/cache/data/.gitignore
	 storage/framework/sessions/.gitignore
	 storage/framework/testing/.gitignore
	 storage/framework/views/.gitignore
	 storage/logs/.gitignore
[FAIL]  We have found some files that are owned by a different user than 'librenms', this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
	[FIX]: 
	sudo chown -R librenms:librenms /opt/librenms
	sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
	sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
	Files:
	 /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-0.storable
	 /opt/librenms/rrd/smokeping/__sortercache/data.lnmsFPing-1.storable

Relevant section of config.php:

$config['smokeping']['dir'] = '/opt/librenms/rrd';
$config['smokeping']['pings'] = 20;
$config['smokeping']['probes'] = 2;
$config['smokeping']['integration'] = true;
$config['smokeping']['url'] = 'smokeping/';  // If you have a specific URL or pa
th for smokeping

I found the problem, documenting here if anyone else hits this - I had the wrong directory specified in the config - looks like librenms doesn’t show smokeping in the Latency tab if it can’t find the files; I changed:

$config['smokeping']['dir'] = '/opt/librenms/rrd';

to:

$config['smokeping']['dir'] = '/opt/librenms/rrd/smokeping';

and it now works.

1 Like

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