Smokeping LXC Directory '/var/run/smokeping' does not exist

andycap

Member
Oct 21, 2020
1
0
21
60
Hello,

can somebody help me with this configuration issue? I have installed librenms with it's plugin smokeping. Librennms work without a flaw. Smokeping worke exactly one time, but after restarting the container the following message came up in the browser:

Software error:​

ERROR: /etc/smokeping/config.d/pathnames, line 5: Directory '/var/run/smokeping' does not exist

Each time I create this directory manually, it disappears after the next reboot.
I think it has to do with the mapping of directories within containers, which are not persistent. The mount views following items
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755,uid=100000,gid=100000)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,uid=100000,gid=100000)

How can I make the /var/run/smokeping persistent ?

Thank you in advance,
Andreas
 
Last edited:
hi,

ERROR: /etc/smokeping/config.d/pathnames, line 5: Directory '/var/run/smokeping' does not exist
what is in this configuration file? maybe you can set the path there