User talk:Jbilyk: Difference between revisions

From Alpine Linux
m (took out mrtg: it works same as any distro, so a google search will show config)
(updated smokeping notes based on testing with apk)
Line 2: Line 2:
|<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is still being developed.</p>
|<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is still being developed.</p>
|}
|}
Setting_up_MRTG_and_Smokeping_to_Monitor_Bandwidth_Usage_and_Network_Latency<br />
Setting_up_Smokeping_to_Monitor__Network_Latency<br />
Notes for smokeping(in progress):
Notes for smokeping and smoketrace:


Lighttpd - do not execute CGIs with interpreter<br />
after install, enable mod_cgi in lighttpd<br />
Need perl-rrd<br />
Assign cgi to run with /usr/bin/perl in mod_cgi<br />
Need perl CPAN URI::Escape<br />
Softlink /var/lib/smokeping.simg -> /var/www/localhost/htdocs/img<br />
Paths within smokeping scripts (/etc/smokeping/*, smokeping.cgi, perl libs, scripts in bin)<br />
 
Setup monitoring hosts<br />
/usr/share/perl5/vendor_perl/Qooxdoo/Services/Tr.pm<br />
line 34: add "sudo", to beginning, add path to traceroute /usr/bin/<br />
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<br />
add lighttpd ALL=(ALL) NOPASSWD: /usr/bin/traceroute<br />
<br />
<br />

Revision as of 18:49, 28 July 2010

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:

after install, enable mod_cgi in lighttpd
Assign cgi to run with /usr/bin/perl in mod_cgi
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