Camron Posted August 9, 2008 Share Posted August 9, 2008 I have already coded a script for mrtg & a reboot switch, something like this: clientmrtg.php?cid=X&server=Y X is their id, it will grab from the database the correct mrtg images where Y is their server number (clients that have multiple servers), can i implement this into whmcs, but X is filled in as per their ID number and Y is their server number (can be custom field in whmcs)? rebootserver.php?housecode=X&unitcode=Y rebootserver.php is offsite, not accessible on WAN (so clients can't reboot other people's servers). Can I set variable X and Y inside whmcs, where they can go click a button to reboot their server (this is on a per server basis, where customers have multiple servers it will show multiple servers) Is this possible? Where they list their services, click on a particular service/server and see a link/button for REBOOT & View MRTG. Any ideas or inputs are much appreciated! 0 Quote Link to comment Share on other sites More sharing options...
Camron Posted August 9, 2008 Author Share Posted August 9, 2008 Anybody have any ideas? 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 10, 2008 Share Posted August 10, 2008 You should be able to. WIth regards to listing a repeating server list, you can do a FOR DO type loop. Whatever link is generated doesn't need to be on the network, you can link to outside without any issue. We currently have some of our dedicated servers linked up to a reboot email. That email gets sent to the DC and it's automatically rebooted. For sending the info offsite, how about setting a cookie with your code in WHMCS, and then importing that cookie when the user is transferred to the other site? Not sure about the variables passing on the URL, but a cookie should do the trick if not. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 11, 2008 Share Posted August 11, 2008 Is this possible? yes, just add the code to the clientareaproductdetails tpl 0 Quote Link to comment Share on other sites More sharing options...
ganesh.rao Posted October 5, 2008 Share Posted October 5, 2008 Yep, I have successfully developed this. Kinda easy. I had pain only in displaying the RTG graphs. 0 Quote Link to comment Share on other sites More sharing options...
choppershosting Posted October 29, 2008 Share Posted October 29, 2008 Can you tell us how? 0 Quote Link to comment Share on other sites More sharing options...
datapowerhost Posted November 14, 2008 Share Posted November 14, 2008 Can you share the scripts? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 14, 2008 Share Posted November 14, 2008 @Camron: PM me your script and I will see if I can incorporate it into WHMCS for you. 0 Quote Link to comment Share on other sites More sharing options...
hightekhosting Posted November 14, 2008 Share Posted November 14, 2008 Care to share as a mod? 0 Quote Link to comment Share on other sites More sharing options...
LemonBarley Posted November 26, 2008 Share Posted November 26, 2008 yea can you share this? 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.