Page 3 of 7

Re: Update NagiosXi to 2011R3.1

Posted: Sun Jul 08, 2012 7:48 pm
by albibalu
Sorry for my (stup.....) question but now no changes in the configuration. All the same but after the update this strange behavior.

Re: Update NagiosXi to 2011R3.1

Posted: Mon Jul 09, 2012 9:04 am
by scottwilkerson
You may have to restart the machine. On some systems we have seen the kernel update not take effect until a reboot.

Re: Update NagiosXi to 2011R3.1

Posted: Mon Jul 09, 2012 8:25 pm
by albibalu
Restarted (Rebooted) the machine already.What i find out now is that nothing is updated in NagiosXi. If i make changes or i add a host or i delete one nothing is updated in the NagiosXI view. Also if the status of a host have changed from Critical to Warning or OK it is not reflected in the NagiosXI view. If i access Nagios Core thru an other GUI (in this case a mobile APP) i can see all changes made.

Re: Update NagiosXi to 2011R3.1

Posted: Tue Jul 10, 2012 1:48 pm
by scottwilkerson
Can you attach your nagios.cfg

thanks

Re: Update NagiosXi to 2011R3.1

Posted: Tue Jul 10, 2012 8:22 pm
by albibalu
please find attached the nagios.cfg file.

Re: Update NagiosXi to 2011R3.1

Posted: Wed Jul 11, 2012 9:28 am
by scottwilkerson
A couple things I would like you to try.

First, try running the fixing global permissions procedure found here


If that had no affect, try commenting out the following lines in the nagios.cfg to see if either of these are causing problems

Code: Select all

broker_module=/usr/local/pnp4nagios/lib/npcdmod.o config_file=/usr/local/pnp4nagios/etc/npcd.cfg
broker_module=/usr/lib/check_mk/livestatus.o /usr/local/nagios/var/rw/live
then restart nagios

Code: Select all

service nagios restart

Re: Update NagiosXi to 2011R3.1

Posted: Thu Jul 12, 2012 6:02 am
by albibalu
Executing the FixPerm script i get the following error:
./NagiosXI-FixPerms.sh: /bin/sh^M: bad interpreter: No such file or directory

The second option commenting out the broker is not helping .

Re: Update NagiosXi to 2011R3.1

Posted: Thu Jul 12, 2012 9:14 am
by scottwilkerson
Something must have went wrong in your download or you had it on a Windows machine and changed the line endings...

Run the following

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/scripts/NagiosXI-FixPerms.sh
chmod +x NagiosXI-FixPerms.sh
./NagiosXI-FixPerms.sh

Re: Update NagiosXi to 2011R3.1

Posted: Fri Jul 13, 2012 5:27 am
by albibalu
After downloading the script again i could execute it, but no help, it is still the same.

****** Have a nice weekend *********

Re: Update NagiosXi to 2011R3.1

Posted: Fri Jul 13, 2012 9:13 am
by scottwilkerson
Please run

Code: Select all

service ndo2db status