thenk83 Posted May 27, 2007 Share Posted May 27, 2007 I'm looking to have a page for my intranet site that will allow me to see the status of certain services on the machine that intranet page resides on. Basically Id like to check that status of the follwing services: MySQL, SQL, IIS, etc. Is there a way this can be done in PHP? If there is can somone lead me to the right functions and usage? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/53145-check-status-of-service-or-application/ Share on other sites More sharing options...
MadTechie Posted May 27, 2007 Share Posted May 27, 2007 if you can use exec/system then yes, if not then your need to create a test script for each, ie connect to the SQL database and select the table to test the SQL, ping the IIS (or even read in a page that only displays the current time, if it displays nothing it failed) etc Quote Link to comment https://forums.phpfreaks.com/topic/53145-check-status-of-service-or-application/#findComment-262543 Share on other sites More sharing options...
rhyspaterson Posted May 27, 2007 Share Posted May 27, 2007 PHP integrates with SNMP which believe may be able to do what you require. *shrug* That's all i have, heh. Good luck /Rhys Quote Link to comment https://forums.phpfreaks.com/topic/53145-check-status-of-service-or-application/#findComment-262544 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.