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.
UptimeRobot Public Status Page - What do you think
Due to there being no good UptimeRobot Status Page I have thrown one together. You can read more about it here and how to install https://github.com/nerdbaggy/StatusPage and a live install can be seen here dev.spencerl.com/ursp/
Let me know if you have any questions, ideas, recommendations, hate mail, etc
Comments
Working perfectly for me, thanks for this.
Thats wonderful! What kind of functions will come ?
hey!! this is really good bro.. I really appreciate your work.. gonna install this script on my server,,thanks
Cool stuff! I have not tested it yet, but that looks and sounds exactly like what I was looking for! Thanks a lot!
Does this mean my web host doesn't have curl enabled?
Scratch that my webhost has curl installed. No idea why it's displaying that error -.-
I was to create one in a few weeks but there it is! Looks good, thanks for this!
It throws the following against me:
php5-curl is installed, the API key in config.php is correct. Any hint what to look for? :-)
That is strange, can both of you post what is in your apache error logs for that?
Mine is running on nginx+php5-fpm. Here is an excerpt from the error log:
While "sub.domain.com" is the domain it is running on and "statomat" the directory where the script resides in.
Just checked the error_logs in cPanel they don't show nothing >.<
@Spencer is there any cache on this? I delete and recreate new monitor using same credential.. but your script keep loading past result.
Possible to create some hybrid? Like for UptimeRobot and Statuscake to match the Downtime/Uptime Messages, sometimes is Uptimerobot to slow or create false prositives also sometimes Statuscake. So at least booth of them should say oh wait its down so lets put it down on the status page.
@Amitz and @Gerrard8 re-download the files and it will be good. The config file is now in the includes folder.
Ive noticed that as well, this is due to UptimeRobot api calls. They seem to cache them for 5-10 minutes sometimes, but not all the times. So if you just wait a few minutes it will eventually update itself.
Yeah I was working on something like that but statuscake has a rather low api call limit so I would need to implement a caching method which would make this much more 'fatter'
oh.. it is ok now..
btw, how sad they treat page which index listing disabled with forbidden message as down T_T
Still not working, unfortunately...
@Amitz hmm that is really odd, did you re-add your API key to the config file that is in the includes folder? The config file location changed, and does it look something along the lines of
$apikey = "u49104-lfjlkjsdf88432bbjkhfs";
Yes, I have done that... :-/
My sincere apologies! I had one character of the API key missing during copy & paste! Works like a charm now, thank you for the script and your support! :-)
@Spencer thanks for this, Very cool some one finally did it versus their own system, I have always liked UptimeRobot.
this is so nice. well done sir!
Glad you got it working @Amitz!
Working on a rewrite, would you guys also like to have the option for latency graphs?
Nice!
Possible to set the list?
I mean... if i add a new monitor the monitor go to the top. But if you add names like this: SSD -1 , SSD-2 etc. The latest monitor will be on the top. How to solve this ?
Anyway this is great! I will change my port-monitor to this
This is awesome. Now I (or someone more talented than myself) need to combine this with something like the ServerStatus script which grabs system resource usage.. and boom.. magic!
Nice, will give it a whirl sometime.
I used this one before:
https://github.com/eustasy/labs-uptimerobot-status-page
I remember I made some changes to it.
Just read the code, $API_Key should be an array and $API_Key inside for loop should be $API_Key[$i]
for ($i=0; $i<$Count; ++$i) {
fetch($IDs[$i], $Descriptions[$i], $Apologies[$i], $API_Key[$i], $Count, $CustomTime);
}