Update NagiosXi to 2011R3.1

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Re: Update NagiosXi to 2011R3.1

Postby albibalu » Mon Jul 23, 2012 10:12 pm

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.
albibalu
 
Posts: 43
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Postby scottwilkerson » Tue Jul 24, 2012 9:42 am

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
User avatar
scottwilkerson
 
Posts: 4815
Joined: Tue Nov 15, 2011 3:11 pm

Re: Update NagiosXi to 2011R3.1

Postby albibalu » Wed Jul 25, 2012 6:35 am

I will send you the log attached
Attachments
tail_error_log.xml
(34.56 KiB) Downloaded 13 times
albibalu
 
Posts: 43
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Postby scottwilkerson » Wed Jul 25, 2012 11:26 am

Please run
Code: Select all
ls -l /usr/local/nagiosxi/html/includes/utils-auditlog.inc.php
User avatar
scottwilkerson
 
Posts: 4815
Joined: Tue Nov 15, 2011 3:11 pm

Re: Update NagiosXi to 2011R3.1

Postby albibalu » Wed Jul 25, 2012 7:18 pm

This is the outcome: -rwxr-x--x 1 nagios nagios 2624 Jul 3 08:52 /usr/local/nagiosxi/html/includes/utils-auditlog.inc.php
albibalu
 
Posts: 43
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Postby scottwilkerson » Thu Jul 26, 2012 9:31 am

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
User avatar
scottwilkerson
 
Posts: 4815
Joined: Tue Nov 15, 2011 3:11 pm

Re: Update NagiosXi to 2011R3.1

Postby albibalu » Thu Jul 26, 2012 7:37 pm

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
albibalu
 
Posts: 43
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Postby scottwilkerson » Fri Jul 27, 2012 7:46 am

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
User avatar
scottwilkerson
 
Posts: 4815
Joined: Tue Nov 15, 2011 3:11 pm

Re: Update NagiosXi to 2011R3.1

Postby albibalu » Sun Jul 29, 2012 8:20 pm

So far i can see in the mysql.log are no crashed tables.
albibalu
 
Posts: 43
Joined: Wed Apr 25, 2012 10:00 pm

Re: Update NagiosXi to 2011R3.1

Postby scottwilkerson » Mon Jul 30, 2012 9:35 am

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
User avatar
scottwilkerson
 
Posts: 4815
Joined: Tue Nov 15, 2011 3:11 pm

PreviousNext

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 2 guests