Search found 7 matches
- Sat Feb 06, 2021 2:04 pm
- Forum: Open Source Nagios Projects
- Topic: read_cgi_config_file() fails after upgrading to PHP 8.0
- Replies: 0
- Views: 2947
read_cgi_config_file() fails after upgrading to PHP 8.0
I'm using nagios 4.4.6 on FreeBSD 12.2-RELEASE and just upgraded from PHP 7.4 to 8.0. Trying to load the main nagios index.php results in: Warning: Trying to access array offset on value of type bool in /usr/local/www/nagios/includes/utils.inc.php on line 217 read_cgi_config_file() is looping on !fe...
- Fri Feb 28, 2020 9:14 pm
- Forum: Open Source Nagios Projects
- Topic: 2.3.2 breaks -s, -r, and -R for check_http
- Replies: 5
- Views: 2597
Re: 2.3.2 breaks -s, -r, and -R for check_http
Ooosp! While your patch does fix check_http when the http server provides a content-length header is does not help if the header is missing. By my read of the spec, content-length is not required: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html Applications SHOULD use this field to indicate ...
- Fri Feb 28, 2020 8:23 pm
- Forum: Open Source Nagios Projects
- Topic: 2.3.2 breaks -s, -r, and -R for check_http
- Replies: 5
- Views: 2597
Re: 2.3.2 breaks -s, -r, and -R for check_http
Thanks for the patch! I can confirm it solves this. I created this FreeBSD PR.
- Wed Feb 26, 2020 1:53 pm
- Forum: Open Source Nagios Projects
- Topic: 2.3.2 breaks -s, -r, and -R for check_http
- Replies: 5
- Views: 2597
Re: 2.3.2 breaks -s, -r, and -R for check_http
Actually I did debug a bit more: adding -v to my http://www.freebsd.org examples shows that 2.3.1 gets 583 lines of content/body while 2.3.2 only gets 177 lines.
- Wed Feb 26, 2020 1:50 pm
- Forum: Open Source Nagios Projects
- Topic: 2.3.2 breaks -s, -r, and -R for check_http
- Replies: 5
- Views: 2597
2.3.2 breaks -s, -r, and -R for check_http
After upgrading to nagios-plugins 2.3.2 I'm unable to get any of the -s, -r, or -R flags to work with check_http: # 2.3.1 works fun 235 % pkg info nagios-plugins | fgrep Version Version : 2.3.1,1 fun 236 % /usr/local/libexec/nagios/check_http -S -H www.freebsd.org -s operating HTTP OK: HTTP/1.1 200 ...
- Thu Feb 23, 2017 12:20 pm
- Forum: Open Source Nagios Projects
- Topic: check_http fails when Transfer-Encoding is the last header
- Replies: 3
- Views: 2856
Re: check_http fails when Transfer-Encoding is the last head
Thanks! I would have posted there directly but when I went looking for where to report bugs I started here:
https://nagios-plugins.org/support/
which references the support forums for reporting bugs and does not mention the github repo as far as I can see.
https://nagios-plugins.org/support/
which references the support forums for reporting bugs and does not mention the github repo as far as I can see.
- Wed Feb 22, 2017 10:30 pm
- Forum: Open Source Nagios Projects
- Topic: check_http fails when Transfer-Encoding is the last header
- Replies: 3
- Views: 2856
check_http fails when Transfer-Encoding is the last header
After upgrading nagios-plugins from 2.1.4 to 2.2.0 check_http started failing for a couple of sites. This appears to be because there is no trailing \r\n after nTransfer-Encoding header which happens in the failing case to appear last: (gdb) set print elements 1024 (gdb) p header $6 = 0x42b52c "...