Unable to retrieve data from the local cache.
Posted: Tue Apr 19, 2016 1:13 pm
I recently installed a new nagios fusion server and attempted to add an existing nagios core server that is monitoring many other machines and services ..
Under the Configure->Fused Server Credentials It appears that all the entries are valid and the
I have been researching the message: Unable to retrieve data from the local cache. on google, and it appears that from most issues there was a problem with the host config - in my case this does not appears to be the case but I still don't see any data in the local cache for 2-3 hours since it has started up
I see that it attempts to get data from the cache - but it always returns with this Error Message:
Unable to retrieve data from the local cache.
I did some digging under:
/var/log/httpd/error_log on my local install and found and error message:
[error] [client 172.29.106.75] File does not exist: /opt/nagios/share/cgi-bin
/var/log/httpd/access_log on my local install and found and error message:
72.29.106.75 - nagiosadmin [19/Apr/2016:12:08:50 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - - [19/Apr/2016:12:09:34 -0700] "GET / HTTP/1.1" 401 482 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - nagiosadmin [19/Apr/2016:12:09:34 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - - [19/Apr/2016:12:10:51 -0700] "GET / HTTP/1.1" 401 482 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - nagiosadmin [19/Apr/2016:12:10:51 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
I also found out looking at the nagios fusion install
.../nagiosfusion/var/load_url.log
It has an error message that suggests a CURL error:
END LOGENTRY
Yet all the authentication seems to checkout as valid ..
Any help you can offer would be greatly appreciated
Thanks
Dave W.
Under the Configure->Fused Server Credentials It appears that all the entries are valid and the
I have been researching the message: Unable to retrieve data from the local cache. on google, and it appears that from most issues there was a problem with the host config - in my case this does not appears to be the case but I still don't see any data in the local cache for 2-3 hours since it has started up
I see that it attempts to get data from the cache - but it always returns with this Error Message:
Unable to retrieve data from the local cache.
I did some digging under:
/var/log/httpd/error_log on my local install and found and error message:
[error] [client 172.29.106.75] File does not exist: /opt/nagios/share/cgi-bin
/var/log/httpd/access_log on my local install and found and error message:
72.29.106.75 - nagiosadmin [19/Apr/2016:12:08:50 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - - [19/Apr/2016:12:09:34 -0700] "GET / HTTP/1.1" 401 482 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - nagiosadmin [19/Apr/2016:12:09:34 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - - [19/Apr/2016:12:10:51 -0700] "GET / HTTP/1.1" 401 482 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
172.29.106.75 - nagiosadmin [19/Apr/2016:12:10:51 -0700] "GET // HTTP/1.1" 200 901 "-" "BinGet/1.00.A (http://www.bin-co.com/php/scripts/load/)"
I also found out looking at the nagios fusion install
.../nagiosfusion/var/load_url.log
It has an error message that suggests a CURL error:
Code: Select all
CURL ERROR
TIME: 2016-04-19T14:39:18-07:00
Array
(
[url] => http://://
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
)
URL:
:///backend/?&username=&password=d41d8cd98f00b204e9800998ecf8427e&cmd=gethostgroupmembers&hostgroup_name=
OPTIONS:
Array
(
[timeout] => 15
[return_info] => 1
[method] => post
)
BACKTRACE:
Array
(
[0] => Array
(
[file] => /usr/local/nagiosfusion/html/includes/utils-servers.inc.php
[line] => 596
[function] => load_url
[args] => Array
[root@mcp-bld-lnx-236 var]# cat load_url.log
CURL ERROR
TIME: 2016-04-19T14:39:18-07:00
Array
(
[url] => http://://
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
)
URL:
:///backend/?&username=&password=d41d8cd98f00b204e9800998ecf8427e&cmd=gethostgroupmembers&hostgroup_name=
OPTIONS:
Array
(
[timeout] => 15
[return_info] => 1
[method] => post
)
BACKTRACE:
Array
(
[0] => Array
(
[file] => /usr/local/nagiosfusion/html/includes/utils-servers.inc.php
[line] => 596
[function] => load_url
[args] => Array
(
[0] => :///backend/?&username=&password=d41d8cd98f00b204e9800998ecf8427e&cmd=gethostgroupmembers&hostgroup_name=
[1] => Array
(
[timeout] => 15
[return_info] => 1
[method] => post
)
)
)
[1] => Array
(
[file] => /usr/local/nagiosfusion/html/includes/dashlets/hostgroup/hostgroup.inc.php
[line] => 166
[function] => get_server_data_from_url
[args] => Array
(
[0] => :///backend/?&username=&password=d41d8cd98f00b204e9800998ecf8427e&cmd=gethostgroupmembers&hostgroup_name=
)
)
[2] => Array
(
[file] => /usr/local/nagiosfusion/html/ajaxhelper.php
[line] => 753
[function] => fusioncore_ajax_get_hostgroup_html
[args] => Array
(
[0] => Array
(
[sid] =>
[hostgroup] =>
[nsp] => dba3b67c0e44a5da983f89b543034ccc
[iframe_width] => 300
[iframe_height] => 80
[mode] => inboard
)
)
)
[3] => Array
(
[file] => /usr/local/nagiosfusion/html/ajaxhelper.php
[line] => 69
[function] => ah_get_fusioncore_ajaxdata
[args] => Array
(
)
)
[4] => Array
(
[file] => /usr/local/nagiosfusion/html/ajaxhelper.php
[line] => 25
[function] => route_request
[args] => Array
(
)
)
)Yet all the authentication seems to checkout as valid ..
Any help you can offer would be greatly appreciated
Thanks
Dave W.