Page 1 of 2

ghost alerts

Posted: Mon Nov 08, 2021 12:07 pm
by matson-itops
I have a check "/ Disk Usage" for server "X" that shows up under "service status" window
however, when I look in CCM , server "X" does not have that check

please gently remind me how to fix this and prevent this issue

Re: ghost alerts

Posted: Mon Nov 08, 2021 4:51 pm
by gsmith
Hi,

I am working this ticket and another submitted by you,
where I asked for a System Profile. I'll be able to use
that System Profile with this ticket as well.

Thanks

Re: ghost alerts

Posted: Mon Nov 08, 2021 5:23 pm
by matson-itops
ok . sent profile in private message

thanks in advance for the help. sure ti's something silly.

Re: ghost alerts

Posted: Tue Nov 09, 2021 12:38 pm
by gsmith
Hi,

I have loaded your System Profile for the previous ticket and see there
are 637 hosts. Could you please tell me who server 'X' is so I can troubleshoot
this post? :)

Thank you!

Re: ghost alerts

Posted: Tue Nov 09, 2021 1:25 pm
by matson-itops
we actually have a few

but an example is UNKNOWN: '/ Disk Usage' on 'NagiosXI_Local_Server'

Re: ghost alerts

Posted: Tue Nov 09, 2021 2:29 pm
by gsmith
Hi

This is what I am seeing as services for that host:
Image021.jpg
When I loaded your System Profile I did so by importing the database. I am wondering
if your config files are out of sync with the database.
The configuration is stored in the database, then written to the config files, and Nagios
imports the config files.
Do this to get the latest from the db:
1. Configure, Core Config Manager
2. Under Tools in the left-hand menu select "Config File Management"
3. Hit the red "Delete Files" button
4. Hit the blue "Write Configs" button
5. Under Quick Tools in the left-hand menu hit the "Apply Configuration" link

Then take a look at the services for NagiosXI_Local_Server.

Please let me know what you find out.

Thanks

Re: ghost alerts

Posted: Tue Nov 09, 2021 2:44 pm
by matson-itops
still showing "/ Disk Usage" Unkonwn and "service Status - npcd" Unknown

Re: ghost alerts

Posted: Tue Nov 09, 2021 6:21 pm
by gsmith
Hi,

Please run the following on the NagiosXI server command line:

Code: Select all

rm -rf /tmp/support.txt
ls -l /usr/local/nagios/etc >> /tmp/support.txt
ls -l /usr/local/nagios/etc/services >> /tmp/support.txt
ls -l /usr/local/nagios/etc/hosts >> /tmp/support.txt
mysqldump -u root -pnagiosxi nagiosql > /tmp/sqldump.sql
tar czf /tmp/support.tar.gz /tmp/support.txt /tmp/sqldump.sql
And send me the resulting /tmp/support.tar.gz in a PM.

Please reply to this thread when the file has been uploaded.

Thanks

Re: ghost alerts

Posted: Thu Nov 11, 2021 6:48 pm
by matson-itops
requested support docs have been sent to you in a private message

Re: ghost alerts

Posted: Fri Nov 12, 2021 11:18 am
by gsmith
Hi

Thanks for that.

Please send me the file:
/usr/local/nagios/etc/hosts/NagiosXI_Local_Server.cfg

Thanks!