Joel Posted October 29, 2007 Share Posted October 29, 2007 Anyone using their API yet? I got bored yesterday and created an admin module to list all our servers & provide bandwidth graphs. You can download it here: UPDATED - DOWNLOAD LINK MOVED TO BOTTOM OF POST Once you extract this in your modules/admin directory, you need to edit the config.php to set the AUTH_USER & AUTH_KEY. These are (obviously) set up through the Sofylayer management portal. Please remember that the server that's running WHMCS must have access to Softlayer's private network. Otherwise this will not work. And, following that, if you do not have any servers at Softlayer, this won't work either. I almost forgot. Your WHMCS server also needs PHP SOAP installed. It's still pretty rough and my code is uncommented and sloppy, but it does the job. Feedback would be appreciated. Next I'll be doing some client area pages for the customers to get bandwidth graphs for their servers and allow reboots. -------------------------------------------------------------------------------------------- Update - 07 Nov 2007 Sorry for the delay. Right after I wrote the first version, things got busy. If you've already installed the first version, you'll need to completely remove it (including config.php) and extract the new files. Just make sure to re-enter your auth_key & auth_user. Version 1.1 changes - Style sheet updated - Runlevel changed to 3 (Full Administrator) - Minor bug fixes (layout) Version 1.1 new features - Reboot option w/config option to disable it - Highlight projected or estimated bandwidth which exceeds the allowed bandwidth - Highlight "down" servers - "Server Monitoring" block added. Much like Softlayer's "Server Monitoring" block in their customer portal. - The date ranges are now displayed for the customer's billing & customer's last billing bandwidth graphs. IMPORTANT! Make sure to read the README file. It tells you what you need to do for the addon to be displayed properly. Basically, you need to add one line to the top of (WHMCS)/admin/style.css. Also, the reboot function has had very little testing, so be careful and please be sure to let me know if there are any problems with it. -------------------------------------------------------------------------------------------- Download Here: softlayer_servers.1.1.tar.gz 0 Quote Link to comment Share on other sites More sharing options...
brianr Posted October 29, 2007 Share Posted October 29, 2007 Nice... For some reason I had to add an "exit;" statement at the bottom of the file or WHMCS would repeatedly ask me to login... 0 Quote Link to comment Share on other sites More sharing options...
Joel Posted October 29, 2007 Author Share Posted October 29, 2007 Strange. I also notice now that one of my DIV's isn't closed properly. I'll have to fix that too. And I think I've got room for a reboot button in there as well. Edit: I also need to change the runlevel to full admin. 0 Quote Link to comment Share on other sites More sharing options...
impactgc Posted October 31, 2007 Share Posted October 31, 2007 I install this module and it works great! Thank you.. Adam 0 Quote Link to comment Share on other sites More sharing options...
joev Posted November 2, 2007 Share Posted November 2, 2007 Keep it up JOEL...this sounds like a great idea and I think the module is much needed these days seeing that a lot many hosts are moving to SOFTLAYER for reselling dedicated servers. I'll wait to see when you'll come up with the option for customers to view their graphs in their login area and facility to reboot the server. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted November 4, 2007 Share Posted November 4, 2007 Keep it up JOEL...this sounds like a great idea and I think the module is much needed these days seeing that a lot many hosts are moving to SOFTLAYER for reselling dedicated servers. And because so many of their IP blocks are in mail blacklists, just as many peope are dumping them and moving to ther suppliers 0 Quote Link to comment Share on other sites More sharing options...
Joel Posted November 7, 2007 Author Share Posted November 7, 2007 The addon has been updated. Let me know if there are any problems or if there's anything else I need to add. And because so many of their IP blocks are in mail blacklists, just as many peope are dumping them and moving to ther suppliers Who would their suppliers be? Unless I'm missing something, they run their own DC. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted November 7, 2007 Share Posted November 7, 2007 Who would their suppliers be? Unless I'm missing something, they run their own DC. dodgy bit of cut & paste ther s/be Other 0 Quote Link to comment Share on other sites More sharing options...
Joel Posted November 7, 2007 Author Share Posted November 7, 2007 Ahh... got it. 0 Quote Link to comment Share on other sites More sharing options...
JeddaHost Posted December 7, 2007 Share Posted December 7, 2007 Thanks for the great module but the server firewall is blocking the connections is there any solution ? 0 Quote Link to comment Share on other sites More sharing options...
BewareOfButtlice Posted December 15, 2007 Share Posted December 15, 2007 im just getting a blank screen O_o is this because of the 3.5.1 update for WHMCS? 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted December 17, 2007 Share Posted December 17, 2007 Nice work! I especially like the fact it links to a customer's dedicated server page when it finds a matching entry for the hostname. Maybe it could do the same for servers with IPs matching those supplied in the 'Manage servers' WHMCS config page, by linking the hostname to the appropriate config page? 0 Quote Link to comment Share on other sites More sharing options...
kris1351 Posted January 29, 2008 Share Posted January 29, 2008 Nice add on, anyone planning on doing one for TP or Burst reseller setups? SL doesn't run their own DC, they rent colo space from Dataside in Dallas and Savvis in Seattle. Just FYI. 0 Quote Link to comment Share on other sites More sharing options...
MediaIgniter Posted February 2, 2008 Share Posted February 2, 2008 Nice add on, anyone planning on doing one for TP or Burst reseller setups? SL doesn't run their own DC, they rent colo space from Dataside in Dallas and Savvis in Seattle. Just FYI. I have a feeling that isn't going to last forever. 0 Quote Link to comment Share on other sites More sharing options...
amnesia Posted February 6, 2008 Share Posted February 6, 2008 I have a feeling that isn't going to last forever. What do you mean? Softlayer themselves or the fact that they rent? Im surprised they dont have their own DC 0 Quote Link to comment Share on other sites More sharing options...
MediaIgniter Posted February 6, 2008 Share Posted February 6, 2008 What do you mean? Softlayer themselves or the fact that they rent? Im surprised they dont have their own DC The fact that they rent, SoftLayer themselves I have a feeling will be around for a very long time. They're doing things other Datacenters WILL NOT do, and they're doing it without pressure from thier customers even. I believe they're paving the highway other companies will drive down. 0 Quote Link to comment Share on other sites More sharing options...
Joel Posted February 9, 2008 Author Share Posted February 9, 2008 It looks like the 3.6.0 update moved the style sheet around. For anyone using this module, you'll need to make the following change if you want the Softlayer "look". Open up: (WHMCSDIR)/admin/templates/style.css Add the following to the VERY TOP of the file: @import "../../modules/admin/softlayer_servers/ss_styles.css"; 0 Quote Link to comment Share on other sites More sharing options...
Sohan Posted February 11, 2008 Share Posted February 11, 2008 A datacenter is an expensive thing to own. They take a lot of money to run, get connected up etc. Cheaper to rent, until they can buy their own. That's when you'll see price drops, service increase etc. 0 Quote Link to comment Share on other sites More sharing options...
MediaIgniter Posted February 12, 2008 Share Posted February 12, 2008 They could get a datacenter and not drop the price while keeping the current service and I'd be more than happy. A datacenter is an expensive thing to own. They take a lot of money to run, get connected up etc. Cheaper to rent, until they can buy their own. That's when you'll see price drops, service increase etc. 0 Quote Link to comment Share on other sites More sharing options...
kris1351 Posted February 12, 2008 Share Posted February 12, 2008 The same 2 guys that formed SL were 2 of the founding partners of The Planet. TPs worst problem was managing the DCs they built and it costs millions to build and maintain them. Renting large amounts of space and power in DCs is more affordable for a dedicated server model by far. I don't see them jumping off into DC management like they did before. 0 Quote Link to comment Share on other sites More sharing options...
Lethanialist Posted February 18, 2008 Share Posted February 18, 2008 im just getting a blank screen O_o is this because of the 3.5.1 update for WHMCS? Same problem, I followed the instructions, WHMCS 3.6.0... 0 Quote Link to comment Share on other sites More sharing options...
bin_asc Posted March 3, 2008 Share Posted March 3, 2008 Here here too 0 Quote Link to comment Share on other sites More sharing options...
cooldude7273 Posted March 4, 2008 Share Posted March 4, 2008 This, well, seems to be working flawlessly on my 3.6.0? Thanks for this! It's awesome! 0 Quote Link to comment Share on other sites More sharing options...
bin_asc Posted March 10, 2008 Share Posted March 10, 2008 This could be that the SL API changed to v3, and there might need a string changed in the soap access. I`ll check as soon as my server`s back online. 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted March 10, 2008 Share Posted March 10, 2008 Nope, my install still works fine after the v3 update. All the posts above were given before v3 happened, in any case. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.