New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Free status script
I have been looking for this for several days but there is nothing I like. I don't want to run a web server on all my boxes, or other tools. I'm only looking for a small script that pings a server and tells me if it is up or down. I also don't want to use 3rd party tools (like uptime robot).
The only thing I found so far is this:
https://github.com/AndrewGertig/uptime
But with all his ruby trash it is impossible to run this on a LEB.
Anybody that can help me with this?
Comments
I'm not good at PHP but I made exactly that. It's just a white site with hostname, location and Off or online. Do you want the script?
This! All those nice server status scripts introduced and widely used at LET/LEB require on every remote server webserver installed. It's not problem to pick master server with webserver but I really don't want to install webserver on every remote vps server.
tl;dr
I am looking for the same thing.
Yeah, I think that too. I don't wan't to run a web server on my boxes, especially not on the small ones and that's why I made this script but it only pings the server and it looks really ugly.
I made one, look at my previous posts
If you want to share it
I can't find it, or I'm not looking far enough.
Its a very old script:
https://code.google.com/p/vps-email-status/
Here is mine:
http://pastebin.com/PRtTmnR7
I have been playing with rsyslogd (over ssh) and the logger command.
a) Run commands to query certain services and log the output with 'logger'
b) Send all logs to a central logging box.
c) Query the logs for status and stats on the various services running. (Actually logging with rrdtool)
PHP can ping with the Net_Ping pear extension (http://www.codediesel.com/php/ping-a-server-using-php/) and of course you can use fsockopen to connect to ip:port to check as well...
http://ping.f63.net:3602/
simple (visible) html table and looks better than mine:D
All I added was:
<
table width="800" border="1" cellpadding="10">
How easy it can be, currently looking for a background that fits. :P
old script but does the trick.
http://www.labradordata.ca/home/38
I'm trying some other things too;p
Yeah I see, I opend your site and atm I'm eating and wathing you changing the background colour
Damn that is interresting :P I'm not a designer so all I'm doing is trial and error. Also I'm drinking something while doing it. (And it takes a while to get it, (leg is in plaster))
I was searching for a nice page to check it, not a script
I like the "design" how it's atm. Maybe you like this favicon: http://www.favicon.cc/?action=icon&file_id=524965
atm I'm searching a nice one
Edit the script to write a nice output and save it in a web accessible directory or use a webpage that reads information from that file.
It's only a suggestion. I replied to this part of your original post.
I never really looked to get a favicon, might get one
I'm happy with trexos his web page so I'm not planning to find out the wheel again
With nodeping webhooks you can make a kick ass status page. That is what ive done for mine
It is just to see if there is anything down, and I don't want to rely on 3rd party tools.
Can I have the favicon of this?
I posted it here.
Do you see a favicon? Mind blown I added it, but didn't saw it so I removed it.
You are talking about the traffic light right? If so, Trexos posted it indeed.
Yeah you can't see it because somehow your browser doesn't recheck if there is a favicon set. Try it with another browser or clear cache and cookies
Just added it again, don't see it after several hours. Friends do however so I'm fine.
For the record, this is on a LES box.
Mhm I use firefox and I don't see it with it and I installed Chrome just for testing this and it works on Chrome. Mysterious!
I see it on Firefox(my main browser).
Ok so I think it's a cache/cookie what ever problem. Tomorrow I'll test it with a firefox portable and I'll make a thread for the script
I wrote up a bash script that pings an IP and if the ping fails it emails me. I'd have to dig it out though. I replaced it with a more specifically tailored one to test the RTMP streams the server was publishing.
@trexos - interested in this, please post when done. Thanks