On Thu, 05 Aug 2010 11:28:16 +0200 Albert Dengg <alb...@fsfe.org> wrote:

> please update the ignore rules for nagios:
> nagios (at least nagios3) will write two lines for each passive
> service check that it resives through nsca:
> .... nagios3: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;...
> .... nagios3: PASSIVE SERVICE CHECK: ...
>
> the first one is already ignored, but the last one triggers an email
> every time logcheck runs if there were any passive service check results.
>
> at least in my enviroment that makes it unusable because in my enviroment it
> is normal that i recive serveral passive service results
> (it would be more alarming if they are not there actually...)
>
> so i wrote a simple rule to ignore them (see patch)

The provided file proposed the following rule:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios(2|3)?: PASSIVE SERVICE
CHECK: [._[:alnum:]-]+;.*$

Is there still nned and interest in adding this - i think it needs
some updating in 2024, for example:
- missing a PID,
- unclear whether the (2|3)? is still needed? the package seems to be
nagios4 now
- it looks quite broad(?)

so i suspect the need for this rule has passed?

Reply via email to