Hello All,
I have found the helpful fix after much of struggle, it might be useful someone
want to configure and monitor Iptables status.
After write your own plugin, then keep it in /usr/local/nagios/libexec dir.
1. open /etc/sudoers file and comment line as like below
#Defaults
Talking of DAG's RPMs, if you'd been using Nagios 3.2.3 from rpmforge, I've
written a blog post on how to build Nagios 3.4.1 / 3.5.0 as a replacement,
using same file locations. The last postscript in the blog is the relevant
stuff for 3.5.0.
Hello All,
Just to add on, I have done some readings and tested other option is
1. open /etc/sudoers file and entry a line as like below
Defaults:nagios !requiretty
Note: It means only nagios user not require a tty, but rest of others have. I
recommend, this is better option
From: