This will check if your servers are online, probably not what you are after
I have been looking on the net for a short while for some software that will monitor a few key servers, and their services, then give a simple readout that I can display on a helpdesk web page. For example, I could monitor Exchange and POP and a display on helpdesk would simply read:
Email = OK
Nagios, Zenoss etc. all seem overkill, and I seem to be unable to visit the web pages without some sort of logon.
Any help appreciated,
We have a simple php page which supports PING & Socket connections to key ports ... IE, we monitor DNS simply by checking its 'responding' on the correct port.
Not fool proof but works enough for us.
kmount, that will be handy for the intranet. If you wouldn't mind passing it on.
Yes if could post that up kim would find it useful.
You can have guest access to Nagios, and its overview page and map pages are pretty good for visualising.
In the Bishop Barrington script (Which is just what I'm looking for!)
I don't understand the line:
"ping $host -c 1 -w 1"
I assume it runs that like a normal ping in command prompt, but the PING command in command prompt doesn't accept a -c command?
How would you go about getting it working please?
Correct, it is Linux ping command which is slightly different to Windows; which would be:
but the output and/or return value will be different so the PHP ping() function might need changing.Code:ping $host -n 1 -w 1
Yeah someone wrote something for me a while back which could be damn useful for me to integrate into an intranet (seeing as i don't know how to script/program) was written in php using sockets to check different services...i can even define none-standard ports for services etc.
I've been fiddling on a local Apache install, and tried errorlevel returning (1/0), tried shell_exec'ing and parsing output..nothing.
Typically, it's my missus day off..she loves PHP fiddling.
There are currently 1 users browsing this thread. (0 members and 1 guests)