I have Nagios2024R1.0.2 freshly installed on an Ubuntu 22 VM. Everything is setup and working nicely however I keep getting this 'Check for Updates failed' notification. I have read the other posts here and everyone keeps asking or talking about a proxy setup. In my scenario, I do not need a proxy as the machine has full access to the internet as I registered my license, I can do Ubuntu updates, I can ping external sites, wget and everything works. I have checked the following log files:
/usr/local/nagiosxi/tmp/upgrade.log - does not exist
/var/log/httpd - directory doesnt exist so there is no error.log or access.log
The only reference I can find to an error is in the /usr/local/nagiosxi/var folder and a log called load_url.log and it has this error which doesn't really tell me much of anything other than me wondering about it trying to go out HTTPS/443 but I haven't loaded an SSL cert yet so i'm still using HTTP/80 but that could just be nothing.
Can anyone point me in a better direction on where to look to get that working?
Code: Select all
CURL ERROR
TIME: 2024-03-22T08:13:41-07:00
Array
(
[url] => https://api.nagios.com/versioncheck/?product=nagiosxi&version=2024R1.0.2&build=1708011339&stableonly=1&output=xml&k5=41ff980012640f0720450a954eec2e3c&h=70&s=678&ostype=Ubuntu22&installtype=source&uuid=0fa49c54-177b-4c5c-b61d-0b56216a3873&arch=64
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 332
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 15.000549
[namelookup_time] => 0.000454
[connect_time] => 0.049449
[pretransfer_time] => 0.222507
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 50.116.21.73
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => <local nagiosxi server ip>
[local_port] => 56068
[http_version] => 0
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 222475
[connect_time_us] => 49449
[namelookup_time_us] => 454
[pretransfer_time_us] => 222507
[redirect_time_us] => 0
[starttransfer_time_us] => 0
[total_time_us] => 15000549
)
URL: https://api.nagios.com/versioncheck/?product=nagiosxi&version=2024R1.0.2&build=1708011339&stableonly=1&output=xml&k5=41ff980012640f0720450a954eec2e3c&h=70&s=678&ostype=Ubuntu22&installtype=source&uuid=0fa49c54-177b-4c5c-b61d-0b56216a3873&arch=64
OPTIONS: Array
(
[return_info] => 1
[method] => get
[timeout] => 15
)
END LOGENTRY