Giter Site home page Giter Site logo

statuspage's People

Contributors

nerdbaggy avatar pazion avatar ron-e avatar scandox avatar stevetoza avatar woutertenbosch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

statuspage's Issues

Rewrite

A complete backend rewrite to account for the recent pro options at uptimerobot is in the works

API keys security

Security: Your tool uses Master API key (you can edit and delete) instead of the Monitor-Specific API (read only) keys.
Master key returns all monitored objects, the transition to the Monitor-Specific keys requires the addition of each key separately. This makes it easier to decide which monitored objects you want to show.

"Powered by StatusPage" branding problem.

I've recently started using this, and I run a service that requires a ton of VPS, so the monitor list on my screen gets pretty long, as I have a 13 inch laptop, so I have about 16 VPS (give or take 2), and 3 Dedis on my UptimeRobot, so whenever I look at my status page, and I scroll down, the Powered by.. doesn't move with the list - http://puu.sh/gYyu1/f741fc6806.png

https://status.isiah.pw, not sure if you'll be able to see it as I'm sure it's screen sized based.

$excludedchecks not working

Just updated to the latest version - Seems the $exlucdedchecks are not working, its not excluding the servers.

The below is from the php-fpm log file on the server if its any help

PHP Notice: Use of undefined constant friendlyname - assumed 'friendlyname' in /public/StatusPage/StatusPage.php on line 22
PHP Notice: Use of undefined constant status - assumed 'status' in /public/StatusPage/StatusPage.php on line 23
PHP Notice: Use of undefined constant customuptimeratio - assumed 'customuptimeratio' in /public/StatusPage/StatusPage.php on line 24
PHP Notice: Use of undefined constant alltimeuptimeratio - assumed 'alltimeuptimeratio' in /public/StatusPage/StatusPage.php on line 25
PHP Notice: Use of undefined constant log - assumed 'log' in /public/StatusPage/StatusPage.php on line 26
PHP Notice: Use of undefined constant timezone - assumed 'timezone' in /public/StatusPage/StatusPage.php on line 27

Cheers

Twitter Feed

It would be cool to have a customizable twitter feed available. Maybe below the stats or when an issue arises, a tweet can be correlated with the outage. :)

Spell correct

"An error has occured" should be "An error has occurred"

function addContent(data) {
    var req = $.ajax({
        type: 'GET',
        url: config.backendURL,
        jsonpCallback: 'StatusPage',
        contentType: "application/json",
        dataType: 'jsonp',
        data: data,
        timeout: 7000,
        error: (function(e) {
            resultsPlaceholder.html('<h4>An error has occured</h4>  <i class="fa fa-frown-o fa-3x"></i>');
        }),

Timezone issue

Hi

I changed my timezone on UptimeRobot to GMT 0 from GMT -6 previously (default). When I add new checks they now show -6 hours e.g.: http://i.spartanhost.net/s-17-20-18.png

All my other checks have had 6 hours deducted off the length of time they've been online eventhough it shows fine on UptimeRobot's website. Is their API reporting wrongly or is there something in your code to fix the timezone issue?

UTF-8 Support

It would be very handy to support characters like ( and )

Latency Graphs

Latency graphs are in the new release which will be out soon!

Performance Optimization Suggestion

Hi,

Uptime Robot dev. here.

As a suggestion, if the initial load can make the getMonitors request with logs=0 and "event detail requests (displayed in modal window)" with logs=1 parameter, there will be huge performance gains.

Great resource btw.

Check Whitelist ("IncludeChecks")

Hello,

thanks for creating this nice looking public status page. In the configuration there is an option for excluding checks:
https://github.com/nerdbaggy/StatusPage/blob/v2.1/StatusPage/config.php#L32

If you're just having some monitors you don't want to show up, I assume this works great. However, if you're having lot of monitors in your account and just want to display five (website, api, ... status) it's problematic. Could you please implement a feature to "whitelist" checks? (Display none but whitelisted checks on the page)

Thanks for your consideration!

Friendly err info needed

I found Status Page was blank for a while. I check the log and found this line
"UptimeRobot API Error - API maintenance. Will be up very soon"

However, the front page for the public was a blank page with nothing useful on it.

Showing a info like "Oops, the server is down" or "please refresh it later" might be better.

Thanks and best regards!

Blank screen: Undefined index messages on FreeBSD 11 system

Hi,
I have installed StatusPage on a FreeBSD 11 system using my UptimeRobot account. nginx is used as web server and is setup to serve static an PHP pages. I get a blank web page with the text "An error has occurred." The error log of ngnix shows:

2017/04/08 21:40:56 [error] 49814#0: *8 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: action in /var/www/data/status.site/statuspage/checks.php on line 16
PHP message: PHP Notice: Undefined index: responsetime in /var/www/data/status.site/statuspage/statusPage.php on line 57
PHP message: PHP Notice: Undefined index: log in /var/www/data/status.site/statuspage/statusPage.php on line 68
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 93
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 94
PHP message: PHP Notice: Undefined index: responsetime in /var/www/data/status.site/statuspage/statusPage.php on line 57
PHP message: PHP Notice: Undefined index: log in /var/www/data/status.site/statuspage/statusPage.php on line 68
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 93
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 94
PHP message: PHP Notice: Undefined index: responsetime in /var/www/data/status.site/statuspage/statusPage.php on line 57
PHP message: PHP Notice: Undefined index: log in /var/www/data/status.site/statuspage/statusPage.php on line 68
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 93
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 94
PHP message: PHP Notice: Undefined index: responsetime in /var/www/data/status.site/statuspage/statusPage.php on line 57
PHP message: PHP Notice: Undefined index: log in /var/www/data/status.site/statuspage/statusPage.php on line 68
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 93
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.p
2017/04/08 21:40:56 [error] 49814#0: *8 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 93
PHP message: PHP Notice: Undefined index: timezone in /var/www/data/status.site/statuspage/statusPage.php on line 94" while reading upstream, client: A.B.C.D, server: status.domain.com, request: "GET /statuspage/checks.php?callback=StatusPage&_=1491680463694 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "status.domain.com", referrer: "http://status.domain.com/"

What in my configuration is wrong here? I would really like to have my own Uptime Robot statuspage.

Thank you in advance.

With kind regards,
Lars Wittebrood

Errors

Upgraded to v2.1 since the old version started erroring. Getting this in the logs. I've verified my API key. Thanks for the help :)

[Tue Nov 25 10:47:43 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: curl_errno(): 1 is not a valid cURL handle resource in /var/www/html/uptime/StatusPage/StatusPage.php on line 49
[Tue Nov 25 10:47:43 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant stat - assumed 'stat' in /var/www/html/uptime/StatusPage/StatusPage.php on line 54
[Tue Nov 25 10:47:43 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitors - assumed 'monitors' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:47:43 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitor - assumed 'monitor' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:47:43 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:47:44 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: curl_errno(): 1 is not a valid cURL handle resource in /var/www/html/uptime/StatusPage/StatusPage.php on line 49
[Tue Nov 25 10:47:44 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant stat - assumed 'stat' in /var/www/html/uptime/StatusPage/StatusPage.php on line 54
[Tue Nov 25 10:47:44 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitors - assumed 'monitors' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:47:44 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitor - assumed 'monitor' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:47:44 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:52:41 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: curl_errno(): 2 is not a valid cURL handle resource in /var/www/html/uptime/StatusPage/StatusPage.php on line 49
[Tue Nov 25 10:52:41 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant stat - assumed 'stat' in /var/www/html/uptime/StatusPage/StatusPage.php on line 54
[Tue Nov 25 10:52:41 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitors - assumed 'monitors' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:52:41 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant monitor - assumed 'monitor' in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:52:41 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/uptime/StatusPage/StatusPage.php on line 20
[Tue Nov 25 10:55:25 2014] [error] [client xxx.xxx.xxx.xxx] script '/var/www/html/uptime/Logs.php' not found or unable to stat
[Tue Nov 25 10:55:46 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined index: cid in /var/www/html/uptime/StatusPage/Logs.php on line 6

SSL PHP issue

Hello,

small info. I had to add:

CURLOPT_SSL_VERIFYPEER => false

line to

private function curlIt()

in

curl_setopt_array($curl, array(

to make fetching JSON status working correctly.

Regards

Error Occurred

Using your status page it has been working with no issues but now i'm getting

An error occurred, please try again

Checked the API key that is all correct

API version 2

How could we upgrade the API implemented to version 2 ?

Documentation Needs updating

Then edit the config.php in the includes folder to fit your needs.

The config file is actually in StatusPage folder or its probably a bad commit?

Make compatible with API v2

Hello! Uptime Robot API v1 will be dead after june 2017. I've created a new "statusPage.php" file compatible with API v2. You have to change "main.js" duration calculation method, but It's even easier now: just use the new "events.duration" as "diffSeconds" instead of doing the math by hand. Regards. Sorry for posting code directly in here... I'm no github guru :-)

statusPage.php

An error has occured

I am getting the error below:
testj
If i run the API call manually it all works fine - but the public page always returns this error :(
this is on a LNMP, I use Debian

Suddenly Error - Status no longer working

Hello,

The status page has suddenly stopped working for me, In the logs on the server i'm getting the below on both my installs.

[26-Nov-2014 11:20:09 UTC] PHP Notice: Use of undefined constant stat - assumed 'stat' in /home/nginx/domains/domain.com/public/StatusPage/StatusPage.php on line 54
[26-Nov-2014 11:20:09 UTC] PHP Notice: Use of undefined constant monitors - assumed 'monitors' in /home/nginx/domains/domain.com/public/StatusPage/StatusPage.php on line 20
[26-Nov-2014 11:20:09 UTC] PHP Notice: Use of undefined constant monitor - assumed 'monitor' in /home/nginx/domains/domain.com/public/StatusPage/StatusPage.php on line 20
[26-Nov-2014 11:20:09 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/nginx/domains/domain.com/public/StatusPage/StatusPage.php on line 20
[26-Nov-2014 11:20:39 UTC] PHP Warning: curl_errno(): 1 is not a valid cURL handle resource in /home/nginx/domains/domain.com/public/StatusPage/StatusPage.php on line 4

Sorting the monitors by name or other values

Hi there,

I just started using this and am really liking it. The one thing I can't figure out yet how to change is the order in which the various monitors are displayed. I'd prefer it to be alphabetical, for example - is that possible?

update errors if cache is expired.

I have the page set to refresh every 60 seconds, and the cache set to expire every 5 minutes. If I leave the page open for longer than that and watch the phpfastcache files, the cache updates, but the xmlhttp request that is sent is aborted after 7 seconds.

the request that fails is /statuspage/checks.php?callback=StatusPage&action=update&_=1431380894015

No Data and PHP Errors

PHP v5.5.23

[15-Oct-2015 20:05:27 UTC] PHP Warning: Invalid argument supplied for foreach() in D:\Pub\HTTPD\APPS\statuspage\statuspage\statusPage.php on line 49
[15-Oct-2015 20:05:27 UTC] PHP Warning: Invalid argument supplied for foreach() in D:\Pub\HTTPD\APPS\statuspage\statuspage\statusPage.php on line 23

An Error Has Occured?

I am getting the error below:

image

If i run the API call manually it all works fine - but the public page always returns this error :(

Error info in the apache2 log

[Sun Sep 20 20:38:20 2015] [error] [client 220.173.1xx.xxx] PHP Notice: Undefined index: action in /var/www/www.mydomain.org/status/statuspage/checks.php on line 16, referer: http://www.mydomain.org/status/
[Sun Sep 20 20:38:22 2015] [error] [client 220.173.1xx.xxx] PHP Notice: Undefined index: responsetime in /var/www/www.mydomain.org/status/statuspage/statusPage.php on line 57, referer: http://www.mydomain.org/status/
[Sun Sep 20 20:38:22 2015] [error] [client 220.173.1xx.xxx] PHP Notice: Undefined index: log in /var/www/www.mydomain.org/status/statuspage/statusPage.php on line 68, referer: http://www.mydomain.org/status/
[Sun Sep 20 20:38:22 2015] [error] [client 220.173.1xx.xxx] PHP Notice: Undefined index: timezone in /var/www/www.mydomain.org/status/statuspage/statusPage.php on line 93, referer: http://www.mydomain.org/status/
[Sun Sep 20 20:38:22 2015] [error] [client 220.173.1xx.xxx] PHP Notice: Undefined index: timezone in /var/www/www.mydomain.org/status/statuspage/statusPage.php on line 94, referer: http://www.mydomain.org/status/

HTML entities are not being rendered

Hello everyone,

we have []-tags to describe what kind of check it is. Unfortunately, on the page it renders as

 &#091;WS&#093; RustOxide Main 

This doesn't only look pretty strange, it also makes the names really hard to read.
I'd appreciate if you could take a look at this.

alertBar messages: Suggestion

The alert bar that can be enabled in statuspage.min.js is great for example :

All Systems Are Normal!

But there should be a way to show a changed message if a monitor is paused, or Offline

Suggestion: Add categories or groups to monitors

Add groups to the config so we can have different monitors grouped on different tables with a header (the name of the category).

This could be on one page or (better) be able to have an index and one page for each category (so we can use different urls for categories).

Thank you!

Undefined index error

The status page seems to be working fine. When clicking the icon to view the charts or stats it does not show anything except no data available.

In the error logs it throws

PHP Notice: Undefined index: responsetime in /var/html/status/statuspage/statusPage.php on line 57
PHP Notice: Undefined index: action in /var/html/status/statuspage/checks.php on line 16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.