Search found 6 matches

by kdip
Fri Oct 09, 2015 10:25 am
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

Re: segfault in check_tcp, check_smtp on a closed port

A fix has been propagated through the FreeBSD ports system. If it originated here, thank you!

If not, here is the github post referenced in the port commit message:

https://github.com/stromnet/nagios-plug ... 2a1541a067

Thanks again for checking on this.
by kdip
Thu Sep 24, 2015 7:48 am
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

Re: segfault in check_tcp, check_smtp on a closed port

Some additional tidbits, in case they'll help. nagios-plugins-2.1.1, compiled and installed on a linux (Mint, 17.1 Rebecca) works fine. nagios-plugins-2.1.0 and -2.1.1, compiled from source on FreeBSD amd64, has this problem. nagios-plugins-2.0.3, compiled from source on FreeBSD amd64, works fine. F...
by kdip
Thu Sep 24, 2015 7:37 am
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

Re: segfault in check_tcp, check_smtp on a closed port

FreeBSD apparently uses truss, not strace. I'm guessing the output will be similar: > truss -s 255 -o /tmp/truss_check_smtp ./check_smtp -H localhost (...) madvise(0x801494000,0x2000,0x5,0x93,0x7fffffffe040,0xffffffff) = 0 (0x0) __sysctl(0x7fffffffea10,0x2,0x801440100,0x7fffffffea08,0x0,0x0) = 0 (0x...
by kdip
Wed Sep 23, 2015 12:23 pm
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

Re: segfault in check_tcp, check_smtp on a closed port

I get segfault on remote systems as well as localhost.
by kdip
Wed Sep 23, 2015 7:58 am
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

Re: segfault in check_tcp, check_smtp on a closed port

Sorry for the delay, I was away from the office for a bit. Yes, localhost is defined:

::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain

what else should I look for?

Thanks,
Kyle
by kdip
Mon Sep 14, 2015 8:53 am
Forum: Open Source Nagios Projects
Topic: segfault in check_tcp, check_smtp on a closed port
Replies: 10
Views: 5523

segfault in check_tcp, check_smtp on a closed port

Hello, I'm running freebsd 9.3 on amd64 with nagios-plugins 2.1.1. After the upgrade to 2.1.1 last week, check_smtp and check_tcp segfault when the port they are meant to be monitoring is closed: nagios@grackle:/usr/local/libexec/nagios>./check_smtp -V check_smtp v (nagios-plugins 2.1.1) nagios@grac...