SmokePing issue - "No Sections Are Allowed" Error

Hi Guys,

LibreNMS details on Ubuntu 16.04 LTS:

Component Version
LibreNMS 1.59-6-g4246316
DB Schema 2019_12_01_165514_add_indexes_to_mpls_lsp_paths_table (152)
PHP 7.2.26-1+ubuntu16.04.1+deb.sury.org+1
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

I have followed the Doc on integrating smokePing into my LibreNMS server.
However, i’m getting this error both in the shell and GUI:

 systemctl status smokeping
● smokeping.service - LSB: Start or stop the smokeping latency logging system daemon
Loaded: loaded (/etc/init.d/smokeping; bad; vendor preset: enabled)
Active: active (exited) since Wed 2020-01-08 13:12:12 UTC; 2s ago
 Docs: man:systemd-sysv-generator(8)
Process: 26557 ExecStop=/etc/init.d/smokeping stop (code=exited, status=0/SUCCESS)
Process: 26565 ExecStart=/etc/init.d/smokeping start (code=exited, status=0/SUCCESS)

Jan 08 13:12:12 librenms smokeping[26557]:    ...done.
Jan 08 13:12:12 librenms systemd[1]: Stopped LSB: Start or stop the smokeping latency logging     system daemon.
Jan 08 13:12:12 librenms systemd[1]: Starting LSB: Start or stop the smokeping latency logging  system daemon...
Jan 08 13:12:12 librenms smokeping[26565]:  * Starting latency logger daemon smokeping
Jan 08 13:12:12 librenms smokeping[26565]: **ERROR: /etc/smokeping/librenms.conf, line 1: no sections are allowed**
Jan 08 13:12:12 librenms smokeping[26565]:    ...done.
Jan 08 13:12:12 librenms systemd[1]: Started LSB: Start or stop the smokeping latency logging system    daemon.

Please see screen shot below:

LibreNMS is working fine and graphing as usual.

Below is my /etc/smokeping/librenms.conf:

>cat librenms.conf

+ librenms

menu = Top
title = Network Latency Grapher

+ appliance
menu = appliance
title = appliance
++ node01-ipmi_MYDOMAIN
menu = node01-ipmi.MYDOMAIN
title = node01-ipmi.MYDOMAIN
host = node01-ipmi.MYDOMAIN

++ 10_xx_xx_xx
menu = 10.xx.xx.xx
title = 10.xx.xx.xx
host = 10.xx.xx.xx

+ environment
menu = environment
title = environment
++ 192_xx_xx_173
menu = 192.xx.xx.173
title = 192.xx.xx.173
host = 192.xx.xx.173

..........
<UNTIL END OF FILE>

Any idea about the issue ?

1 Like

Hi Guys,

Anything on this please ?

I’m currently having this issue on my Ubuntu 18.04 box, haven’t had anything since mid 2019 from Smokeping and would like to get it back working

We have got the same issue on Ubuntu 18.04. Anybody who knows how to resolve this issue?