[Nagiosplug-help] Check_dig returning warning state incorrectly

Ton Voon tonvoon at mac.com
Mon Sep 26 02:42:12 CEST 2005


On 26 Sep 2005, at 10:34, Hans Engelen wrote:
>
> I agree, so I took a look at you configure script and I think the  
> problem is kind of simple. It seems to me the regexp that triggers  
> the check for the spopen problem is too restrictive. I am talking  
> about this line :
>
> > if echo $ac_cv_uname_r | egrep "\.EL$" >/dev/null 2>&1 ; then
> >       echo "$as_me:$LINENO: checking for redhat spopen problem" >&5
>
> This if I am not mistaken will not for the smp kernel where uname - 
> r returns something like :
>
> > [root at box]# uname -r
> > 2.6.9-17.ELsmp
>
> A reply that does not trigger your IF I think resulting in the  
> spopen workaround never getting tested or even activated.
>
> Mind you this is just a quick deduction I made. Forgive me if it is  
> wrong or I am jumping to conclusions.

Good observation. Can you change the configure script so the line is:

egrep "\.EL(smp)?$"

and see whether this works? I'll update CVS when you've confirmed.

Ton









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050926/23faa389/attachment.html>


More information about the Help mailing list