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.
check_nna error
Re: check_nna error
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.
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.
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?
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*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 --ignorecertWhat 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!
Re: check_nna error
you can close this ticket, sorry for taking up time. My manager doesn't want to pursue.
Re: check_nna error
That is alright. I'll close and lock the post for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!