I've set up errpt to redirect to syslog and syslog to forward to our linux syslog server. So I get to play around the rest of the day breaking my labs.
I've been filling file systems, tearing apart vhosts and unplugging cables - committing all sorts of heinous crimes.
I'm not used to this much freedom, I need some inspiration. What's your favorite break/fix?
Something I'm noticing, and maybe it was set up this way where I am before my time, if I fill a filesystem a la:
Code:
dd if=/dev/zero of=./blah bs=1M
I'll get my error in errpt. If I delete the file and do it again right away I don't get a second error. There seems to be a 'cool down' but I've seen instances in the past with flapping adapters where errpt rolls because it gets flooded.
That was the main reason for hunting down new ways to break the system without outright killing it.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
Do not know about "cooldown" - and would need to know which daemon, subsystem is sending message to syslog and/or errpt before even beginning to guess.
fill fs
see alert hit errpt
delete file I used to fill fs
fill fs again
no error hits errpt
Code:
#cd to the unlucky fs
cd /opt
#fill fs
dd if=/dev/zero of=./blah bs=1M
#verify error hit errpt
errpt -a | more
#del file
rm blah
#fill fs again
dd if=/dev/zero of=./blah bs=1M
#verify error hit errpt
errpt -a | more
Only one JFS2_FULL message in errpt for /opt, no entry for the second filling.
I redirect errpt to syslog using an additional to the ODM with this bad boy:
What is your favorite Linux distro?
and possibly why?
Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
The TED talk (Technology Entertainment Design) non-profit initiative started many years ago as a platform for sharing knowledge to a wide audience. Since 2006 the talks are available online under a Creative Commons license. There are now 1000+ TED talks from a wide range of subjects and I wanted to... (3 Replies)
OK, please vote on your favorite web browser and comment why!
Only currently supported browers please!
Thanks.
PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
Can everyone please list there favorite firefox tweaks? These are my favorite tweaks.
Config.trim_on_minimize
true Allow Windows to swap out memory when the program is minimized.
false Prevent Windows from swapping out memory when the program is minimized. (Default)
Enter... (0 Replies)
Out of the 100s of screensavers in xscreensaver, what is your favorite?
I think mine is definitely juggle. I can sit and watch that juggler forever. I haven't looked into the code, but it must be amazingly complex to deal with all that's going on. From the random throwing pattern, to the arm... (0 Replies)