[Nagiosplug-devel] Nagios freeBSD problem with plugins
Thomas Guyot-Sionnest
dermoth at aei.ca
Tue Feb 24 11:21:48 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23/02/09 09:03 AM, bouhlel ridha 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!
Sure. First I will need to know which version of the plugins you are
using. If possible, grab the latest snapshot and try with it (no need to
install them; just run check_http off the plugins/ directory after
compiling them)
http://nagiosplug.sourceforge.net/snapshot/
Thanks
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJo8o86dZ+Kt5BchYRAty/AJ9NeCeb73oMf32MZA28dbOZPuGfyACdHLwJ
nkU6RbcZnLR5NeycJmkBtEg=
=j4hS
-----END PGP SIGNATURE-----
More information about the Devel
mailing list