SEC and Nagios for log monitoring

Brian Huffman bhuffman at incyte.com
Thu Dec 9 13:42:04 CET 2004


Thanks again - sorry to make you repeat things.  :-)

-----Original Message-----
From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] 
Sent: Wednesday, December 08, 2004 7:35 PM
To: Brian Huffman
Subject: Re: [Nagios-users] SEC and Nagios for log monitoring

Dear Sir,

I am writing to thank you for your letter and say,

On Wed, Dec 08, 2004 at 03:47:23PM -0500, Brian Huffman wrote:
> BTW - how does this alarm_histnames.pl work?

hash of IP addresses => Nag host names.

> You're not scanning the
> nagios config file every time are you?

No.

> It looks like you're creating an
> associative array, but how do you 1) make sure that it doesn't change
if
> the config changes but also 2) not scan the config file every time?
> 

80:20 basically. It is broken, but not so much that its annoying.

If a new host comes in (ie doesn't exist in the hash), the passive 
service check result will be rejected by Nag, and sooner or later, I 
will notice it and deal with it.

Basically, I expect only traps or messages from hosts I am aware of and 
configure Nagios and SEC accordingly (this is at least part reasonable 
since I configure routers and influence config of switches).

The same is true of the basic Nag distributed mon set-up: its necessary 
to configure the central site Nag with the services and hosts that it 
expects to receive passives from (all this is true of Nag 1.x only; 
don't know about 2.0)

> Thanks,
> Brian
>

These questions are good; they prob should go to either lists, so you 
can get these opinions moderated/tempered/flamed. Rest assured, you are 
not dealing with a very clever or knowledgable person.

Yours sincerely.

-- 
Stanley Hopcroft

IP Australia
Ph: (02) 6283 3189  Fax: (02) 6281 1353
PO Box 200 Woden  ACT 2606
http://www.ipaustralia.gov.au


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list