Greetings!
Could someone send me nagios plugin which is tested and works well for
monitoring IPTABLES in Linux.
I have tested below script but it is not returning correct output to nagios
server.
If I execute script manually, it shows correct output...
But if I execute via ./check_nrpe - H
Hi,
What is the wrong output being returned ? This might give us all a clue as to
the cause of the problem.
When you run the check manually, are you doing this as the same user that
check_nrpe will use ?
Regards,
Deborah
From: Thilakraj.Shanmugam [mailto:thilakraj.shanmu...@canberra.edu.au]
Hi Deborah, Thanks for the response.. please find the details below.
[root@abc libexec]# pwd
/usr/local/nagios/libexec
[root@abc libexec]# ./check_iptables.sh
- Executing manually script
+ IPT=/sbin/iptables
+
Never test as root!
Joerg
Am 14.05.2013 um 10:58 schrieb Thilakraj.Shanmugam
thilakraj.shanmu...@canberra.edu.au:
Hi Deborah, Thanks for the response.. please find the details below.
[root@abc libexec]# pwd
/usr/local/nagios/libexec
[root@abc libexec]# ./check_iptables.sh
Ok - if I look at your output, manually, when the plugin is run as the root
user it produces the correct result.
But, you haven't said what the nrpe user is that is running on the remote node
and whether the same manual run of the check produces the same output.
For example, I run remote
try setting the suid for this script
On Tue, May 14, 2013 at 2:59 PM, Deborah Martin deborah.mar...@kognitio.com
wrote:
Ok – if I look at your output, manually, when the plugin is run as the
“root” user it produces the correct result.
** **
But, you haven’t said what the nrpe user
Sunil Sankar [14.05.2013 12:41]:
try setting the suid for this script
Set a script suid? Which operating system supports that?
On Tue, May 14, 2013 at 2:59 PM, Deborah Martin deborah.mar...@kognitio.com
wrote:
Ok – if I look at your output, manually, when the plugin is run as the
On Tue, May 14, 2013 at 01:12:23PM +0200, Werner Flamme wrote:
Sunil Sankar [14.05.2013 12:41]:
try setting the suid for this script
Set a script suid? Which operating system supports that?
Better would be to enable the NRPE user to run a specific iptables
invocation via sudoers.
Good morning , i have one doubt about rstp bridges ... i did two different
paths to my RouterOS bridges, both with rstp enable, now i need monitoring
this values.
I someone know any plugin for nagios who work well, please send me some
idea...
I cnt locate this on nagios plugins,
thanks in
Good morning , i have one doubt about rstp bridges ... i did two different
paths to my RouterOS bridges, both with rstp enable, now i need monitoring
this values.
I someone know any plugin for nagios who work well, please send me some
idea...
I cnt locate this on nagios plugins,
thanks in
As of today, the migration from subversion to git has been completed.
The new git repository is still hosted at sourceforge. You can clone
the repository using the following command:
git clone git://git.code.sf.net/p/nagios/nagioscore
and then browse the code locally in your own nagioscore
11 matches
Mail list logo