Issues fusing Nagios Core
Posted: Wed Dec 06, 2017 9:56 am
Running into an issue with Nagios Fusion server trying to authenticate to a Nagios core server. The question I have is why is fusion unable to authenticate to pull the .jason from the Nagios core server. Other methods of extracting the data work (web browsing, curl).
Versions
Nagios Core – 4.3.4
Nagios Fusion - 4
/etc/httpd/logs/ssl_error_log (same error on non SSL systems in /etc/httpd/logs/error)
[Wed Dec 06 07:53:01.032358 2017] [auth_basic:error] [pid 46766] [client 10.200.64.99:56156] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
[Wed Dec 06 07:53:01.072970 2017] [auth_basic:error] [pid 46971] [client 10.200.64.99:56160] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
[Wed Dec 06 07:53:02.302558 2017] [auth_basic:error] [pid 52628] [client 10.200.64.99:56168] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
/usr/local/nagiosfusion/var/log/auth_subsys.log
2017-12-06 07:57:40[s: 5, u: 0] Failed authentication check
2017-12-06 07:57:40[s: 4, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 6, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 5, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 4, u: 0] Failed authentication check
2017-12-06 07:57:42[s: 6, u: 0] Failed authentication check
/usr/local/nagiosfusion/var/log/poll_subsys.2.systemuser.log
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:18[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:alerts
2017-12-05 05:48:18[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
live_data_timeout: 45
start: 1512474498
end: 1512474499
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:19[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:hostgroupmembers
2017-12-05 05:48:19[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
live_data_timeout: 45
start: 1512474499
end: 1512474499
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:19[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:servicegroupmembers
2017-12-05 05:48:19[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
Varification fusion is able to authenticate with the systemuser to 10.57.1.100 (core server)
curl –u systemuser:PASSWORD http://10.56.1.100/nagios/cgi-bin/objec ... count=1000
Following the same url in a browser and it downloads the correct Jason output from the core server.
[root@nagiosfusion1-v log]# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://10.56.1.100/nagios/cgi-bin/obje ... re</a>.</p>
</body></html>
[1]- Done curl -u systemuser:tatct0ap! http://10.56.1.100/nagios/cgi-bin/objec ... tgrouplist
[2]+ Done details=true
Versions
Nagios Core – 4.3.4
Nagios Fusion - 4
/etc/httpd/logs/ssl_error_log (same error on non SSL systems in /etc/httpd/logs/error)
[Wed Dec 06 07:53:01.032358 2017] [auth_basic:error] [pid 46766] [client 10.200.64.99:56156] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
[Wed Dec 06 07:53:01.072970 2017] [auth_basic:error] [pid 46971] [client 10.200.64.99:56160] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
[Wed Dec 06 07:53:02.302558 2017] [auth_basic:error] [pid 52628] [client 10.200.64.99:56168] AH01617: user systemuser: authentication failure for "/nagios/": Password Mismatch
/usr/local/nagiosfusion/var/log/auth_subsys.log
2017-12-06 07:57:40[s: 5, u: 0] Failed authentication check
2017-12-06 07:57:40[s: 4, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 6, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 5, u: 0] Failed authentication check
2017-12-06 07:57:41[s: 4, u: 0] Failed authentication check
2017-12-06 07:57:42[s: 6, u: 0] Failed authentication check
/usr/local/nagiosfusion/var/log/poll_subsys.2.systemuser.log
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:18[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:alerts
2017-12-05 05:48:18[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
live_data_timeout: 45
start: 1512474498
end: 1512474499
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:19[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:hostgroupmembers
2017-12-05 05:48:19[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
live_data_timeout: 45
start: 1512474499
end: 1512474499
URL: http://systemuser:7p7d¥ÓSÚ@10.56.1.100/ ... count=1000
2017-12-05 05:48:19[s: 0, u: 0] poll_server() unable to poll data for s:1138Nagios, u:systemuser, poll:servicegroupmembers
2017-12-05 05:48:19[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
Varification fusion is able to authenticate with the systemuser to 10.57.1.100 (core server)
curl –u systemuser:PASSWORD http://10.56.1.100/nagios/cgi-bin/objec ... count=1000
Following the same url in a browser and it downloads the correct Jason output from the core server.
[root@nagiosfusion1-v log]# <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://10.56.1.100/nagios/cgi-bin/obje ... re</a>.</p>
</body></html>
[1]- Done curl -u systemuser:tatct0ap! http://10.56.1.100/nagios/cgi-bin/objec ... tgrouplist
[2]+ Done details=true