Update NagiosXi to 2011R3.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Post by albibalu »

The first is : crond (pid 3330) is running...
The second is: Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-rootvol
9.7G 2.6G 6.7G 28% /
/dev/mapper/rootvg-homevol
3.9G 409M 3.3G 11% /home
/dev/mapper/rootvg-tmpvol
2.0G 91M 1.8G 5% /tmp
/dev/mapper/rootvg-varvol
12G 3.5G 7.6G 32% /var
/dev/mapper/rootvg-usrvol
12G 8.2G 2.9G 75% /usr
/dev/mapper/rootvg-optvol
5.9G 1.1G 4.5G 19% /opt
/dev/sda1 99M 13M 82M 13% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm

OK, One thing i find out now ........ (stupide me :) )

The performance Graphs was end working because like we messed around with the timeperiods.cfg in the xi_timeperiod_24x7 there was no time entered and all hosts was out of notification period. I put in the timeperiod 00:00-00:24 from friday to sunday (24x7) and al the graphs are working again.
-------But still no view changes in NagiosXI views-------- And after restarting the Server NagiosXi is only showing a blanc screen. OK saying like this, when i enter the servername alone there come the Welcome Screen with " Access Nagios XI" , but when i enter http://servername/nagiosxi then i get a Blanc screen, where i normaly should get a Login Screen.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update NagiosXi to 2011R3.1

Post by scottwilkerson »

Can you tail the httpd error log to see if errors are occuring while trying to access the nagiosxi page

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Post by albibalu »

I will send you the log attached
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update NagiosXi to 2011R3.1

Post by scottwilkerson »

Please run

Code: Select all

ls -l /usr/local/nagiosxi/html/includes/utils-auditlog.inc.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Post by albibalu »

This is the outcome: -rwxr-x--x 1 nagios nagios 2624 Jul 3 08:52 /usr/local/nagiosxi/html/includes/utils-auditlog.inc.php
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update NagiosXi to 2011R3.1

Post by scottwilkerson »

Can you run the following

Code: Select all

cat /etc/group|grep nagios
Also, can you run

Code: Select all

/usr/local/nagios/libexec/check_disk -w 85 -c 95
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Post by albibalu »

The first Command result is:

[root@lr5mgt02 ~]# cat /etc/group | grep nagios
nagios:x:831:nagios
nagcmd:x:832:nagios,apache

The second command result is:

[root@lr5mgt02 tmp]# /usr/local/nagios/libexec/check_disk -w85 -c95
DISK CRITICAL - free space: / 6940 MB (73% inode=99%); /home 3354 MB (89% inode=99%); /tmp 1812 MB (96% inode=99%); /var 8050 MB (71% inode=99%); /usr 2814 MB (24% inode=91%); /opt 4564 MB (80% inode=99%); /boot 81 MB (87% inode=99%); /dev/shm 4057 MB (100% inode=99%);| /=2467MB;9834;9824;0;9919 /home=408MB;3882;3872;0;3967 /tmp=69MB;1898;1888;0;1983 /var=3238MB;11818;11808;0;11903 /usr=8474MB;11818;11808;0;11903 /opt=1080MB;5866;5856;0;5951 /boot=12MB;13;3;0;98 /dev/shm=0MB;3972;3962;0;4057

And i put also the command result of the 'apache' group


[root@lr5mgt02 tmp]# cat /etc/group | grep apache
apache:x:48:
nagcmd:x:832:nagios,apache

Ok i add the 'apache' user to the 'nagios' group and i can access the NagiosXI Interface again. But still this interface is not updated.
I try to access with an APP on the iPad an it works and it is updated on the iPad, but on the XI Interface it is not....... :x
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update NagiosXi to 2011R3.1

Post by scottwilkerson »

Lets tail the mysqld.log to make sure we don't have any crashed tables.

Code: Select all

tail -f /var/log/mysqld.log
If you see any crashed table messages, run

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
albibalu
Posts: 45
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Post by albibalu »

So far i can see in the mysql.log are no crashed tables.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update NagiosXi to 2011R3.1

Post by scottwilkerson »

If it still isn't updating I would suggest we restart the nagios and ndo2db processes

Code: Select all

service nagios stop
service ndo2db stop
killall -9 nagios
killall -9 ndo2db
service nagios start
service ndo2db start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked