Network status map and graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Network status map and graphs

Post by sappjt »

I am now using the centos image. Everything is going ok, but I cant get the network status map or graphs to work. I ran the reset permissions script and I have reset the credentials.
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Network status map and graphs

Post by sappjt »

Also when I apply a configuration it says "waiting for configuration verification...................." and it never refreshes.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Network status map and graphs

Post by mguthrie »

Try these two steps and let us know the results that you get:

Try using the Write Config Tool in the Core Config Manager to manually write out the config files and restart Nagios.

Try running:

Code: Select all

 /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
This is the same as selecting "Apply Configuration" from the web interface. Make note of any error output you get from this. You may have to hit enter at the end of the script to close it out.
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Network status map and graphs

Post by sappjt »

I ran through the steps. when I ran

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
I had these error messages

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh: line 6: ./import_nagiosql.sh: No such file or directory
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh: line 9: ./restart_nagios_with_export.sh: No such file or directory
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Network status map and graphs

Post by mguthrie »

Can you show us the contents of the /usr/local/nagiosxi/scripts directory?

Code: Select all

ls -l
You said this was on our CentOS VM?
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Network status map and graphs

Post by sappjt »

Code: Select all

# ls -l /usr/local/nagiosxi/scripts/
total 324
-rw-r--r-- 1 nagios nagios    45 Jan 11  2010 1263222026.tar.gz
-rw-r--r-- 1 nagios nagios     0 Jan 11  2010 1263222026.txt
-rwxr-xr-x 1 nagios nagios  2757 Nov 15 13:50 backup_xi.sh
-rwxr-xr-x 1 nagios nagios   352 Nov 15 13:50 export_nagiosql.sh
-rwxr-xr-x 1 nagios nagios  1017 Nov 15 13:50 fixperms.sh
-rwxr-xr-x 1 nagios nagios   821 Nov 15 13:50 handle_nagioscore_event.php
-rwxr-xr-x 1 nagios nagios   829 Nov 15 13:50 handle_nagioscore_notification.php
-rwxr-xr-x 1 nagios nagios   259 Nov 15 13:50 import_nagiosql.sh
-rwxr-xr-x 1 nagios nagios   149 Nov 15 13:50 kill_rrdtool.sh
-rwxr-xr-x 1 nagios nagios    90 Jan 10 09:23 nagiosql.cookies
-rwxr-xr-x 1 nagios nagios 15810 Jan  7 12:12 nagiosql.delete.contact
-rwxr-xr-x 1 nagios nagios   757 Nov 15 13:50 nagiosql_delete_contact.php
-rwxr-xr-x 1 nagios nagios   748 Nov 15 13:50 nagiosql_delete_host.php
-rwxr-xr-x 1 nagios nagios   505 Nov 15 13:50 nagiosql_delete_object.sh
-rwxr-xr-x 1 nagios nagios   757 Nov 15 13:50 nagiosql_delete_service.php
-rwxr-xr-x 1 nagios nagios 21347 Jan  7 12:12 nagiosql.delete.timeperiod
-rwxr-xr-x 1 nagios nagios   780 Nov 15 13:50 nagiosql_delete_timeperiod.php
-rwxr-xr-x 1 nagios nagios     0 Jan 10 09:23 nagiosql.export.additional
-rwxr-xr-x 1 nagios nagios   864 Nov 15 13:50 nagiosql_exportall.php
-rwxr-xr-x 1 nagios nagios     0 Jan 10 09:23 nagiosql.export.monitoring
-rwxr-xr-x 1 nagios nagios  1004 Nov 15 13:50 nagiosql_importall.php
-rwxr-xr-x 1 nagios nagios 34542 Jan  7 12:13 nagiosql.import.monitoring
-rwxr-xr-x 1 nagios nagios     0 Jan 10 09:23 nagiosql.login
-rwxr-xr-x 1 nagios nagios  1154 Nov 15 13:50 nagiosql_login.php
-rwxr-xr-x 1 nagios nagios   258 Nov 15 13:50 nagiosql_trim_backups.sh
-rwxr-xr-x 1 nagios nagios   515 Nov 15 13:50 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-xr-x 1 nagios nagios   716 Nov 15 13:50 nom_create_nagioscore_checkpoint.sh
-rwxr-xr-x 1 nagios nagios   631 Nov 15 13:50 nom_create_nagioscore_errorpoint.sh
-rwxr-xr-x 1 nagios nagios   784 Nov 15 13:50 nom_restore_nagioscore_checkpoint.sh
-rwxr-xr-x 1 nagios nagios  2104 Nov 15 13:50 nom_trim_nagioscore_checkpoints.sh
-rwxr-xr-x 1 nagios nagios  2961 Nov 15 13:50 patch_ndoutils.php
-rwxr-xr-x 1 nagios nagios   246 Nov 15 13:50 reconfigure_nagios.sh
-rwsr-xr-x 1 root   nagios  5258 Nov 15 13:50 reset_config_perms
-rw-r--r-- 1 nagios nagios   280 Nov 15 13:50 reset_config_perms.c
-rwsr-xr-x 1 root   nagios   484 Nov 15 13:50 reset_config_perms.sh
-rwxr-xr-x 1 nagios nagios  1155 Nov 15 13:50 reset_nagiosadmin_password.php
-rwxr-xr-x 1 nagios nagios   850 Nov 15 13:50 restart_nagios_with_export.sh
-rwxr-xr-x 1 nagios nagios  4010 Nov 15 13:50 restore_xi.sh

sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Network status map and graphs

Post by sappjt »

This was on your cent vm
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Network status map and graphs

Post by mguthrie »

I would try restarting the server. I've heard of similar issues before on manual installs, but not usually on our VM.

If that doesn't work:
Are you able to get the configuration to go through by walking through the steps in the "Write Config Tool" in the Core Config Manager?
sappjt
Posts: 59
Joined: Thu Nov 18, 2010 12:52 pm

Re: Network status map and graphs

Post by sappjt »

I restarted the server with no luck. I made it so that everything is using ssl and turned off port 80. Is there a way that I can have everything using ssl and shut off port 80 and have it all work? Also on my performance graphs I changed the time on the system to be correct, but the time in nagiosxi is an hour off still. That obviously causes problems with the times that the server is up or down and I would assume causing problems with my graphs. How do I change the time in nagiosxi?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Network status map and graphs

Post by mguthrie »

The performance graphs are grabbed in XI using a proxy, so I'm guessing that would potentially be the problem by turning off port 80.

If your system time is off in the browser, but ok on the server, then it might be a setting in your php.ini file. You might have to set your timesone, particularly if you're running php 5.3+.
Locked