Page 1 of 3
Issues integrating NNA into XI
Posted: Thu Oct 15, 2015 8:35 am
by lucas.shelton
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.
Re: Issues integrating NNA into XI
Posted: Thu Oct 15, 2015 1:49 pm
by tmcdonald
What XI and NNA versions are you running?
What NNA component do you have in XI under Admin -> Manage Components?
Re: Issues integrating NNA into XI
Posted: Thu Oct 15, 2015 2:48 pm
by lucas.shelton
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.
Re: Issues integrating NNA into XI
Posted: Thu Oct 15, 2015 10:45 pm
by Box293
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:
Code: Select all
/usr/local/nagios/libexec/check_nna.py -H 10.25.5.70 -K c2e1a2e6ae8bc2469ed97b08339aaab6619b4590 -G 1 --exists --verbose
What is output?
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 8:53 am
by lucas.shelton
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:
Code: Select all
/usr/local/nagios/libexec/check_nna.py -H 10.25.5.70 -K c2e1a2e6ae8bc2469ed97b08339aaab6619b4590 -G 1 --exists --verbose
What is output?
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 directory
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 1:10 pm
by lmiltchev
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:
Code: Select all
ll /usr/local/nagios/libexec/check_nna.py
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
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 1:38 pm
by lucas.shelton
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
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 1:39 pm
by lucas.shelton
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:
Code: Select all
ll /usr/local/nagios/libexec/check_nna.py
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
[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 ~]$
There are no updates for the wizards.
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 2:32 pm
by jolson
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?
Re: Issues integrating NNA into XI
Posted: Fri Oct 16, 2015 2:36 pm
by lucas.shelton
I currently have four sources but was having the same issue when I only had two.