Who comes up with these "defaults"?!
-
<rant>So an APC UPS battery died tonight, resulting in me (and my colleagues) getting over 650 e-mails about it in our inboxes.
Turns out the default setting is to resend both the "Failed a self-test" and the "Faulty battery exists" alarms every two minutes to all defined contacts.I mean - I understand the need to resend stuff, in case it's lost or unnoticed the first time, but seriously?
I can almost imagine the engineers talking about this when writing the software:
- "Frank, how often should I resend these alerts, in case they miss one?"
- "Spam the crap out of them, John, you can never be too sure."
P.S.: It turns out that even if you change the alert settings (for example, to a more reasonable 6 hour repeats), it doesn't affect the alert 'currently in progres', only new ones.
And yes, you have to change the default for each contact on each alert type (there are many many many alert types).
</rant>
-
That kind of thing is exactly why I wrote this at my site:
/usr/local/bin/notify-vmadmin:
#!/bin/sh maxrepeats=24 cachedir=/var/local/cache/notify-vmadmin rptfile=$cachedir/repeats msgfile=$cachedir/message lockfile=$cachedir/lock umask 002 if flock -w10 9 then repeats=$(cat $rptfile 2>/dev/null) oldmsg=$(cat $msgfile 2>/dev/null) newmsg=$(printf '%s\n' "$@") if [ x"$newmsg" = x"$oldmsg" -a ${repeats:=0} -lt $maxrepeats ] then echo $((repeats+=1)) >$rptfile else echo 0 >$rptfile echo "$newmsg" >$msgfile previous='\n\nPrevious message repeated %s:\n\n%s' case $repeats in 0) previous= ;; 1) previous=$(printf "$previous" once "$oldmsg") ;; 2) previous=$(printf "$previous" twice "$oldmsg") ;; *) previous=$(printf "$previous" "$repeats times" "$oldmsg") ;; esac echo "$newmsg$previous" | mail -s "$1" vmadmin fi fi 9>$lockfile
The flabdablet license: This is free software. Do whatever you want with it except hold me accountable for any grief it causes you.
-
Default, dear Brutus, lies not in our stars, but in ourselves.
-
That kind of thing is exactly why I wrote this at my site:
Thanks! With your permission, I'd find [a variation of] this quite useful on some of my servers. May I?
-
The flabdablet license: This is free software. Do whatever you want with it except hold me accountable for any grief it causes you.
-
-
Eww, get this thing away from here.
-
Congrats, John Green, if that is your real name. You've just become the 65,535th person to take a quote from Shakespeare and mangle it to use as a book title.
Right after the guy who wrote "Soft butt that breaks wind by yonder light".
-
Congrats, John Green, if that is your real name.
thanks!But that's not my real name.
nor my book. The real
slim shadeyJohn Green has hardware i lack for one thing.
-
-
among other things, yes.
that particular one he can keep (although the sticker is quite stylish and sexy, too bad about the decision to put it on an evil mac....)
-
hardware i lack
You can rectify this embarrassing lack of a CNC mill by a quick trip to Harbor Freight, you know.
-
while i would like an awesome CNC mill, this too is not the hardware i was referring to.
although..... given the proper tool path i could probably use the CNC mill to make a reasonable facsimile of the hardware i refer to....
-
-
@accalia said:
hardware
*snerk*
six hours!
it took six hours for anyone to reply even slightly off colour!
i am disappoint.
the is not strong with this forum today.
-
-
*snerk*ing isn't easy, thanks to Markdown...
-
-
It gets important once you go to the john.
-
-
no. that one is spelled correctorly.
colour is the correctest speeling
-
I know it's correct - but given your track record, it's most likely that you did make a typo and just by a lucky coincidence you still wrote a correct word - and it even means what you wanted to write!
-
colour is the correctest speeling
Not where you live it's not. Maybe you haven't heard, but we had a spelling reform here a hundred years or so ago.
-
I CARE NOT FOR THE SPELLING REFORMS OF NOEL WEBSTER AND ANDREW CARNEGIE!
-
I CARE NOT FOR THE SPELLING REFORMS OF NOEL WEBSTER AND ANDREW CARNEGIE!
Then you should be wearing a powdered wig, too, and not a hat!
-
what hat?
-
That hat you normally wear.
I thought we had a deputy assistant hatter for when the regular one is too busy with MOD ABUSE
-
Wow, nice job, Discurse. Of all the ways I expected that to get fucked up, that wasn't one of them.
ETA testing: MOD ABUSE
-
That hat you normally wear.
i havent been given one for three weeks now....
Indeed even my love @raceprouk is rather behind schedule with her selection of our next avatars....
-
This just reminded me that Valve's newest multiplayer games still use the same default connection rate (6kB/s) as Quake did in 1996.
-
I CARE NOT FOR THE SPELLING REFORMS OF NOEL WEBSTER AND ANDREW CARNEGIE!
We should start our own spelling reform so that it better matches our pronunciation. I propose "culah".
-
-
This just reminded me that Valve's newest multiplayer games still use the same default connection rate (6kB/s) as Quake did in 1996.
At least they care about @ben_lubar...
-
Most of Carnegie's reforms never made it. Webster more contributed to standardization. And you've left out Twain, while you were mentioning unsuccessful or non- reformers.
-
Tribes did 64-player multiplayer matches on 33.6 kbps modems.
-