After upgdare from 4.1.1 > 4.3.4 Map got error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rnxdra
Posts: 3
Joined: Mon Dec 11, 2017 4:03 am

After upgdare from 4.1.1 > 4.3.4 Map got error

Post by rnxdra »

Hello,

I am new to this forum, please advise me ho to solve my issue:

It was Nagios Core 4.1.1 on Centos 7.4.1708 Core and works well. After upgrade to 4.3.4 almost everything working well except the Map, legacy one are fine, the map's page just blank with animation icon on the top left corner, animating forever.
The upgrade done by following this guidance: https://www.howtovmlinux.com/articles/m ... 4-x-x.html

It would be greatly appreciated if anyone can assist me to solve this.

Thank you

RNXDRA
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: After upgdare from 4.1.1 > 4.3.4 Map got error

Post by dwhitfield »

What does the source look like on that page? In Firefox, you can get the source by pressing CTRL+U.

Are there any errors in your apache log? /var/log/httpd possibly, but it will depend on your OS (and I suppose it's possible you aren't using apache, but the guide suggests you are)
rnxdra
Posts: 3
Joined: Mon Dec 11, 2017 4:03 am

Re: After upgdare from 4.1.1 > 4.3.4 Map got error

Post by rnxdra »

Here are the Ctrl+U on Firefox;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html>
<head>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<script LANGUAGE="javascript">
var n = Math.round(Math.random() * 10000000000);
document.write("<title>Nagios Core on " + window.location.hostname + "</title>");
document.cookie = "NagFormId=" + n.toString(16);
</script>
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico">
</head>

<frameset cols="180,*" style="border: 0px;">
<frame src="side.php" name="side" frameborder="0" style="">
<frame src="main.php" name="main" frameborder="0" style="">

<noframes>
<!-- This page requires a web browser which supports frames. -->
<h2>Nagios Core</h2>
<p align="center">
<a href="https://www.nagios.org/">www.nagios.org</a><br>
Copyright © 2010-2017 Nagios Core Development Team and Community Contributors.
Copyright © 1999-2010 Ethan Galstad<br>
</p>
<p>
<i>Note: These pages require a browser which supports frames</i>
</p>
</noframes>
</frameset>

</html>


httpd on Centos 7.x is Apache, please correct me if i am wrong but i am not so familiar with Apache log an here are the conten of /var/log/httpd

[Sun Dec 10 03:15:02.233029 2017] [auth_digest:notice] [pid 902] AH01757: generating secret for digest authentication ...
[Sun Dec 10 03:15:02.233652 2017] [lbmethod_heartbeat:notice] [pid 902] AH02282: No slotmem from mod_heartmonitor
[Sun Dec 10 03:15:02.240389 2017] [mpm_prefork:notice] [pid 902] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Sun Dec 10 03:15:02.240397 2017] [core:notice] [pid 902] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 11 13:33:41.740837 2017] [mpm_prefork:notice] [pid 902] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 11 13:34:32.172369 2017] [core:notice] [pid 899] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Dec 11 13:34:32.254717 2017] [suexec:notice] [pid 899] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.30.142.13. Set the 'ServerName' directive globally to suppress this message
[Mon Dec 11 13:34:32.349655 2017] [auth_digest:notice] [pid 899] AH01757: generating secret for digest authentication ...
[Mon Dec 11 13:34:32.353979 2017] [lbmethod_heartbeat:notice] [pid 899] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 11 13:34:32.765216 2017] [mpm_prefork:notice] [pid 899] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Dec 11 13:34:32.765275 2017] [core:notice] [pid 899] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 11 13:45:20.549866 2017] [mpm_prefork:notice] [pid 899] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 11 13:50:22.435667 2017] [core:notice] [pid 18032] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Dec 11 13:50:22.438880 2017] [suexec:notice] [pid 18032] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.30.142.13. Set the 'ServerName' directive globally to suppress this message
[Mon Dec 11 13:50:22.481898 2017] [auth_digest:notice] [pid 18032] AH01757: generating secret for digest authentication ...
[Mon Dec 11 13:50:22.483535 2017] [lbmethod_heartbeat:notice] [pid 18032] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 11 13:50:22.586560 2017] [mpm_prefork:notice] [pid 18032] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Dec 11 13:50:22.586610 2017] [core:notice] [pid 18032] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 11 14:03:02.038494 2017] [mpm_prefork:notice] [pid 18032] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 11 14:03:03.144873 2017] [core:notice] [pid 20295] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Dec 11 14:03:03.146648 2017] [suexec:notice] [pid 20295] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.30.142.13. Set the 'ServerName' directive globally to suppress this message
[Mon Dec 11 14:03:03.191432 2017] [auth_digest:notice] [pid 20295] AH01757: generating secret for digest authentication ...
[Mon Dec 11 14:03:03.192509 2017] [lbmethod_heartbeat:notice] [pid 20295] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 11 14:03:03.208198 2017] [mpm_prefork:notice] [pid 20295] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Dec 11 14:03:03.208222 2017] [core:notice] [pid 20295] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 11 14:07:46.994971 2017] [mpm_prefork:notice] [pid 20295] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 11 14:07:48.096143 2017] [core:notice] [pid 21215] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Dec 11 14:07:48.097863 2017] [suexec:notice] [pid 21215] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.30.142.13. Set the 'ServerName' directive globally to suppress this message
[Mon Dec 11 14:07:48.142648 2017] [auth_digest:notice] [pid 21215] AH01757: generating secret for digest authentication ...
[Mon Dec 11 14:07:48.144077 2017] [lbmethod_heartbeat:notice] [pid 21215] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 11 14:07:48.170414 2017] [mpm_prefork:notice] [pid 21215] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Dec 11 14:07:48.170454 2017] [core:notice] [pid 21215] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 11 14:12:54.057708 2017] [mpm_prefork:notice] [pid 21215] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 11 14:13:21.589365 2017] [core:notice] [pid 900] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Dec 11 14:13:21.638791 2017] [suexec:notice] [pid 900] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.30.142.13. Set the 'ServerName' directive globally to suppress this message
[Mon Dec 11 14:13:21.732081 2017] [auth_digest:notice] [pid 900] AH01757: generating secret for digest authentication ...
[Mon Dec 11 14:13:21.733854 2017] [lbmethod_heartbeat:notice] [pid 900] AH02282: No slotmem from mod_heartmonitor
[Mon Dec 11 14:13:21.976278 2017] [mpm_prefork:notice] [pid 900] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Dec 11 14:13:21.976314 2017] [core:notice] [pid 900] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'



RNXDRA
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgdare from 4.1.1 > 4.3.4 Map got error

Post by npolovenko »

@rnxdra, Are you able to access map.php? http://core_ip/nagios/map.php Can you send us the source code of that page as well? Also, please try a different browser just for testing purposes, maybe a google chrome.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rnxdra
Posts: 3
Joined: Mon Dec 11, 2017 4:03 am

Re: After upgdare from 4.1.1 > 4.3.4 Map got error

Post by rnxdra »

npolovenko wrote:@rnxdra, Are you able to access map.php? http://core_ip/nagios/map.php Can you send us the source code of that page as well? Also, please try a different browser just for testing purposes, maybe a google chrome.
Suddenly Map is working, just starting today, without any significant configuration has been change, there was restart Nagios service due same host reconfiguration.
So far I use Firefox ESR and no issue with Nagios.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgdare from 4.1.1 > 4.3.4 Map got error

Post by npolovenko »

@rnxdra, Great, I'll leave this thread open for a while so you can let us know if the map stops working again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked