Check Services with PHP
Posted: Tue Apr 03, 2007 2:44 pm
I'm trying to roll my own little network/systems monitor. Pinging ports is fine and simple enough, but there are some services which run 'locally' on the servers -- commerical and custom applications. These are installed as services, but I'm trying to figure out if it is possible for PHP to communicate with Windows Server 2003 to check the status of a service -- and then of course report to a remote MySQL db or something. Anyone know how I could do this? I'm not a VBScript/WMI guy, so looking for an option where I don't have to exec() a .bat file or something to return a string. Thanks in advance for the help.