Sources Not Start

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Sources Not Start

Post by lmiltchev »

Mike,
You are missing an entry. The "nna_conf" should look like this:
Defaults:%nnacmd !requiretty

Host_Alias HOST = localhost

Cmnd_Alias LIST = /sbin/iptables --list
Cmnd_Alias SAVE = /etc/init.d/iptables save
Cmnd_Alias UPDATE = /sbin/iptables -I INPUT -p udp -j ACCEPT --dport *
Cmnd_Alias DAEMON = /usr/local/nagiosna/bin/nagiosna *

%nnacmd HOST=(root) NOPASSWD: LIST
%nnacmd HOST=(root) NOPASSWD: SAVE
%nnacmd HOST=(root) NOPASSWD: UPDATE
%nnacmd HOST=(nna) NOPASSWD: /bin/kill *
%nnacmd HOST=(nna) NOPASSWD: DAEMON
Try adding the line, colored in red, save, then try to start each source from the web interface. Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Re: Sources Not Start

Post by mikew »

Just an update on this problem:

This was installed on a n OpenVZ virtual server. I believe that that was the problem as OpenVZ (virtualization which I use a lot) is not compatible with the application. So no matter how many times I made installs or modifications it failed.

However, I installed the same version on another form of virtualization and it worked fine. Everything worked from the start..easy to set up.

So I believe the networking of OpenVZ and the permissions required by the host was the problem.

Thanks for your help...I guess I will have to give up on OpenVZ.
Mike Weber

Nagios Training/Consulting
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Sources Not Start

Post by lmiltchev »

I am glad your issue has been resolved. I will talk to our developers and see what is going to take to make the product compatible with OpenVZ. If it is just a small tweak, we can submit a patch. I am locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked