Page 2 of 7
Re: Unable to ACK (again)
Posted: Tue Feb 02, 2016 3:05 pm
by tgriep
We'll keep the post open for a while in case the issue happens again.
Re: Unable to ACK (again)
Posted: Fri Feb 26, 2016 1:12 pm
by highness
It happened again today. Just did the previously posted fix and it worked again.
Re: Unable to ACK (again)
Posted: Fri Feb 26, 2016 1:14 pm
by hsmith
Did you upgrade to 5.2.5?
Re: Unable to ACK (again)
Posted: Mon Feb 29, 2016 9:47 am
by highness
hsmith wrote:Did you upgrade to 5.2.5?
We haven't yet. Is this issue addressed in 5.2.5?
Re: Unable to ACK (again)
Posted: Mon Feb 29, 2016 12:29 pm
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.
Re: Unable to ACK (again)
Posted: Mon Feb 29, 2016 12:42 pm
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.
Re: Unable to ACK (again)
Posted: Mon Feb 29, 2016 1:21 pm
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:
When the problem happens again, run this command and send us the output:
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
Re: Unable to ACK (again)
Posted: Mon Feb 29, 2016 8:44 pm
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.
Re: Unable to ACK (again)
Posted: Tue Mar 01, 2016 10:56 am
by ssax
Thanks rajasegar, I've never heard that before.
Highness, are you using Fusion as well?
Re: Unable to ACK (again)
Posted: Tue Mar 01, 2016 2:38 pm
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!