[Nagiosplug-devel] Nagios freeBSD problem with plugins

bouhlel ridha ridha2501 at gmail.com
Tue Feb 24 14:45:47 CET 2009


I use nagios-plugins-1.4.13.tar.gz  under FreeBSD 7.1

Thanks

On Mon, Feb 23, 2009 at 3:03 PM, bouhlel ridha <ridha2501 at gmail.com> wrote:

> Dear Sir,
>
> I found a problem with the plagin check_disk of nagios with -p option,
> there is a segmentation fault :
>
>
> (gdb) r  -w 1% -c %1 -vvv -p /usr
> Starting program: /usr/generation_package/Test_compil_Ridha/packaging/GSUP/dist/exec/applis/superv/CE_nagios-plugins/current/bin/check_disk
> -w 1% -c %1 -vvv -p /usr
> calling stat on /usr
> calling stat on /usr
> For /usr, total=3102260, available=1095634, available_to_root=1343814,
> used=1758446, fsp.fsu_files=824318, fsp.fsu_ffree=569400
> For /usr, used_pct=62 free_pct=38 used_units=3434 free_units=2139
> total_units=6059 used_inodes_pct=31 free_inodes_pct=69
> fsp.fsu_blocksize=2048 mult=1048576
> Freespace_units result=0
> Freespace% result=0
> Usedspace_units result=0
> Usedspace_percent result=0
> Usedinodes_percent result=0
>
> Program received signal SIGSEGV, Segmentation fault.
> check_range (value=69, my_range=0x424d) at utils_base.c:168
> 168             if (my_range->alert_on == INSIDE) {
> (gdb) bt
> #0  check_range (value=69, my_range=0x424d) at utils_base.c:168
> #1  0x0804cf83 in get_status (value=69, my_thresholds=0x2820a09c) at
> utils_base.c:201
> #2  0x0804b425 in main (argc=Error accessing memory address 0x0: Bad
> address.
> ) at check_disk.c:359
> (gdb)
>
>
> Could yuo please help me resolving this problem!
>
> Thank you
> Ridha Bouhlel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20090224/90ab7e40/attachment.html>


More information about the Devel mailing list