Re: [Nagios-users] R: R: check_udp error message

2013-09-06 Thread Roger Bell_West
On Fri, Sep 06, 2013 at 08:19:37AM +0200, Marco Borsani wrote:
I have not any idea how to construct a packet to send/receive...I did not
thing was necessary to use that plugin..

Try reading https://en.wikipedia.org/wiki/User_Datagram_Protocol since
you clearly don't understand UDP. You are still suffering from the
same conceptual error as in your original post, even though several
kind people have explained the problem. There's no point in us telling
you the answer again if you aren't equipped to make sense of it.

R

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_udp error message

2013-09-06 Thread Roger Bell_West
On Fri, Sep 06, 2013 at 01:44:06PM +0200, Marco Borsani wrote:
I already have read that wiki...

OK, I'll try to explain in a different way.

With a TCP-based service there's a standard handshake. You send a SYN,
you get a SYN+ACK, you send an ACK; if that happens, the TCP port is
open. (It may not be responding in a useful way, but it is at least
accepting connections.) So check_tcp doesn't need anything more than
an address and port number to be a useful generic monitor.

With UDP there is no handshaking except what's defined in the
application layer. If you send something that's not what the listening
server expects, the response you get could be an error or could be
nothing at all; it's entirely up to the listening server. The concept
of an open UDP port is not really very meaningful in itself. You can
check that you don't get an ICMP Port Unreachable when you send random
junk to the port (I assume that's what the old check_udp is doing;
I've never used it), but there are lots of reasons you might not get
that packet back, including firewall policies; it's no sort of
reliable test.

So your UDP service, of which you still refuse to give any detail, is
expecting something and will return something else. You need to send
it that something, and look for the something else in the response --
just as you send a URL and look for body text when you're using
check_http.

Roger

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Plugin check_md_raid

2013-05-06 Thread Roger Bell_West
On Sun, May 05, 2013 at 09:58:29PM -0300, Daniel Bareiro wrote:
Hari, if you're out there, do you know what could be the problem?

Looks to me as though clean  is not the same as clean.

These days I use check_linux_raid out of the standard plugins
package. (Haven't upgraded to wheezy yet.)

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null