I have found someone else also found and fixed the same problem, almost a year ago.
See https://github.com/nagios-plugins/nagio ... /issues/70
It hasn't been included yet...
I've attached a patch file to the posting, hoping it will draw attention and included.
Search found 2 matches
- Fri Jan 22, 2016 2:20 am
- Forum: Open Source Nagios Projects
- Topic: check_dhcp core dump + patch (OpenBSD)
- Replies: 3
- Views: 2362
- Fri Jan 15, 2016 4:48 am
- Forum: Open Source Nagios Projects
- Topic: check_dhcp core dump + patch (OpenBSD)
- Replies: 3
- Views: 2362
check_dhcp core dump + patch (OpenBSD)
Hi,
On OpenBSD 5.8, 64 bits (amd64), check_dhcp dumps core:
# /usr/local/nagios/libexec/check_dhcp -i em0
Abort trap
The attached patch fixes it.
Basically, sysctl function requires a size_t argument instead of an int.
Regards,
Wim.
On OpenBSD 5.8, 64 bits (amd64), check_dhcp dumps core:
# /usr/local/nagios/libexec/check_dhcp -i em0
Abort trap
The attached patch fixes it.
Basically, sysctl function requires a size_t argument instead of an int.
Regards,
Wim.