RESOLVED: New install of Nagios xi - What next for Windows Monitoring

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

RESOLVED: New install of Nagios xi - What next for Windows Monitoring

Post by LACMAIS »

Hello everyone.

I installed and updated Nagios xi last week with the OVA file onto my VMWare server. With that completed, I installed the NCPA client onto a Windows VM, per the YouTube guide, and then created the host to be monitored via the wizard.

Unfortunately, I cannot get a successful monitor to work. I can access the client via its port but the Nagios server does not seem to be able to interact. Is there some other installation step I'm missing? There error points to plug ins not being installed, but there is no direction to do so, and the plugins that appear to be there in the UI also seem to be in the correct directory when looking through the CLI.

I created a topic about this earlier, but it seems to have stalled, and I'm hoping to get the POC going. Thank you for any assistance.
User avatar
jmichaelson
Posts: 336
Joined: Wed Aug 23, 2023 1:02 pm

Re: New install of Nagios xi - What next for Windows Monitoring

Post by jmichaelson »

First of all, what's happening as the wizard completes? Do you get a host and services configured within Nagios xi?

When you say you can access the NCPA client from its port, do you mean via a browser from a different system?
Please let us know if you have any other questions or concerns.

-Jason
DoubleDoubleA
Posts: 199
Joined: Thu Feb 09, 2017 5:07 pm

Re: New install of Nagios xi - What next for Windows Monitoring

Post by DoubleDoubleA »

What is the exact error you are getting in xi?
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Re: New install of Nagios xi - What next for Windows Monitoring

Post by LACMAIS »

jmichaelson wrote: Tue Mar 11, 2025 3:30 pm First of all, what's happening as the wizard completes? Do you get a host and services configured within Nagios xi?

When you say you can access the NCPA client from its port, do you mean via a browser from a different system?
Yes, I get to pick services and such to be monitored, so the communication between the Nagios server and the host to be monitored is working. Also affirmative, if I browse to https://host:5693 and use the token I see the information there from the client.
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Re: New install of Nagios xi - What next for Windows Monitoring

Post by LACMAIS »

DoubleDoubleA wrote: Tue Mar 11, 2025 5:53 pm What is the exact error you are getting in xi?
The error I receive is "Return code of 127 is out of bounds. Check if plugin exists"

Below is a screenshot.
https://drive.google.com/file/d/19O3L4d ... sp=sharing
DoubleDoubleA
Posts: 199
Joined: Thu Feb 09, 2017 5:07 pm

Re: New install of Nagios xi - What next for Windows Monitoring

Post by DoubleDoubleA »

Likely answer is the link to python is missing for some reason.

In a root shell, run

Code: Select all

ln -s /usr/bin/python3 /usr/bin/python
Aaron
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Re: New install of Nagios xi - What next for Windows Monitoring

Post by LACMAIS »

DoubleDoubleA wrote: Wed Mar 12, 2025 9:24 am Likely answer is the link to python is missing for some reason.

In a root shell, run

Code: Select all

ln -s /usr/bin/python3 /usr/bin/python
Aaron
Thank you Aaron, unfortunately, the response was
ln: failed to create symbolic link '/usr/bin/python': File exists

I then entered

Code: Select all

ls -la python*
and as part of the return:
python -> ./python3
python3 -> python3.9
User avatar
lgute
Posts: 318
Joined: Mon Apr 06, 2020 2:49 pm

Re: New install of Nagios xi - What next for Windows Monitoring

Post by lgute »

Hi @LACMAIS,

Thanks for reaching out.

What response do you get when you run the check_ncpa.py plugin from the command line?

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <NCPA IP ADDRESS> -t <NCPA COMMUNITY STRING> -P 5693 -M cpu/
Please let us know if you have any other questions or concerns.

-Laura
LACMAIS
Posts: 16
Joined: Fri Mar 07, 2025 11:44 am

Re: New install of Nagios xi - What next for Windows Monitoring

Post by LACMAIS »

lgute wrote: Wed Mar 12, 2025 1:49 pm Hi @LACMAIS,

Thanks for reaching out.

What response do you get when you run the check_ncpa.py plugin from the command line?

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <NCPA IP ADDRESS> -t <NCPA COMMUNITY STRING> -P 5693 -M cpu/
Thank you, Laura. I entered the command with the IP address where stated, and I put the NCPA token I created in the NCPA Community String area and the command returned a list of options as though I had not entered it properly,

Code: Select all

Usage: check_ncpa.py [options]
and shows

Code: Select all

check_ncpa.py: error: No metric given, if you want to list all possible items use --list
User avatar
lgute
Posts: 318
Joined: Mon Apr 06, 2020 2:49 pm

Re: New install of Nagios xi - What next for Windows Monitoring

Post by lgute »

Hi @LACMAIS,

Do you have any special characters in your NCPA Community string/Token?
Please let us know if you have any other questions or concerns.

-Laura