check_nna error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
proxibid
Posts: 30
Joined: Fri Aug 15, 2014 2:19 pm

check_nna error

Post by proxibid »

Hi,
What I am running into looks very similar to this - https://support.nagios.com/forum/viewto ... 2&start=10

Just upgraded to 5.6.4 from 5.4.13.

I was getting a python indentation error on line 146 so I fixed the indentation. The command will run now, but when I put in the bytes warning and critical values we had before I get " UNKNOWN - Error occurred while running the plugin."

NNA component is up to date.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nna error

Post by tgriep »

Can you login to the XI GUI and go to the Admin > Manage Config Wizards, check for updates and update the Wizards and see if the NNA wizard needs to be updated.
If so, update it and see if the checks start to function.

If not, can you run this on the Nagios server so we can view the version of the plugin, python, OS release? Post the output.

Code: Select all

grep VERSION /usr/local/nagios/libexec/check_nna.py
python -V
cat /etc/*release*
Then run the following examples of the plugin and post the output. Change the xxx.xxx.xxx.xxx to the IP address of the NNA server and update the <APIKEY> to the actual API key.

Code: Select all

/usr/local/nagios/libexec/check_nna.py -H xxx.xxx.xxx.xxx -K <APIKEY> -S 1 -m flows -w 1 -c 2
/usr/local/nagios/libexec/check_nna.py -H xxx.xxx.xxx.xxx -K <APIKEY> -S 1 -m flows -w 1 -c 2 --secure
/usr/local/nagios/libexec/check_nna.py -H xxx.xxx.xxx.xxx -K <APIKEY> -S 1 -m flows -w 1 -c 2  --ignorecert
What OS and Release is the NNA server running?
What version of NNA is installed on the server and is the server setup with SSL?
Be sure to check out our Knowledgebase for helpful articles and solutions!
proxibid
Posts: 30
Joined: Fri Aug 15, 2014 2:19 pm

Re: check_nna error

Post by proxibid »

you can close this ticket, sorry for taking up time. My manager doesn't want to pursue.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nna error

Post by tgriep »

That is alright. I'll close and lock the post for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked