Issues integrating NNA into XI
-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Issues integrating NNA into XI
I've followed the steps in the Nagios Network Analyzer guide to integrate NNA into XI but am still having issues. When I click on the hostname it says it is UP but there is an unknown error running the plugin. It says the host state is down. See attached screen shots.
You do not have the required permissions to view the files attached to this post.
Re: Issues integrating NNA into XI
What XI and NNA versions are you running?
What NNA component do you have in XI under Admin -> Manage Components?
What NNA component do you have in XI under Admin -> Manage Components?
Former Nagios employee
-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Re: Issues integrating NNA into XI
tmcdonald wrote:What XI and NNA versions are you running?
What NNA component do you have in XI under Admin -> Manage Components?
XI 2014R2.3, NNA 2R1.0. NNA component is version 1.2.2.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Issues integrating NNA into XI
Can you go into Core Configuration Manager
Monitoring > Hosts
Edit the host "NNA Sourcegroup - All Sources"
Click the "Test Check Command Button"
What is the output?
Also when viewing the output, the full command executed is shown. Copy this line and paste it into an ssh session and add --verbose to the end, something like:
What is output?
Monitoring > Hosts
Edit the host "NNA Sourcegroup - All Sources"
Click the "Test Check Command Button"
What is the output?
Also when viewing the output, the full command executed is shown. Copy this line and paste it into an ssh session and add --verbose to the end, something like:
Code: Select all
/usr/local/nagios/libexec/check_nna.py -H 10.25.5.70 -K c2e1a2e6ae8bc2469ed97b08339aaab6619b4590 -G 1 --exists --verboseAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Re: Issues integrating NNA into XI
Box293 wrote:Can you go into Core Configuration Manager
Monitoring > Hosts
Edit the host "NNA Sourcegroup - All Sources"
Click the "Test Check Command Button"
What is the output?
Also when viewing the output, the full command executed is shown. Copy this line and paste it into an ssh session and add --verbose to the end, something like:What is output?Code: Select all
/usr/local/nagios/libexec/check_nna.py -H 10.25.5.70 -K c2e1a2e6ae8bc2469ed97b08339aaab6619b4590 -G 1 --exists --verbose
Here's the output of the Test Check Command button:
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_nna.py -H nfcollector1.drake.edu -K 260bb2d78a0fe7e919cd48c1aa4106fbbd24e94a -G 1 --exists
OUTPUT: UP - group exists
UNKNOWN - Error occurred while running the plugin.Here's the output from the SSH session:
Code: Select all
bash: /usr/local/nagios/libexec/check_nna.py: No such file or directoryRe: Issues integrating NNA into XI
What is the version of the "Nagios Network Analyzer" wizard that you are using? Run the following command on the Nagios XI box and show us the output:
Have you tried updating the "Nagios Network Analyzer" wizard "Nagios Network Analyzer Integration" component to see if this is going to fix the issue?
Admin->Manage Components->Check for Updates
Admin->Manage Config Wizards->Check for Updates
Code: Select all
ll /usr/local/nagios/libexec/check_nna.pyAdmin->Manage Components->Check for Updates
Admin->Manage Config Wizards->Check for Updates
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Re: Issues integrating NNA into XI
My apologies on the post above, I ran that command on the NNA VM and not the XI VM. Here is the output from the command via SSH in XI:
Code: Select all
[lshelton@netmon ~]$ /usr/local/nagios/libexec/check_nna.py -H nfcollector1.drake.edu -K 260bb2d78a0fe7e919cd48c1aa4106fbbd24e94a -G 1 --exists --verbose
UP - group exists
And error was encountered:
0-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Re: Issues integrating NNA into XI
lmiltchev wrote:What is the version of the "Nagios Network Analyzer" wizard that you are using? Run the following command on the Nagios XI box and show us the output:
Have you tried updating the "Nagios Network Analyzer" wizard "Nagios Network Analyzer Integration" component to see if this is going to fix the issue?Code: Select all
ll /usr/local/nagios/libexec/check_nna.py
Admin->Manage Components->Check for Updates
Admin->Manage Config Wizards->Check for Updates
Code: Select all
[lshelton@netmon ~]$ ll /usr/local/nagios/libexec/check_nna.py
-rwxr-xr-x 1 root root 10037 Dec 30 2014 /usr/local/nagios/libexec/check_nna.py
[lshelton@netmon ~]$Re: Issues integrating NNA into XI
How many Sources are in your 'All Sources' group? Mine contained 2 Sources (I'm using the same versions of NNA and XI as you) and my query completed with no problems.
[root@localhost ~]# /usr/local/nagios/libexec/check_nna.py -H 192.168.4.146 -K fe51760996xxxxxxx8eb3 -G 1 --exists --verbose
UP - group exists
What is your python version?
[root@localhost ~]# /usr/local/nagios/libexec/check_nna.py -H 192.168.4.146 -K fe51760996xxxxxxx8eb3 -G 1 --exists --verbose
UP - group exists
What is your python version?
Code: Select all
python --version-
lucas.shelton
- Posts: 48
- Joined: Fri Apr 24, 2015 3:21 pm
Re: Issues integrating NNA into XI
I currently have four sources but was having the same issue when I only had two.
Code: Select all
Python 2.4.3