Page 1 of 1

Re: [Nagios-devel] New Nagios implementation proposal

Posted: Thu Dec 03, 2009 8:43 am
by Guest
This is a multi-part message in MIME format.
--------------060002030605060908020904
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

On 12/02/2009 02:45 PM, nap wrote:
> Thanks this is very usefull, I'll look at it :)
>
> I test with a random check 1->10 and it's ok for latency. It just
> needs a lot of workers so I'm trying to allow workers to launch
> several process at a time and so use less workers (from 200->4) and
> from now it's even faster an use less memory (one worker is a fork of
> poller, and poller is near 10Mo of resident memory so less Worker,
> less memory used). I just test with a 200K random time check, 4
> workers, 512 process/worker and it runs fine (load average at 3 and
> still some %idle available :) ).
>
> Now I'm trying a 300K configuration (still the same random time check) :D
>

Try with the attached plugin. It's supposed to simulate a network under
extreme stress (ie, when monitoring is most important) by exiting with
a random exit-code.

> But remember : Shinken is far more than good performances. Its
> architecture is also important and I would like to have your feed back
> about it too.
>

I'll look into it when I get a few moments to spare. However, I'm fairly
certain Nagios has too much momentum and too many in-core modules for any
incompatible competitor to take its place.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--------------060002030605060908020904
Content-Type: text/x-csrc;
name="check_rand.c"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
filename="check_rand.c"

/*
* check_random.c - Nagios stress-test plugin
* Author: Andreas Ericsson
*
* This seriously stupid program is in the public domain
*/
#include
#include
#include
#include
#include
#include
#include
#include

/* autogenerated message list, produced by fortune */
static char *msg_list[] = {
"Life, loathe it or ignore it, you can't like it.",
"SOMEONE ELSE.",
"... all the modern inconveniences ...",
"one when he was a boy and one when he was a man.",
"Not Hercules could have knock'd out his brains, for he had none.",
"When you ascend the hill of prosperity may you not meet a friend.",
"You have been in Afghanistan, I perceive.",
"Good afternoon, madam. How may I help you?",
"Good afternoon. I'd like a FrintArms HandCannon, please.",
"I'll take the special.",
"Sound choice, madam, *sound* choice. Now, do--?",
"Aah... yes, And how does madam wish to pay?",
"Benson, you are so free of the ravages of intelligence",
"First things first -- but not necessarily in that order",
"It's kind of fun to do the impossible.",
"My life is a soap opera, but who has the rights?",
"No, `Eureka' is Greek for `This bath is too hot.'",
"'Close to You'. Hit it, boys!",
"Rembrandt's first name was Beauregard, which is why he never used it.",
"Spare no expense to save money on this one.",
"and it will be a sell out.",
"Truth is stranger than fiction, because fiction has to make sense.",
"Well, that was a piece of cake, eh K-9?",
"You've got to have a gimmick if your band sucks.",
"Why bother? He's probably home reading the Encyclopedia Britannica.",
"The Tao is embodied in all software -- regardless of how insignificant,",
"I said, 'No. Wrong. Game over. Next contestant, please.'",
"But what we need to know is, do people want nasally-insertable computers?",
"How do I love thee? My accumulator overflows.",
"If that makes any sense to you, you have a big problem.",
"Is it PC compatible?",
"It runs like _x, where _x is something unsavory",
"It's not just a computer -- it's your ass.",
"The Other Side.",
"This ... this is your canvas! your clay! Go forth and create a masterwork!",
"Now this is a totally brain damaged algorithm. G

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]