look out honey 'cause I'm using technology

1 2 3 4 5 6 7 8 9 10

Blog

Roger Ebert’s Journal: Put up or shut up

Every now and then I read something that makes so much sense, it almost seems silly that it has to be said; but this does. Leave it to the brilliant mind of Roger Ebert to make sense of the whole religious ferver that has been building up from Limbaugh, Beck, Palin and others keeping Republicans misinformed by spouting out fear based talk of Muslims with cries of Islamic law, religious wars and other crazy talk. Look, while I expect this from news salesmen like them, when people that I know and  used to admire use religion to promote bigotry of others because they are of another religion, all bets are off. While you’ll hear other things on the news, our country was founded on the freedom of religion, which Wikipedia cites as, “…a principle that supports the freedom of an individual or community, in public or private, to manifest religion or belief in teaching, practice, worship, and observance; the concept is generally recognized also to include the freedom to change religion or not to follow any religion. The freedom to leave or discontinue membership in a religion or religious group —in religious terms called “apostasy” —is also a fundamental part of religious freedom.“ When I spoke candidly with Europeans last week in London about this they shared my concern and bewilderment about the ever growing pollariztion of the religious camps on this issue, so it’s not just us that are confused. I really appreciate Matt from Obtuse View for reposting this today, and I think it’s something everyone should repost so at least a voice of reason can be heard over the din of commercial ”news”. Thanks Roger! (more…)


My name is John Daker

John DakerInternet memes come, and internet memes go. Some have more traction than others and just become part of the lexicon, while some, seemingly worthy of adoration, don’t. When I first saw this one it was linked to on Twitter by Charlie Day (aka Charlie on the incredible It’s Always Sunny in Philadelphia) who posted, @TheCharlieDay: http://bit.ly/aCUAAz Also Glenn sent this to me and it rules. The backstory to is that John Daker, in 1990, was on a Peoria, Illinois public access channel singing for a music teachers’ bi-annual recital, and the tape ended up online, and people (naturally) took notice. Now it’s your turn, I present to you the video entitled, My name is John Daker…

(more…)


HOWTO monitor your servers via Twitter

Alert: your server has failed!

The other day I got inspired to write a script that would allow me to monitor my servers via Twitter. The idea of having a column in Tweetdeck set aside to inform me of my servers’ statuses’ sounded cool, plus, it’s quicker than checking email.  I know sending tweets from the command-line had been done before, but after seeing briealeida’s post titled Tweeting Cron Jobs I really got inspired. While hers was written in Perl, I didn’t want to go that route since I had a few, self imposed, restrictions I wanted to stick to. One, I only wanted to use standard shell commands, the ones you get by default in Linux, so you would have absolutely no dependencies to install for this to work. Two, I wanted to see how much info I could stuff into a 140 character tweet, and still have it make sense. While I’m still working on adding more info, the current state of the script gives me a quick snapshot of seven specifics metrics on a selected server, which I’m quite happy with. To try it yourself only takes a few minutes. (more…)


HOWTO use monit to monitor sites and alert users

Ok, I’ve used the process management software, monit, since at least 2004, and it is simply an indespensible tool in my sysadmin cache. Basically it watches a process, say like Apache, and restarts it if it dies. But wait, that’s not all, it does tons of other things. Want it to watch it and restart it at a certain time? Sure. How about if it uses 50% of system memory in 5 cycles (cycles are checks, 120 seconds by default)? Yep, it’ll take care of that. How about watching a file and stopping a service and/or issuing an alert by email or web if the file’s UID, permission, or whatever has changed?   No problem. Disk space is greater than 90% on one partition you want an email to go out to the admin? Easy. Seriously, once you start using monit you’ll be amazed at what you can cover, it’s truly one of the best tools I’ve ever used, and of course it’s GPL’d open source.

So, this week we had an issue where a some of our sites were down, and the monitor that watches them were internal to our network, and relied on some of the same resources; which is lees than ideal. I have a remote server running at one of our partner’s sites, so it’s the perfect canidate to watch our sites from a ‘real world’ view. (more…)


HOWTO sort web-server logs to find top users

Wario is being greedy...

The other day I came across a situation where a web-server was getting hammered, and we needed to know who the offend(ers) were. While watching a logfile tail by at high speeds is always fun, we wanted to be able to sort the web-server access log and find top users, to be able to narrow down where the traffic was coming from. While we don’t want to block users that want to access our data, sometimes we need to throttle things back so one requester doesn’t overwhelm all the available bandwidth and make the site unusable for others. So after some playing around and digging on Google, we came up with a nice, succinct one liner to do this, here it is:

cat /path/to/access.log | awk '{print $1}' | sort | uniq -c | sort -n | tail

(more…)



geek

Alert: your server has failed!
HOWTO monitor your servers via Twitter

The other day I got inspired to write a script that would allow me to monitor my servers via Twitter

More in geek

politics

ebert_blog
Roger Ebert’s Journal: Put up or shut up

Every now and then I read something that makes so much sense, it almost seems silly that it has to b

More in politics

music

John Daker
My name is John Daker

Internet memes come, and internet memes go. Some have more traction than others and just become part

More in music

art

dnots_big
Dark Night of the Soul

Notice: the text of this post in the gray, blockquote area was taken from the website Look Into My O

More in art

news

John Daker
My name is John Daker

Internet memes come, and internet memes go. Some have more traction than others and just become part

More in news