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 »

Sorry for my (stup.....) question but now no changes in the configuration. All the same but after the update this strange behavior.
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 »

You may have to restart the machine. On some systems we have seen the kernel update not take effect until a reboot.
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 »

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.
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 attach your nagios.cfg

thanks
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 »

please find attached the nagios.cfg file.
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 »

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
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 »

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 .
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 »

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
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 »

After downloading the script again i could execute it, but no help, it is still the same.

****** Have a nice weekend *********
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

service ndo2db status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked