LINUX traffic monitor

There are many points and kinds of statistics one may want to monitor on a server (Or a desktop PC), the following are a sample of the things people commonly need

1- By Domain name, when you host people’s websites, you need to monitor there traffic, both Email and web, it may be worth mentioning that the only way this can be done is through log filres, he reason behind that is that HTTP and Email requests are pointed at IP addresses and Hostname (Domain name) is only available as data within the stream, something only parsed by the web server and the MTA (Mail transfer agent). Some software to analyze Log files exists and can give you the answers to Domain based network traffic.

2- By PORT, Ethernet card, and IP, For such uses i recomment IPTRAF for live monitoring, and ….

3- By Virtual machine in environments such as XEN, in that case you can use the ifconfig command to see every virtual adapter’s traffic usage.

I will come to this post with more soon.

NOTE, for windows network captures (packet sniffers), i have always used a windows utility called wireshark (previously etherial), Microsoft released a very similar utility called Microsoft Network Monitor 3.4 that is compatible with Windows XP and above, When i simply want a graph of usage, i have once used a utility that does the trick called bwmonitor that is for $25, but it does provide you with a 30 day testing period (There is certainly a different application that can do the job and most probably a free one too, i just used this because it was the first i found)

Godaddy Wild West Domains API Script

So, for some reason i had to write a functional script that talks (PHP Via SOAP) to Wild West Domains API for domain registration and other services (For fully branded website), And i was wondering if there is enough interest so that i improve it and sell it.

Things that come to my mind

1- This could hurt Domain Reseller Direct, where people get a Turnkey Domain reseller account in addition to PHP tools to customize there websites (we add free scripts for them, and they can install them on there website or we install the scripts for them) i am not sure it is legal to tell you the details ! (I never thought i would ever have to say that), but that’s the system, what can (or should i say Can’t) i say.

2- If i was to charge for the script, i think it would end up being sold for $500 a copy, that won’t make me much money, but when i put effort into scripts, i like to maximize there use, either to make money or to give away, but again it is a loosing deal and i know it in advance.

3- To allow people to use the script, i have to create extra modules for paypal, 2CO, and other credit card gateways, this is an easy but tedious task, Do i have the time for this ?

4- I know many people want such a script, but Wild West Domains / GoDaddy API is not a complete API, it does require some pages to run off there servers, and basically that puts us back to the solution we are offering at Domain Reseller Direct, but at a much higher cost.

I really want to hear your thoughts on this, and if you are going to comment, please tell me if you would be interested in such a script so i can have that data to process with my “Handy capped business logic”

Awaiting your response