ghost alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
matson-itops
Posts: 128
Joined: Wed Nov 18, 2015 11:19 pm

ghost alerts

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ghost alerts

Post 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
matson-itops
Posts: 128
Joined: Wed Nov 18, 2015 11:19 pm

Re: ghost alerts

Post by matson-itops »

ok . sent profile in private message

thanks in advance for the help. sure ti's something silly.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ghost alerts

Post 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!
matson-itops
Posts: 128
Joined: Wed Nov 18, 2015 11:19 pm

Re: ghost alerts

Post by matson-itops »

we actually have a few

but an example is UNKNOWN: '/ Disk Usage' on 'NagiosXI_Local_Server'
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ghost alerts

Post 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
You do not have the required permissions to view the files attached to this post.
matson-itops
Posts: 128
Joined: Wed Nov 18, 2015 11:19 pm

Re: ghost alerts

Post by matson-itops »

still showing "/ Disk Usage" Unkonwn and "service Status - npcd" Unknown
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ghost alerts

Post 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
matson-itops
Posts: 128
Joined: Wed Nov 18, 2015 11:19 pm

Re: ghost alerts

Post by matson-itops »

requested support docs have been sent to you in a private message
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ghost alerts

Post by gsmith »

Hi

Thanks for that.

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

Thanks!
Locked