Page 6 of 15

Re: Nagios 4.1.1 Statusmap problem

Posted: Fri Sep 11, 2015 5:21 pm
by whitest
You'll laugh, but it not helped.
I've installed and updated absolutly clean OS Centos 6.7 x64 as Minmal Desktop (Perhaps GUI will be needed for install oracle client later.), PHP 5.3.
Then I installed Nagios 4.1.2-beta and nagios-plugins as discribed here: https://assets.nagios.com/downloads/nag ... edora.html. Then I made changes from the link: https://github.com/NagiosEnterprises/na ... d9ec6c7R25
Then I added 1 host and apply changed. When I've clicked on the map link the result was the same as was on my pruduction server. =|
I've tried FF and IE11.

---
To the point, I think you have an mistake in the installation guide:
Compile and install the plugins.

./configure --with-nagios-user=nagios --with-nagios-group=nagios
I think the right command is:

Code: Select all

./configure --with-nagios-user=nagios --with-nagios-group=nagcmd
Moreover, on the fresh install I recieve error when triying to "Re-schedule the next check of this service"

Code: Select all

Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
Return from whence you came

Code: Select all

[root@nagios2 /]# ls -la /usr/local/nagios/var/rw/nagios.cmd
prw-rw----. 1 nagios nagcmd 0 Sep 12 01:01 /usr/local/nagios/var/rw/nagios.cmd
[root@nagios2 /]#

Code: Select all

[root@nagios2 /]# ls -la /usr/local/nagios/var/rw/
total 8
drwxrwsr-x. 2 nagios nagcmd 4096 Sep 12 01:23 .
drwxrwxr-x. 5 nagios nagios 4096 Sep 12 01:26 ..
prw-rw----. 1 nagios nagcmd    0 Sep 12 01:01 nagios.cmd
srw-rw----. 1 nagios nagcmd    0 Sep 12 01:23 nagios.qh

Re: Nagios 4.1.1 Statusmap problem

Posted: Sat Sep 12, 2015 1:35 am
by whitest
Here is error.log:

Code: Select all

[root@nagios2 /]# tail -f /var/log/httpd/error_log
[Sat Sep 12 08:30:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 08:35:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 08:40:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 08:45:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 08:50:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 08:55:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 09:00:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 09:05:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 09:10:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 09:15:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Sep 12 09:20:07 2015] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/

Re: Nagios 4.1.1 Statusmap problem

Posted: Sat Sep 12, 2015 1:38 am
by whitest
May be you can share for me acces to your Nagios server and I''ll check the Map from my PCs? You can provide access details in PM.

Re: Nagios 4.1.1 Statusmap problem

Posted: Sun Sep 13, 2015 5:05 pm
by DanielB
Hi, all!

Here I am having a similar problem. This morning I upgraded to Nagios 4.1.1 from 4.0.8. When I try to access from Iceweasel 40.0.3 to the new network map, it displays an empty frame similar to that mentioned by the OP.

Not sure if this is a problem of how the browser interprets the code to display the network map, because I had not this problem with Chromium 45.0.2454.85. Nor have I had problems from Konqueror 4.14.2. I am testing the three browsers in Debian GNU/Linux Jessie.

Thanks in advance.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Mon Sep 14, 2015 10:58 am
by tmcdonald
whitest wrote:May be you can share for me acces to your Nagios server and I''ll check the Map from my PCs? You can provide access details in PM.
This is not something we can do, however we do have a public demo system running. It currently is on Core 4.0.8, but I will see about getting it updated if possible.
DanielB wrote:Not sure if this is a problem of how the browser interprets the code to display the network map
This definitely seems like a combination of OS + browser/version. @whitest and @DanielB, what languages are your OSes set up to use? How about your browsers?

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 15, 2015 4:28 am
by whitest
tmcdonald wrote:
whitest wrote:May be you can share for me acces to your Nagios server and I''ll check the Map from my PCs? You can provide access details in PM.
This is not something we can do, however we do have a public demo system running. It currently is on Core 4.0.8, but I will see about getting it updated if possible.
DanielB wrote:Not sure if this is a problem of how the browser interprets the code to display the network map
This definitely seems like a combination of OS + browser/version. @whitest and @DanielB, what languages are your OSes set up to use? How about your browsers?
OS: RU (Win7, WinXP SP3) and US (Win 8.1). Results are the same.
Browsers: RU (FF,GCh,Opera,IE8, IE11) and IE11 EN on the Windows 8.1.
jdalrymple wrote:Fresh install of 4.1.1 on CentOS 6.5 - both maps work perfectly in all 3 of my browsers. (FF 40 something, Edge and IE11)

This thread has been all over the map talking about flash and java which are 100% irrelevant to the operation of any UI elements in Nagios Core, any version. The error that you're showing us is from the browser, not from the web server which is what tmcdonald requested. Please show us the apache error logs for further troubleshooting.

So with that said, my 2 cents of advice are to abandon this installation, backup and reinstall. The amount of time you have spent already is probably 2-3x that which it would take to reinstall from scratch, unless you have a wildly custom configuration.
May be you can to public to tje Internet Web-page of your Nagios 4.1.1?? I want to try to use statusmap from my workstations.

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 15, 2015 7:56 am
by DanielB
Hi, tmcdonald.
tmcdonald wrote:
DanielB wrote:Not sure if this is a problem of how the browser interprets the code to display the network map
This definitely seems like a combination of OS + browser/version. @whitest and @DanielB, what languages are your OSes set up to use? How about your browsers?
I am testing these three browsers from a single PC with Debian GNU/Linux Jessie. Locales settings for this computer are:

Code: Select all

viper@orion:~$ locale
LANG=es_AR.UTF-8
LANGUAGE=es_AR:es
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=
Iceweasel is configured to use the following order of preference to display web pages:
  • Spanish / Argentina [es-ar]
  • Spanish [es]
  • English / United States [en-us]
  • English [en]
I tried using "English / United States" in the first position, but no changes.

The language setting in Chromium is:
  • English (United States)
  • English
  • Spanish
Regarding to Konqueror, I think it inherits the language configured for to use with KDE:
  • Spanish
  • American English
Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 15, 2015 2:59 pm
by hsmith
@DanielB

What is the locale set to on the core machine? I'm trying to mimic some settings here to see if we can make any progress on this issue.

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 15, 2015 3:08 pm
by DanielB
hsmith wrote:@DanielB

What is the locale set to on the core machine? I'm trying to mimic some settings here to see if we can make any progress on this issue.
Hi, hsmith.

Locale settings in the Nagios server is the following:

Code: Select all

ws1:~# locale
LANG=es_AR.UTF-8
LANGUAGE=
LC_CTYPE=es_AR.UTF-8
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=
Thanks for making these tests.

Best regards,
Daniel

Re: Nagios 4.1.1 Statusmap problem

Posted: Tue Sep 15, 2015 3:16 pm
by jdalrymple
I'm not sure how much help it will really be to put my box on the web, I can tell you it isn't easy for me. I'm a lowly support dude, not a network maintainer here at Nagios Inc.

I can offer the following screenshots though for your viewing pleasure.

Sorry, to the best of my knowledge SeaMonkey isn't available for Windows - but last I head it wasn't in heavy use anymore - doesn't even make the list