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.
RESOLVED: New install of Nagios xi - What next for Windows Monitoring
-
- Posts: 16
- Joined: Fri Mar 07, 2025 11:44 am
-
- Posts: 336
- Joined: Wed Aug 23, 2023 1:02 pm
Re: New install of Nagios xi - What next for Windows Monitoring
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?
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
-Jason
-
- Posts: 199
- Joined: Thu Feb 09, 2017 5:07 pm
Re: New install of Nagios xi - What next for Windows Monitoring
What is the exact error you are getting in xi?
-
- Posts: 16
- Joined: Fri Mar 07, 2025 11:44 am
Re: New install of Nagios xi - What next for Windows Monitoring
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.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?
-
- Posts: 16
- Joined: Fri Mar 07, 2025 11:44 am
Re: New install of Nagios xi - What next for Windows Monitoring
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
-
- Posts: 199
- Joined: Thu Feb 09, 2017 5:07 pm
Re: New install of Nagios xi - What next for Windows Monitoring
Likely answer is the link to python is missing for some reason.
In a root shell, run
Aaron
In a root shell, run
Code: Select all
ln -s /usr/bin/python3 /usr/bin/python
-
- Posts: 16
- Joined: Fri Mar 07, 2025 11:44 am
Re: New install of Nagios xi - What next for Windows Monitoring
Thank you Aaron, unfortunately, the response wasDoubleDoubleA wrote: ↑Wed Mar 12, 2025 9:24 am Likely answer is the link to python is missing for some reason.
In a root shell, runAaronCode: Select all
ln -s /usr/bin/python3 /usr/bin/python
ln: failed to create symbolic link '/usr/bin/python': File exists
I then entered
Code: Select all
ls -la python*
python -> ./python3
python3 -> python3.9
-
- Posts: 318
- Joined: Mon Apr 06, 2020 2:49 pm
Re: New install of Nagios xi - What next for Windows Monitoring
Hi @LACMAIS,
Thanks for reaching out.
What response do you get when you run the check_ncpa.py plugin from the command line?
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
-Laura
-
- Posts: 16
- Joined: Fri Mar 07, 2025 11:44 am
Re: New install of Nagios xi - What next for Windows Monitoring
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,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/
Code: Select all
Usage: check_ncpa.py [options]
Code: Select all
check_ncpa.py: error: No metric given, if you want to list all possible items use --list
-
- Posts: 318
- Joined: Mon Apr 06, 2020 2:49 pm
Re: New install of Nagios xi - What next for Windows Monitoring
Please let us know if you have any other questions or concerns.
-Laura
-Laura