Page 1 of 1

[Nagios-devel] embedded-perl problem (bug?)

PostPosted: Thu Apr 18, 2002 8:35 am
by Guest
Hi guys,

Nagios-1.0a7 segfaults without any error message when check_ifstatus.pl
is used. Nothing shows up when run, from the command line; only a
notification of SIGSEGV is shown in nagios.log.

I tried the same configuration over, after recompiling nagios -- now
without embedded-perl. This time all works fine. (probably this is not a
problem related to this specific plugin)

Nagios runs on a RedHat 7.2 i386 system.

The output from the plugin when run from the command line is:

Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
Use of uninitialized value in sprintf at ./check_ifstatus.pl line 148.
CRITICAL: host 'dummy-router', interfaces up: 40, down: 13, dormant:
0
ATM1/0.5-atm subif: down ->
ATM1/0.5-aal5 layer: down ->

ATM1/0.50-atm subif: down ->
ATM1/0.50-aal5 layer: down ->

Serial2/1: down -> === connection to IMEC ===
E1 4/3: down ->

E1 4/4: down ->
E1 4/5: down ->
E1 4/6: down ->
E1 4/7:
down ->
E1 4/0: down ->
E1 4/1: down ->
E1 4/2: down ->



I hope this can help you!
If not, please let me know how I can help to debug.
All suggestions are welcome!

Regards,
Guy










This post was automatically imported from historical nagios-devel mailing list archives
Original poster: guy.vandenbergh@belnet.be