[smokeping-users] LibreNMS smokeping config file issue
thusitha555 at gmail.com
Mon Nov 23 05:43:00 CET 2015
I did this in this way.
1.first creates "devices" folder in /etc/smokeping/.
2.I make a php script to create file for each device inside the devices
ex:- I create "test_server_1" file in devices folder. In that file
probe = FPing
menu = test_server_1
title = This is a test server x.x.x.x
host = 198.x.x.x
# put ip address to host line.
3.Then go to the /etc/smokeping/config file and I add this line bottom of
4.In /etc/smokeping/config.d/Probes have to say what is the FPing is.
*** Probes ***
binary = /usr/bin/fping
step = 60
5.Thats all. then restart the smokeping service by
service smokeping restart
(All those things are done by php script that I made.So hope this will help
On Thu, Nov 19, 2015 at 2:57 PM, Oliver Marshall <oliver at olivermarshall.net>
> Hi chaps
> We use LibreNMS and they have a php script which creates a smokeping
> config file containing the full list of devices on the network and a menu
> structure for smokeping.
> Only in Ubuntu it causes smokeping to complain. The top of the config file
> is shown below (ignore the ------ delimiters)
> menu = Top
> title = Network Latency Grapher
> + network
> menu = network
> title = network
> This causes Smokeping to complain about the "menu=" line at line 2.
> I can get it working if I disable the Targets file and then put the ***
> Targets *** header and the probe line in at the top but these changes are
> overwritten by LibreNMS when they update their device lists.
> I was wondering whether there is an easy way in Smokeping to accommodate
> the config that they are creating? If not then I can look at editing their
> script that creates this config file but I'd prefer not to in case it too
> is overwritten at a later date.
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smokeping-users