[root@nswsydnws021 ~]# /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/SydneyIntranet/flows
No such directory: /usr/local/nagiosna/var/SydneyIntranet/flows
stat() error /usr/local/nagiosna/var/SydneyIntranet/flows: No such file or directory
Failed to add default data collector directory
NagiosNA backend started...
[root@nswsydnws021 ~]#
I run ps aux | grep nfcapd and returns empty
When i check the backend log I get
Error running initialization.
Could not start nfcapd listening on 2056 for source SydneyIntranet
[root@nswsydnws021 ~]# ll -t /usr/local/nagiosna/var/SydneyIntranet/flows | head -n 10
ls: cannot access /usr/local/nagiosna/var/SydneyIntranet/flows: No such file or directory
How did you try to add this source? Did you follow this document? "SydneyIntranet" is not in the "var" directory... Besides the "backend.log", you don't have anything else in it.
Thats how i added it. Downloaded VMware image, loaded it in VMware Workstation 10, logged in via the web interface and created a source. I presume when i create the source from the web interface it should create the folders?
As soon as I add a source via the web interface i get the following message in apache error_log
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/SydneyIntranet/flows
No such directory: /usr/local/nagiosna/var/SydneyIntranet/flows
stat() error /usr/local/nagiosna/var/SydneyIntranet/flows: No such file or directory
Failed to add default data collector directory
du: cannot access `/usr/local/nagiosna/var/SydneyIntranet': No such file or directory
du: cannot access `/usr/local/nagiosna/var/SydneyIntranet': No such file or directory
ERROR: opening '/usr/local/nagiosna/var/SydneyIntranet/bandwidth.rrd': No such file or directory
Could not start nfcapd listening on 2056 for source SydneyIntranet
This is probably not the main issue, but UPD port 2056 is not open by looking at your screenshot.
In any case, you should be able to create a source. Can you try creating a new source, named "test" (use whatever "sender IP" and port you want). Click on save, and check if "test" has been created:
Error running initialization.
Could not start nfcapd listening on 2056 for source SydneyInternodeWAN
Error running initialization.
Could not start nfcapd listening on 2056 for source SydneyInternodeWAN
Error running initialization.
Could not start nfcapd listening on 2056 for source SydneyInternodeWAN
Could not access /usr/local/nagiosna/var/SydneyInternodeWAN/2056.pid for killing: [Errno 2] No such file or directory: '/usr/local/nagiosna/var/SydneyInternodeWAN/2056.pid'
Error running initialization.
Could not start nfcapd listening on 2056 for source SydneyIntranet
Error running initialization.
Could not start nfcapd listening on 1111 for source test
Error running initialization.
Could not start nfcapd listening on 1111 for source test
[root@localhost ~]#
Was this the 32bit or 64bit vmware instance? I didn't see any indicator in your previous posts.
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.
So i downloaded the 64bit version and all works fine so I'll just use that. Just a heads up i tried both 32 bit VMWare images (vSphere OVF Template and VMware virtual machine 2014R1.4) and the source installer on the 32 bit system and they all had the same problem.
OK glad to hear its working, and thanks for the heads up, I will check both of those.
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.