Difference between revisions of "User talk:Jbilyk"

From Alpine Linux
Jump to: navigation, search
(updated smokeping notes based on testing with apk)
(finished smokeping how-to)
Line 3: Line 3:
 
|}
 
|}
 
Setting_up_Smokeping_to_Monitor__Network_Latency<br />
 
Setting_up_Smokeping_to_Monitor__Network_Latency<br />
Notes for smokeping and smoketrace:
+
Notes for smokeping and smoketrace (need edge/testing repo to install smokeping):
  
 
after install, enable mod_cgi in lighttpd<br />
 
after install, enable mod_cgi in lighttpd<br />
Assign cgi to run with /usr/bin/perl in mod_cgi<br />
+
Assign cgi to run with /usr/bin/perl in mod_cgi (by default it's only in cgi-bin virtual host)<br />
Softlink /var/lib/smokeping.simg -> /var/www/localhost/htdocs/img<br />
+
Softlink /usr/share/webapps/smokeping -> /var/www/localhost/htdocs/smokeping<br />
 +
Softlink /var/lib/smokeping/.simg -> /var/www/localhost/htdocs/img<br />
  
 
/usr/share/perl5/vendor_perl/Qooxdoo/Services/Tr.pm<br />
 
/usr/share/perl5/vendor_perl/Qooxdoo/Services/Tr.pm<br />
Line 17: Line 18:
 
/etc/sudoers<br />
 
/etc/sudoers<br />
 
add lighttpd ALL=(ALL) NOPASSWD: /usr/bin/traceroute<br />
 
add lighttpd ALL=(ALL) NOPASSWD: /usr/bin/traceroute<br />
 +
 +
If using lighttpd, change permissions on /var/lib/smokeping/.simg to 777. <br />
 +
Add hosts to be monitored in /etc/smokeping/config <br />
 +
 
<br />
 
<br />

Revision as of 11:13, 30 July 2010

Underconstruction clock icon gray.svg
This page is a work in progress ...

This page is still being developed.

Setting_up_Smokeping_to_Monitor__Network_Latency
Notes for smokeping and smoketrace (need edge/testing repo to install smokeping):

after install, enable mod_cgi in lighttpd
Assign cgi to run with /usr/bin/perl in mod_cgi (by default it's only in cgi-bin virtual host)
Softlink /usr/share/webapps/smokeping -> /var/www/localhost/htdocs/smokeping
Softlink /var/lib/smokeping/.simg -> /var/www/localhost/htdocs/img

/usr/share/perl5/vendor_perl/Qooxdoo/Services/Tr.pm
line 34: add "sudo", to beginning, add path to traceroute /usr/bin/
This is because in Alpine, regular user can't run a traceroute, but I don't think people would want this by default (some don't like sudo on system at all)

/etc/sudoers
add lighttpd ALL=(ALL) NOPASSWD: /usr/bin/traceroute

If using lighttpd, change permissions on /var/lib/smokeping/.simg to 777.
Add hosts to be monitored in /etc/smokeping/config