Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153114 - net-analyzer/darkstat v3: feature request (modified runscript to allow running on multiple interfaces)
Summary: net-analyzer/darkstat v3: feature request (modified runscript to allow runnin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 22:42 UTC by Yevgen Gorshkov
Modified: 2006-10-31 05:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modified runscript (darkstat,696 bytes, text/plain)
2006-10-27 22:45 UTC, Yevgen Gorshkov
Details
darkstat-init2 (darkstat-init2,865 bytes, text/plain)
2006-10-30 08:10 UTC, Cédric Krier
Details
darkstat-confd2 (darkstat-confd2,265 bytes, text/plain)
2006-10-30 08:10 UTC, Cédric Krier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yevgen Gorshkov 2006-10-27 22:42:52 UTC
Hello,
   
I would like ask about feature for net-analyzer/darkstat version 3 (and maybe 2, as well). The idea is to allow to start multiple darkstat daemons, listening on different interfaces, by simply creating symlinks to /etc/init.d/darkstat and adding corresponding /etc/conf.d/darkstat.* config.
Comment 1 Yevgen Gorshkov 2006-10-27 22:45:17 UTC
Created attachment 100639 [details]
modified runscript
Comment 2 Yevgen Gorshkov 2006-10-27 22:58:40 UTC
The comment about how to start another daemon (in the way similar to creating a  new network interface). Can be included in /etc/conf.d/darkstat config.

############################################################################## 
# In order to run multiple darkstat daemons on different interfaces 
# 1. Create a link to /etc/init.d/darkstat with suffix '.<interface>' added: 
#   # ln -s /etc/init.d/darkstat /etc/init.d/darkstat.<interface> 
# 
# 2. Copy /etc/conf.d/darkstat file with the same suffix added, and 
# 
# 3. use -p option to change the port embedded webserver should bind to 
#    (default: 667). 
# 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-28 01:11:41 UTC
Please, don't restrict bugs without any reason. Just leave the checkboxes alone.
Comment 4 Cédric Krier gentoo-dev 2006-10-30 08:10:03 UTC
Created attachment 100797 [details]
darkstat-init2
Comment 5 Cédric Krier gentoo-dev 2006-10-30 08:10:21 UTC
Created attachment 100798 [details]
darkstat-confd2
Comment 6 Cédric Krier gentoo-dev 2006-10-30 08:11:48 UTC
Here is an improved init script for version 3.
As this version doesn't need a spool dir.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2006-10-31 05:34:37 UTC
Thank you all for your work. Modified runscript is in the tree.

test ? enjoy:report
:)