Page 2 of 2

Re: Sources Not Start

Posted: Wed Oct 30, 2013 10:49 am
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.

Re: Sources Not Start

Posted: Wed Oct 30, 2013 5:41 pm
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.

Re: Sources Not Start

Posted: Thu Oct 31, 2013 8:16 am
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.