Host deletion and acknowledgements
Host deletion and acknowledgements
Hi,
when I do some actions, such as deleting a host by going in its properties and do advanced/delete, NagiosXI lose all the acknowledgements it had even sticky ones. Di I misconfigured something or this is expected behavior? I would like it to remember what I have acknowledged.
when I do some actions, such as deleting a host by going in its properties and do advanced/delete, NagiosXI lose all the acknowledgements it had even sticky ones. Di I misconfigured something or this is expected behavior? I would like it to remember what I have acknowledged.
Re: Host deletion and acknowledgements
When you say: "NagiosXI lose all the acknowledgements it had even sticky ones.", do you mean "all acknowledgements on the deleted host" or "all acknowledgements on ALL hosts"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host deletion and acknowledgements
I am talking about losing all the acknowledgement I put on all the hosts. So when I delete a host, other hosts that I set an acknowledgement no longer shows as being acknowledged.
Re: Host deletion and acknowledgements
I haven't been able to recreate the issue.
What is the Nagios XI version that you are currently using? Do all of the hosts/services go to pending state after removing a host (in addition to losing acknowledgements)?
What is the output of the following command?
What is the Nagios XI version that you are currently using? Do all of the hosts/services go to pending state after removing a host (in addition to losing acknowledgements)?
What is the output of the following command?
Code: Select all
grep retain_state_information /usr/local/nagios/etc/nagios.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Host deletion and acknowledgements
I run version 5.2.5
It happens that I see pendings but not always.
The command you asked returned the following:
retain_state_information=1
It happens that I see pendings but not always.
The command you asked returned the following:
retain_state_information=1
Re: Host deletion and acknowledgements
You might have multiple nagios processes - please run the following command as root and post the output here:
ps -ef | grep bin/nagios
ps -ef | grep bin/nagios
Former Nagios employee
Re: Host deletion and acknowledgements
Here is the result:
nagios 4391 1 0 07:17 ? 00:00:09 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4393 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4394 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4395 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4396 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4397 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4398 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4399 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4400 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4401 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4402 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4403 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4404 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4445 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 18347 18319 0 07:39 pts/0 00:00:00 grep bin/nagios
nagios 4391 1 0 07:17 ? 00:00:09 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4393 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4394 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4395 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4396 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4397 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4398 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4399 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4400 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4401 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4402 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4403 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4404 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4445 4391 0 07:17 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 18347 18319 0 07:39 pts/0 00:00:00 grep bin/nagios
Re: Host deletion and acknowledgements
When that occurs, if you restart nagios do they come back?
When it's occurring run this command and see if there's any output:
Also, please attach your /usr/local/nagios/etc/ndomod.cfg for review.
Thank you
When it's occurring run this command and see if there's any output:
Code: Select all
echo "select * from nagios_acknowledgements;" | mysql -pnagiosxi nagiosThank you
Re: Host deletion and acknowledgements
Tried restarting nagios after triggering the problem but the acknoledgements did not come back.
When it's occurring run this command and see if there's any output:
The SQL actually shows my acknoledgements.
Attached is ndomod.cfg
When it's occurring run this command and see if there's any output:
The SQL actually shows my acknoledgements.
Attached is ndomod.cfg
You do not have the required permissions to view the files attached to this post.
Re: Host deletion and acknowledgements
What permissions do you have on your /usr/local/nagios/var directory and its contents?
ls -ld /usr/local/nagios/var
ls -l /usr/local/nagios/var
ls -ld /usr/local/nagios/var
ls -l /usr/local/nagios/var
Former Nagios employee