Talk:Setting up Smokeping: Difference between revisions

From Alpine Linux
Line 19: Line 19:


--[[User:Jch|Jch]] ([[User talk:Jch|talk]]) 09:19, 16 April 2015 (UTC)
--[[User:Jch|Jch]] ([[User talk:Jch|talk]]) 09:19, 16 April 2015 (UTC)
== example of working config ==
<pre>
*** General ***
owner    = My Company
contact  = none@my.company
mailhost = relay.my.company
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /var/cache/smokeping/img 
imgurl  = cache
datadir  = /var/data/smokeping
piddir  = /var/run/smokeping
cgiurl  = https://my.company/smokeping/smokeping.cgi
smokemail = /etc/smokeping/smokemail
tmail = /etc/smokeping/tmail 
</pre>
no slaves

Revision as of 12:21, 16 April 2015

Wrong default config

smokeping

The default directories in /etc/smokeping/config do not exists.
When creating needed directories (in /var and not in /usr), do not forget to properly set ownership and access rights!
The pid should go under /var/run/smokeping.

The /usr/etc/*.dist files should be replaced by /etc/smokeping/* (without the .dist extention).

lighttpd

smoke:~# wget http://localhost/smokeping/smokeping.cgi
Connecting to localhost (127.0.0.1:80)
wget: server returned error: HTTP/1.1 403 Forbidden

uncomment the use of mod_cgi in /etc/lighttpd/lighttpd.conf

--Jch (talk) 09:19, 16 April 2015 (UTC)

example of working config

*** General ***

owner    = My Company
contact  = none@my.company 
mailhost = relay.my.company
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /var/cache/smokeping/img  
imgurl   = cache
datadir  = /var/data/smokeping 
piddir  = /var/run/smokeping 
cgiurl   = https://my.company/smokeping/smokeping.cgi 
smokemail = /etc/smokeping/smokemail 
tmail = /etc/smokeping/tmail  

no slaves