Page 1 of 1

do not show Disk metrics when add ncpa

Posted: Wed Aug 11, 2021 4:55 am
by sacom01
I do add a remote server to nagios xi using ncpa. In "Configuration Wizard: NCPA - Step 1" it take very long time, and after that do not show Disk metrics. I can not find error log or anything like that.
Nagios XI 5.8.1
NCPA 2.2.2
OS : redhat 7

Pls help.
Thank you.

Re: do not show Disk metrics when add ncpa

Posted: Wed Aug 11, 2021 1:53 pm
by pbroste
Hello @sacom01

Thanks for reaching out, sounds like Configuration Wizard or parts of the Nagios XI is not functioning 100 percent.

First, let's try running the database repair script, and let me know if that is successful. Run the following as root from the terminal. (See Repairing The Nagios XI Database for complete instructions)

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Go ahead and bounce the nagios.service by:

Code: Select all

systemctl restart nagios
If the problem persists then let's take a look at your environment System Profile so we can see what is going on.
To send us your system profile.
  • Login to the Nagios XI GUI using a web browser.
  • Click the "Admin" > "System Profile" Menu
  • Click the "Download Profile" button
  • Save the profile.zip file and send to me via Private Message
Thanks,
Perry

Re: do not show Disk metrics when add ncpa

Posted: Wed Aug 11, 2021 8:32 pm
by sacom01
it just happen with some remote server, not for all.
So do we need repair the database as well?

Re: do not show Disk metrics when add ncpa

Posted: Thu Aug 12, 2021 11:10 am
by lmiltchev
it just happen with some remote server, not for all.
So do we need repair the database as well?
It wouldn't hurt to run the repair on the db just in case.

Let's try to get some more info, so that we could try recreating the issue in house.

1. What is the OS/architecture of the remote machine with the NCPA installed on it? What method did you use to install NCPA? Did you use the Nagios repo (recommended method)?
2. What is the version of the NCPA wizard that you are currently using on the XI server? You can view the wizard version by going to Admin > System Extensions > Manage Config Wizards.
3. What is the version of the check_ncpa.py plugin that you are using? You can obtain the plugin's version by running the following command from the CLI:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -V
4. Please post the ncpa logs from the remote machine.

Thank you!

Re: do not show Disk metrics when add ncpa

Posted: Thu Aug 12, 2021 10:05 pm
by sacom01
i realize that it can be done by manually add. So i reach it.
pls close the topic.
thanks for your support

Re: do not show Disk metrics when add ncpa

Posted: Fri Aug 13, 2021 10:17 am
by benjaminsmith
pls close the topic.
thanks for your support
THanks for the update, we'll close this out.