Dennis Posted May 20, 2013 Share Posted May 20, 2013 Hi Forum, I'm trying to include TCAdmins server status on our WHMCS site, but I fail to do so. It won't shot server load and uptime, but everything else works fine. I think it has something to do with the 'status' folder is not-readable or something. Whenever i try to reach http://tcadmin-installation.folder/status/ it says You are not authorized to view this page. Anyone know how to make this work? Link to comment Share on other sites More sharing options...
LFA Posted May 20, 2013 Share Posted May 20, 2013 The status folder from WHMCS uses php. It doesn't work with tcadmin because it uses asp.net. Link to comment Share on other sites More sharing options...
Dennis Posted May 22, 2013 Author Share Posted May 22, 2013 So there's no way to get it to work? Link to comment Share on other sites More sharing options...
CloudCUBE Posted May 22, 2013 Share Posted May 22, 2013 If you install IIS or Apache and have PHP running you'll be able to query the server for load, cpu and services. Link to comment Share on other sites More sharing options...
Dennis Posted May 22, 2013 Author Share Posted May 22, 2013 Unfortunately, I'm not a great coder. I've only been messing with HTML, CSS and very little PHP the last year (PHP has only been for the last weeks). Link to comment Share on other sites More sharing options...
CloudCUBE Posted May 22, 2013 Share Posted May 22, 2013 If you're running Windows Server 2008 Install IIS 7.5 and run it on a different webport so it doesn't conflict with the monitor (IIS will default to port 80) http://technet.microsoft.com/en-us/library/cc771209.aspx Then install PHP http://php.iis.net/ For Linux use this guide http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/ Then upload the WHMCS status module and it should be right to go. Link to comment Share on other sites More sharing options...
Dennis Posted May 22, 2013 Author Share Posted May 22, 2013 We're already using Apache and PHP, but I'm not sure how we'd be able to query the server. Link to comment Share on other sites More sharing options...
CloudCUBE Posted May 22, 2013 Share Posted May 22, 2013 You won't be able to query TCAdmin directly. you can use WHMCS standalone server status http://docs.whmcs.com/Servers#Status_Monitoring Link to comment Share on other sites More sharing options...
Dennis Posted May 22, 2013 Author Share Posted May 22, 2013 I've already got it to show this: http://i.imgur.com/mdDQmPT.png The problem is that the last things aren't showing up. Link to comment Share on other sites More sharing options...
CloudCUBE Posted May 22, 2013 Share Posted May 22, 2013 http://forum.whmcs.com/showthread.php?12556-How-to-display-php-info-server-load-and-uptime&p=202097#post202097 This might be relevant to you. Link to comment Share on other sites More sharing options...
Dennis Posted May 22, 2013 Author Share Posted May 22, 2013 Those functions are allowed Link to comment Share on other sites More sharing options...
icekohl Posted May 23, 2013 Share Posted May 23, 2013 Quick read of the docs shows this is only available for linux so if you're trying this on a windows Master that might be the roadblock you're hitting. Link to comment Share on other sites More sharing options...
Dennis Posted May 23, 2013 Author Share Posted May 23, 2013 Oh Lord. I gotta go slap myself in the face now ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.