[Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Thilakraj . Shanmugam
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

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Deborah Martin
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]

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Thilakraj . Shanmugam
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 +

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Joerg Linge
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

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Deborah Martin
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

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Sunil Sankar
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

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Werner Flamme
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

Re: [Nagios-users] Nagios Plugin for IPTABLES Monitoring

2013-05-14 Thread Roger Bell_West
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.

[Nagios-users] check RSTP

2013-05-14 Thread Marcelo Fenner Bitencourt
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

[Nagios-users] Check-RSTP

2013-05-14 Thread Marcelo Fenner Bitencourt
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

[Nagios-users] svn - git conversion

2013-05-14 Thread Andreas Ericsson
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