[Nagiosplug-help] Check_dig returning warning state incorrectly
tonvoon at mac.com
Mon Sep 26 03:45:19 CEST 2005
On 26 Sep 2005, at 11:03, Hans Engelen wrote:
> On 9/26/05, Ton Voon <tonvoon at mac.com> wrote:
> 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.
> I think this is the line I should get from configure then :
> > checking for redhat spopen problem... error
> So far (and I have manually ran a check_dig about 50 times now
> where before I would get a warning once every ten tries) all seems
> well with the plugin too.
> However, I am wondering if even this regexp is enough. I think
> there is a third kind of kernel used by Red Hat, the hugemem
> kernel. Personally not one I am using over here so not sure what
> that returns on a uname -r.
> Either way, seems my check_dig is back on track, thanks.
The logic we used for the configure script was to avoid doing
unnecessary checks on other OSes, hence the grep of uname -r. If
CentOS and Fedora display the problem, then we'll either have to
expand the grep or run the test for every OS (which I would prefer
not to do).
Sascha says that this is due to --enable-threads on bind9. Is there
another way of checking for this problem? grep "libpthread" /usr/bin/
nslookup && uname -s = "Linux" ? I'm open to suggestions before
updating the grep for the smp uname -r output.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Help