Re: Install Check_HTTP_Content
Posted: Mon May 08, 2017 3:47 pm
Will it hurt anything if I recompile the newest version over 4.1.1? do you have instructions for upgrading from 4.1.1 to 4.3?
Support for Nagios products and services
https://support.nagios.com/forum/
Make sure you have a good backup of your existing Nagios Core installation and configuration files. If anything goes wrong or doesn't work, this will allow you to rollback to your old version.
Code: Select all
root@raspberrypi:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_http -H snapgeek.com -s "2017"
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - string '2017' not found on 'http://snapgeek.com:80/' - 224 bytes in 0.764 second response time |time=0.764375s;;;0.000000 size=224B;;;0
They probably were, but they seem to have been compiled without ssl support. If you follow our instructions for 2.2.0 you should get ssl support.t3dus wrote:I had thought they were compiled from the get go but maybe they weren't.
So bottom line, I need to get SSL to work first cuz otherwise nagios can't read "https" links?dwhitfield wrote:They probably were, but they seem to have been compiled without ssl support. If you follow our instructions for 2.2.0 you should get ssl support.t3dus wrote:I had thought they were compiled from the get go but maybe they weren't.
You're forcing ssl on the site. ***http***://snapgeek.com doesn't have '2017' because it doesn't exist.
That's not exactly right. This is one particular plugin (check_http) among 4192 at https://exchange.nagios.org/directory/Plugins . If you want to use check_http, then yes, you will need to recompile nagios-plugins.t3dus wrote:otherwise nagios can't read "https" links?