Now that's what I call wasabi
nagios time sync check?
How do I get Nagios to check whether the time is set correctly on a remote machine? (Where "correctly" is defined as "within a few seconds of the time on the Nagios server".)
The problem I keep running into is that for whatever reason, the time becomes wrong on one of my servers (because it rebooted while the ntp server was unreachable, or who knows what). Generally I only discover this days later when something has gone annoyingly wrong, like tickets are still on sale after doors.
I don't see an easy way to write such a Nagios plugin, though. Does such a thing already exist?
(Just checking whether an ntpd process is running is not enough. I want to do something like: string-compare the textual output of a pair of "date" commands.)
Update: Ok, I guess 'check_ntp -H ntp-server' is pretty close to what I want... though it won't detect the timezone going wonky.
Big Man Japan
power grid nagios?
While I was lying there in bed between 8:55AM and 9:20AM listening to my far-too-loud UPS beep, I was wondering a few things: among them, how hard it would be to disconnect the speaker in the UPS, and also, oh yeah, why the power was out again.
You'd think that PG&E would have a page explaining what happened. Maybe even an RSS feed. Not that it would do me any good, but I'm curious about these things. Is there such a thing? I couldn't find one.
As your attorney in this matter, I strongly advise you to rescue the princess.

"We had two bags of 1-up mushrooms, seventy-five pellets of fire flower, five sheets of high-powered stars, a saltshaker half-full of raccoon tail, a whole galaxy of multi-colored turtle shells, hammers, POW blocks, laughers... Not that we needed all that for the trip, but once you get locked into a serious power-up collection, the tendency is to push it as far as you can.
"The only thing that really worried me was the Lakitu cloud. There is nothing in the world more helpless and irresponsible and depraved than a man in the depths of an misting binge, and I knew we'd get into that rotten stuff pretty soon."