Is this displayed on the webui when opening the source tab, or when running a query? Which version of NNA do you presently have installed?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
The version is the latest 2014R1.1 and the message shows up in Network Analyzer in source/reports and the dashboard shows all sources are red not functioning.
I have installed again and receive the same error.
sh /usr/local/nagiosna/bin/nagiosna start
Traceback (most recent call last):
File "/usr/local/nagiosna/bin/initialize_source.py", line 16, in <module>
import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or directory
No such directory: /usr/local/nagiosna/var/nagiosxi/flows
No such directory: /usr/local/nagiosna/var/nagiosxi/flows
stat() error /usr/local/nagiosna/var/nagiosxi/flows: No such file or directory
Failed to add default data collector directory
Traceback (most recent call last):
File "/usr/local/nagiosna/bin/initialize_source.py", line 16, in <module>
import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or directory
open() error on '/usr/local/nagiosna/var/centos/flows/.nfstat' in nfstatfile.c line 312: Permission denied
NagiosNA backend started...
tail /usr/local/nagiosna/var/backend.log
Could not start nfcapd listening on 8001 for source centos
Error running initialization.
Could not start nfcapd listening on 8001 for source centos
Error running initialization.
Could not start nfcapd listening on 8001 for source centos
Error running initialization.
Error running initialization.
Error running initialization.
Could not start nfcapd listening on 8000 for source nagiosxi
Error running initialization.
Oct 29 22:55:15 net nfcapd[27708]: Add extension: 2 byte input/output interface index
Oct 29 22:55:15 net nfcapd[27708]: Add extension: 4 byte input/output interface index
Oct 29 22:55:15 net nfcapd[27708]: Add extension: 2 byte src/dst AS number
Oct 29 22:55:15 net nfcapd[27708]: Add extension: 4 byte src/dst AS number
Oct 29 22:55:15 net nfcapd[27708]: Replay flows to host: 192.168.5.77 port: 8001
Oct 29 22:55:15 net nfcapd[27710]: Error opening pid file: '/usr/local/nagiosna/var/centos/8001.pid' Permission denied
Can you send us a the portion of the sudoers file that contains nna lines, it might be in the /etc/sudoers.d/ directory as well. At the same time, just to confirm, what are the permissions inside /usr/local/nagiosna/?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.