Hi Eric,

I just ran attempted to locate a smokeping config file and found it hasn't been 
created automatically by the apt-get process, which is a little strange - no? 
This was a fresh Raspbian installation so I am a little unsure as to how it has 
happened. 


I think tried to generate some example files via commandline using smokeping 
--gen-examples, got a separate File not found this time




pi@raspberrypi ~ $ smokeping --gen-examples
Generating example files...
open template configuration file ../etc/config.dist for reading: No such file 
or directory at /usr/share/perl5/Smokeping/Examples.pm line 74.

 


Am I missing something really fundamental here?


Regards,
Jake

---- On Wed, 28 Jan 2015 22:17:19 +0000 Eric Brander 
<[email protected]> wrote ---- 



On Wed, Jan 28, 2015 at 2:37 PM, Jake Hall <[email protected]> wrote:

Hi all,

I am trying to setup Smokeping on my Raspberry Pi to monitor some services 
local to our household, and I have come across a problem (with a fresh install 
of Raspbian and Apache). I installed using apt within the console


First and foremost, running smokeping --debug within console throws the 
following error:




pi@raspberrypi ~ $ sudo smokeping --debug
ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such 
file or directory

 






<snip>


Stopping right there. Anything beyond this message is irelevent until this is 
resolved. Edit smokeping in the bin folder and make sure 
Smokeping::main("path/to/conf/file"); has the right path and file name! I have 
smokeping installed in /opt there for /opt/smokeping/bin/smokeping has an entry 
in it that looks like Smokeping::main("/opt/smokeping/etc/smokeping.conf"); 
because I have my conf file saved in /opt/smokeping/etc/. Another option is to 
tell smokeping where your config file is on the command line. RTFM for that 
syntax.


You may want to check this in smokeping.fcgi as well. It's critical they all 
point to the correct config file. 


HTH,
Eric



 _______________________________________________ 
smokeping-users mailing list 
[email protected] 
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users 





_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to