Skip to content
Permalink
Browse files

Updated Smokeping.md (librenms#10064)

Fixed a couple more things after librenms#9731 and librenms#10045 make some changes.
  • Loading branch information...
mattie47 authored and funzoneq committed Apr 3, 2019
1 parent d71d6ac commit 3adf05a18d7c740893823b4abe2c04fa2252886a
Showing with 5 additions and 5 deletions.
  1. +5 −5 doc/Extensions/Smokeping.md
@@ -90,7 +90,7 @@ Edit `/opt/librenms/config.php` and add the following:
**Note:** Make sure you point dir to the correct Smokeping data directory:

```php
$config['smokeping']['dir'] = '/var/lib/smokeping'; // Ubuntu 16.04 Location
$config['smokeping']['dir'] = '/var/lib/smokeping'; // Ubuntu 16.04 and newer Location
#$config['smokeping']['dir'] = '/opt/smokeping/data';
$config['smokeping']['pings'] = 20; // should be equal to "pings" in your smokeping config
$config['smokeping']['integration'] = true;
@@ -122,7 +122,7 @@ You should be able to load the Smokeping web interface at `http://yourhost/cgi-b

### Nginx Configuration

This section assumes you have configured LibreNMS with Nginx as specified in [Configure Nginx](https://docs.librenms.org/#Installation/Installation-Ubuntu-1604-Nginx/#web-server).
This section assumes you have configured LibreNMS with Nginx as specified in [Configure Nginx](https://docs.librenms.org/Installation/Installation-Ubuntu-1804-Nginx/).

Add the following configuration to your `/etc/nginx/conf.d/librenms` config file.

@@ -175,7 +175,7 @@ Use the below commands to start and verify smokeping is running.

Verify: `sudo service smokeping status`

**Ubuntu 16.04:** `sudo systemctl start smokeping`
**Ubuntu 16.04 and newer:** `sudo systemctl start smokeping`

Verify: `sudo systemctl status smokeping`

@@ -197,7 +197,7 @@ In terms of configuration, simply add the location of where smokeping data such


```php
$config['smokeping']['dir'] = '/var/lib/smokeping'; // Ubuntu 16.04 Location
$config['smokeping']['dir'] = '/var/lib/smokeping'; // Ubuntu 16.04 and newer Location
#$config['smokeping']['dir'] = '/opt/smokeping/data';
$config['smokeping']['pings'] = 20; // should be equal to "pings" in your smokeping config
$config['smokeping']['integration'] = true;
@@ -220,7 +220,7 @@ nano /etc/smokeping/config.d/pathnames

### Smokeping and RRDCached ###

If you are using the standard smokeping data dir (/opt/smokeping/data) then you may need to alter the rrdcached config slightly.
If you are using the standard smokeping data dir (`/etc/smokeping/data`) then you may need to alter the rrdcached config slightly.

In the standard configuration the -B argument may have been used to restrict rrdcached to read only from a single base dir.

0 comments on commit 3adf05a

Please sign in to comment.
You can’t perform that action at this time.