New widget
So for fun I have setup a little widget on the blog to show the status of the RationalWiki servers.
If the server is down it just says server down. If the server is up and working it will display the number of hours and minuets that the server has been up "straight." That means no reboot or power down. I am also displaying the 15 minute running average for the CPU load so people can see how busy the server has been recently.
Google update
So based on my searching we are back on top for Andrew Schlafly and Poe's Law which were two of our bigger hitters for search engine referred traffic. Not everything is reindexed yet but it looks like we should recover all right from our downtime.
Friday, September 11, 2009
Subscribe to:
Post Comments (Atom)
I fixed a typo in the widget: Medium had font color=yello
ReplyDeleteI think it's very hard to read though.
I agree....I don't really care about the colors if you have better ideas.
ReplyDeleteBrown looks okay
ReplyDeleteYeah, it was just something fun to do. I originally just outputed the CPU load value directly but it occurred to me that it is a pretty meaningless number to most people.
ReplyDeleteI agree, though I preferred the load number obviously. Put it into a tooltip?
ReplyDeleteOr we could just do something like:
ReplyDelete# (Low)
or
Low (#)
As for the colors: http://rationalwiki.com/wiki/User:Nx/sandbox
ReplyDeleteWorks for me.....so much for my simple inline perl.......
ReplyDeleteI've added another two regexps to trim the whitespace and the newline
ReplyDeleteCan you think of a more elegant way to check the server status? Right now I just try and load a "hidden" image off the server and call a javascript function if there is an error that replaces the html with a server down message.
ReplyDeleteWhy not check if up.html is available?
ReplyDeleteAh, I see you use iframe. You could get up.html with xmlhttprequest, and if that fails assume it's offline.
ReplyDeleteYeah I thought about it.......I don't know....again it was just something I did mostly for fun so went with an approach I knew I knew how to do.
ReplyDeleteI made an autoupdating javascript thing at RW, posted it on your talkpage.
ReplyDelete