Jump to content

WHMCS Device Managment / Bandwidth Billing


Recommended Posts

  • Replies 90
  • Created
  • Last Reply

Top Posters In This Topic

Bandwidth overage is fairly easy. We didn't go down the cacti route (although we do use that as a backup for disputes).

 

rtg is great as it stores everything to database and then you run your own calculations from it and then run another script to work out what bandwidth the customer should have from a custom field, compared to what they have used and then use the WHMCS API to bill the different if required.

 

Graphs are not as pretty as cacti - but it works... here is a screeny from our beta install.

f1e677812a900389cb50bdb25d7fcdc6.jpg

Link to comment
Share on other sites

I dont understand why WHMCS doesen't already do bandwidth overage charging. I don't care about the other stuff just bandwidth overage charging. If anyone has a solution internally that I could roll out I am more than happy to pay for it.

Link to comment
Share on other sites

If anyone has a solution internally that I could roll out I am more than happy to pay for it.

 

major hints ... ;)

 

after the daily cron job runs, have your own script fill in the BW fields in tblhosting from your chosen system - cacti, rtg. mrtg, basic-snmp, random-number-generator etc

then compare transfer/bw usage to plan size - email out "you need to upgrade or pay extra" emails

 

add monthly cron job to use api and create invoices for those overquota (i.e still ended up > plan size)

 

when some of our 57 other projects finish we might finish writing it as a generic module ...

Link to comment
Share on other sites

Thanks for the hints Rob :)

 

I have now managed to get Cacti integrated (live) but using a completely inefficient script which requires updating with every new customer (Similar script to my original on the Cacti thread). I gave up working hoping something would have come out of this module! Shame really. I guess its back to the drawing board for a custom solution.

 

Next step would be to sort out APC Reboots, then rDNS entries, I guess we are all on our own here. :-(

Link to comment
Share on other sites

We have cacti graphs integrated into the client area using a custom field from the users account. We just load the graph id as a custom field for each product/service and then the graph that belongs to that product/service will display under their product details in the client area. Works very nicley with only a little code added to one page in the template area only. I solicited Matt's help on this to figure out how to get this to work for us.

 

VERY interested in the APC integration though.

Link to comment
Share on other sites

I have now managed to get Cacti integrated (live) but using a completely inefficient script which requires updating with every new customer

 

cacti the switches, out put the graphs, put the switchport as a custom field on the server products - as for "management purposes" you need to know that anyway ;)

no changes on a client by client basis then ...

 

then rDNS entries

custom field on your ip address product the client can fill in, cron job to read them, append the SOA, set the serial to today, write as text and rndc reload ...

Link to comment
Share on other sites

Dear All,

 

At the moment I am modifing our cacti script to display graphs and bill clients for bandwidth overusing for commercial usage. The modification will be that it is going to be very easy to implement it in whmcs.

 

I am even willing to throw in our apc.class.

 

Friday I will present the system and the price for it.

 

Regards,

Justin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated