[Nagiosplug-devel] check_disk plugin problems
Matthias Eble
matthias.eble at mailing.kaufland-informationssysteme.com
Fri Jul 20 11:04:03 CEST 2007
Stefan Lambrev schrieb:
> Hello,
>
> I'm having some strange problems with nagios' check_disk plugin under
> FreeBSD i386 7-current.
>
> 1st if I use -p /some/path the plugin exits with segmentation fault -
> http://cheffo.freebsd-bg.org/ktrace.out provided if someone knows
> how to use ktrace/kdump
>
> 2nd problem is "-c" option does not work at all.
> Here is example:
>
> /usr/local/libexec/nagios/check_disk -c 99%
> DISK OK - free space: / 3792 MB (83% inode=99%); /dev 0 MB (0% inode=-);
> /tmp 4559 MB (99% inode=99%); /usr 91711 MB (97% inode=98%); /var 18101
> MB (99% inode=99%);| /=769MB;;;0;4958 /dev=0MB;;;0;0 /tmp=2MB;;;0;4958
> /usr=2006MB;;;0;101867 /var=144MB;;;0;19832
>
> it is quite strange that -w is working may be they work in different ways ?
>
> Thanks in advance.
>
> P.S. I'm not subscribed so please CC me on replies.
>
Hi Stefan,
never used ktrace.. However. Which version of the plugins are you using?
I have a freebsd 6.2 here and everything works fine. -w should work
exactly like -c.
I successfully ran the test cases for the latest snapshot on my freebsd
box, too.
Could you send an output of the segfaulting call with -vvvv turned on?
Matthias
More information about the Devel
mailing list