Unable to ACK (again)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Unable to ACK (again)

Post by tgriep »

We'll keep the post open for a while in case the issue happens again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Unable to ACK (again)

Post by highness »

It happened again today. Just did the previously posted fix and it worked again.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to ACK (again)

Post by hsmith »

Did you upgrade to 5.2.5?
Former Nagios Employee.
me.
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Unable to ACK (again)

Post by highness »

hsmith wrote:Did you upgrade to 5.2.5?
We haven't yet. Is this issue addressed in 5.2.5?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to ACK (again)

Post by ssax »

Are the permissions different when it's happening?

Code: Select all

ls -la /usr/local/nagios/var/rw/
ls -ld /usr/local/nagios/var/rw/
If those permissions keep getting changed I'm unable to think of anything that would change them unless it's manually being changed or you're running a restore on it.
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Unable to ACK (again)

Post by highness »

ssax wrote:Are the permissions different when it's happening?

Code: Select all

[email protected] (Linux) $ ls -la /usr/local/nagios/var/rw/
total 8
drwxrwsr-x 2 nagios nagcmd 4096 Feb 28 14:34 .
drwxrwxr-x 6 nagios nagios 4096 Feb 29 09:32 ..
prw-rw---- 1 nagios nagcmd    0 Feb 29 09:32 nagios.cmd
srw-rw---- 1 nagios nagcmd    0 Feb 28 14:34 nagios.qh

[email protected] (Linux) $ ls -ld /usr/local/nagios/var/rw/
drwxrwsr-x 2 nagios nagcmd 4096 Feb 28 14:34 /usr/local/nagios/var/rw/
[email protected] (Linux) $
We haven't done a restore on that box in quite a while.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to ACK (again)

Post by ssax »

I could understand the issue when the permissions were wrong but now that they are proper it should work just fine, I bet just restarting nagios will fix it:

Code: Select all

service restart nagios
When the problem happens again, run this command and send us the output:

Code: Select all

ps aux | grep nagios.cfg
Then check your /usr/local/nagios/var/nagios.log file to see if you see any errors.

And then just try restarting the service to see if that resolves it.

If we can't figure it out from there we should probably moves this into a ticket so that we can get a remote setup so that we can diagnose when it's occurring.


Thank you
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Unable to ACK (again)

Post by rajasegar »

If the user accesses NagiosXI via Nagios Fusion and also directly through XI from the same PC, it screws up the credentials and rights.

Usually a force logout from NagiosXI and log in again fixes the problem.

It might be related to 2 different users using NagiosXI from the same PC.
Check if this is the case.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to ACK (again)

Post by ssax »

Thanks rajasegar, I've never heard that before.

Highness, are you using Fusion as well?
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Unable to ACK (again)

Post by highness »

ssax wrote:Thanks rajasegar, I've never heard that before.

Highness, are you using Fusion as well?
Nope - no Fusion (yet). But soon!
Locked