Archive

Archive for April, 2009

Howto get performance data from nagios check_procs?

April 25th, 2009 No comments

I have modified nagios check_procs plugins so it returns how many processes it finds as performance data.

Here is a “diff -u” file so you easy can modify your check_procs.


--- check_procs.c.org   Sat Apr 25 12:01:08 2009
+++ check_procs.c       Sat Apr 25 12:04:09 2009
@@ -305,6 +305,9 @@
if ( verbose >= 1 && strcmp(fails,"") )
printf (" [%s]", fails);

+/* Added by hdsgd 20090424 */
+       printf ("|Nr=%d", procs);
+
printf ("\n");
return result;
}
Categories: Tips&Trix Tags: , ,

Intelligence

April 18th, 2009 No comments

A little boy went up to his father and asked: “Dad, where did my intelligence come from?”
His father replied: “Well, son, you have got it from your mother, because I still have mine.”

Categories: Humor Tags:

Two Reasons Why It’s So Hard To Solve A Redneck Murder:

April 18th, 2009 No comments

1. The DNA all matches.
2. There are no dental records.

Categories: Humor Tags:

Hunting Flies

April 13th, 2009 No comments

A woman walked into the kitchen to find her husband stalking around with a fly swatter.
“What are you doing?” she asked.
“Hunting flies,” responded her husband.
“Oh. Killing any?” she asked.
“Yep, three males and two females,” he replied.
Intrigued, she asked, “How can you tell?”
“Three were on a beer can, and two were on the phone,” he replied.

Categories: Humor Tags:

Crabs

April 9th, 2009 No comments

A man boarded an airplane in New Orleans with a box of frozen crabs and asked a blonde, female crew member to  take care of the box for him.
She took the box and promised to put it in the crew’s refrigerator.
He pointedly advised her that he was holding her personally responsible for the crabs staying frozen, mentioned that he was a lawyer, and proceeded to rant at her about what would happen if she let them thaw out.
Needless to say, she was annoyed by his behavior.
Shortly before landing in New York , she used the intercom to announce to the entire cabin, “Would the gentleman who gave me the crabs in New Orleans, please raise your hand?”
Not one hand went up … so she took them home and ate them.
There are two lessons here, Voyeurwebbers:
1. Men never learn.
2. Blondes aren’t as dumb as most men would like to think.

Categories: Humor Tags:

Military Words of Wisdom

April 5th, 2009 No comments
  1. “When one engine fails on a twin-engine airplane, you always have enough power left to get you to the scene of the crash.”
  2. The three most common expressions (or famous last words) in aviation are:
    “Why is it doing that?”
    “Where are we?”
    and
    “Oh, shit!”
  3. “If you see a bomb technician running, try to keep up with him.”
  4. “Any ship can be a minesweeper. Once!”
Categories: Humor Tags:

Dear John

April 1st, 2009 No comments

Two sex workers are talking.
“How was your last ‘john,’ Desiree?”
“Okay, but cheap. And yours?”
“One of the best: a big, muscular, handsome marine.”
“Oh, yeah? What did he wanna do?”
“First, he asked how much for sex and I told him $100, but he didn’t have enough money. Then he asked how much for a BJ and I told him $50, but he didn’t have that much either. Then he asked how much for a hand job and I told him $25. He agreed, I reached in, and what a surprise! I put one hand around it, then another hand on top of that hand, and then my first hand on top of that one!”
“Damn, girl, he musta been huge! Then what happened?”
“I loaned him $75!”

Categories: Humor Tags: ,