Re: [Nagios-users] Manage notifications

2011-02-09 Thread steve f

You could do it for individual contacts & then put those contacts into a 
contact group

define contact{

service_notification_options[w,u,c,r,f,s,n]

service_notification_options:



This directive is used to define the service states for which 
notifications can be sent out to this contact.  Valid options are a 
combination of one or more of the following: w = notify on WARNING service 
states, u = notify on UNKNOWN service states, c = notify on CRITICAL service 
states, r = notify on service recoveries (OK states), and f = notify when the 
service starts and stops flapping.  If you specify n (none) as an option, the 
contact will not receive any type of service notifications.




Steve

> Date: Wed, 9 Feb 2011 09:22:34 -0500
> From: aengelm...@libertymgt.com
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Manage notifications
> 
> I have yet to customize that. But here is what I got from Yueh-Hung Liu on 
> that subject:
> 
> http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details
> 
> -Original Message-
> From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] 
> Sent: Wednesday, February 09, 2011 9:09 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Manage notifications
> 
> OK, fine.
> 
> Is it possible to do this only for a contact_group ? (one contact_group 
> that will receive all alerts, and one that will receive only criticals )
> 
> Many thanks
> 
> Le 09/02/11 14:54, Engelmann, Austin a écrit :
> > In my templates.cfg under Service Templates I changed
> > "notification_options  w,c,r", take the "w" out and that leaves Critical
> > and Recovery
> >
> > -Original Message-
> > From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com]
> > Sent: Wednesday, February 09, 2011 8:42 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Manage notifications
> >
> > Hi,
> >
> > On my configuration, all notifications (warning + error) are sent. Is
> > there a way to notify errors but not warnings ?
> >
> > BR
> >
> > 
> > --
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> > XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > ___
> > 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
> >
> > --
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > ___
> > 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
> 
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin 

Re: [Nagios-users] Manage notifications

2011-02-09 Thread Engelmann, Austin
I have yet to customize that. But here is what I got from Yueh-Hung Liu on that 
subject:

http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details

-Original Message-
From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] 
Sent: Wednesday, February 09, 2011 9:09 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Manage notifications

OK, fine.

Is it possible to do this only for a contact_group ? (one contact_group 
that will receive all alerts, and one that will receive only criticals )

Many thanks

Le 09/02/11 14:54, Engelmann, Austin a écrit :
> In my templates.cfg under Service Templates I changed
> "notification_options  w,c,r", take the "w" out and that leaves Critical
> and Recovery
>
> -Original Message-
> From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com]
> Sent: Wednesday, February 09, 2011 8:42 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Manage notifications
>
> Hi,
>
> On my configuration, all notifications (warning + error) are sent. Is
> there a way to notify errors but not warnings ?
>
> BR
>
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
>
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Manage notifications

2011-02-09 Thread Luc MAIGNAN
OK, fine.

Is it possible to do this only for a contact_group ? (one contact_group 
that will receive all alerts, and one that will receive only criticals )

Many thanks

Le 09/02/11 14:54, Engelmann, Austin a écrit :
> In my templates.cfg under Service Templates I changed
> "notification_options  w,c,r", take the "w" out and that leaves Critical
> and Recovery
>
> -Original Message-
> From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com]
> Sent: Wednesday, February 09, 2011 8:42 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Manage notifications
>
> Hi,
>
> On my configuration, all notifications (warning + error) are sent. Is
> there a way to notify errors but not warnings ?
>
> BR
>
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
>
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Manage notifications

2011-02-09 Thread Engelmann, Austin
In my templates.cfg under Service Templates I changed
"notification_options  w,c,r", take the "w" out and that leaves Critical
and Recovery

-Original Message-
From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] 
Sent: Wednesday, February 09, 2011 8:42 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Manage notifications

Hi,

On my configuration, all notifications (warning + error) are sent. Is 
there a way to notify errors but not warnings ?

BR


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Manage notifications

2011-02-09 Thread steve f

BR,

Try setting your service notification setting as follows to allow notification 
of only critical when you define your service :

notification_option c


Steve






> Date: Wed, 9 Feb 2011 14:41:32 +0100
> From: luc.maig...@winxpert.com
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Manage notifications
> 
> Hi,
> 
> On my configuration, all notifications (warning + error) are sent. Is 
> there a way to notify errors but not warnings ?
> 
> BR
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
  --
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] Understanding Unhandled Services / Hosts

2011-02-09 Thread Julian_Grunnell
***
Julian Grunnell
Unix Analyst
TD Waterhouse International
Leeds, West Yorkshire

Tel: 0113 346 2824
Extn: 32824
Mobex: 52824
***



Yueh-Hung Liu  
09/02/2011 13:26
Please respond to
Nagios Users List 


To
Nagios Users List 
cc

Subject
Re: [Nagios-users] Understanding Unhandled Services / Hosts






because the host is down, it assumes all its service are also unavailable.
therefore the first priority task is to "handle" the problem of the host.
so what i guess is just for simplifying display, only the host which
is down appears in Unhandled section.


On Wed, Feb 9, 2011 at 8:16 PM,   wrote:
>
> Hi - would someone be able to explain in detail the behaviour of this? I
> have a Nagios setup that in the Problems page is showing a host as DOWN 
-
> it's currently failing my default FPING test. It also has a number of 
simple
> check_tcp commands run against it, all of which are timing out because
> obviously with the host down I'm getting a "CRITICAL - Socket timeout 
after
> 10 seconds" for them all. BUT when looking in Unhandled Services they 
don't
> appear. The host itself DOES appear in the Unhandled Hosts screen. There 
are
> NO comments / acknowledgements in place at all for this host.
>
> Does anyone know why the service checks don't appear as an Unhandled
> Service?
>
> Thanks - J.
>


Thanks, your explanation does make sense as at the time I'd not 
acknowledged it, no scheduled downtime or anything. I'll just have to keep 
an eye on it for when this happens again or I'll simulate an error when I 
get time. I can just about remember that with the HOST critical it 
appeared in the "unhandled Hosts" section. And looking at the "Service 
Status Details" page the "Attempt" column remained on "1/3" whilst the 
host was DOWN. So it certainly was as if the HOST is DOWN so there is no 
point in it trying to perform any Service checks as these are always going 
to fail.

Julian.

___

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited 
(a subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. 
authorised and regulated by De Nederlandsche Bank and the Financial Services 
Authority for UK Business (FSA registered number 216791).  Incorporated in the 
Netherlands and registered as a branch in England and Wales under branch 
registration number BR006780.
___
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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

[Nagios-users] Manage notifications

2011-02-09 Thread Luc MAIGNAN
Hi,

On my configuration, all notifications (warning + error) are sent. Is 
there a way to notify errors but not warnings ?

BR

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Understanding Unhandled Services / Hosts

2011-02-09 Thread Yueh-Hung Liu
because the host is down, it assumes all its service are also unavailable.
therefore the first priority task is to "handle" the problem of the host.
so what i guess is just for simplifying display, only the host which
is down appears in Unhandled section.


On Wed, Feb 9, 2011 at 8:16 PM,   wrote:
>
> Hi - would someone be able to explain in detail the behaviour of this? I
> have a Nagios setup that in the Problems page is showing a host as DOWN -
> it's currently failing my default FPING test. It also has a number of simple
> check_tcp commands run against it, all of which are timing out because
> obviously with the host down I'm getting a "CRITICAL - Socket timeout after
> 10 seconds" for them all. BUT when looking in Unhandled Services they don't
> appear. The host itself DOES appear in the Unhandled Hosts screen. There are
> NO comments / acknowledgements in place at all for this host.
>
> Does anyone know why the service checks don't appear as an Unhandled
> Service?
>
> Thanks - J.
>
> ***
> Julian Grunnell
> Unix Analyst
> TD Waterhouse International
> Leeds, West Yorkshire
>
> Tel: 0113 346 2824
> Extn: 32824
> Mobex: 52824
> ***
>
> 
>
> Consider the environment. Please don't print this e-mail unless you really
> need to.
>
> Confidentiality:  This email and its attachments are intended for the above
> named only and may be confidential.  If they have come to you in error you
> must take no action based on them, nor must you copy or show them to anyone;
> please reply to this email and highlight the error.
>
> Viruses:  Although we have taken steps to ensure that this email and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure that they are actually
> virus-free.
>
> Brokerage services provided by TD Waterhouse Investor Services (Europe)
> Limited (a subsidiary of The Toronto-Dominion Bank).  Authorised and
> regulated by the Financial Services Authority (FSA registered number
> 141282), member of the London Stock Exchange and the PLUS market.
> Incorporated in England and Wales under registration number 2101863.
> Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking
> services provided by TD Waterhouse Bank N.V. authorised and regulated by De
> Nederlandsche Bank and the Financial Services Authority for UK Business (FSA
> registered number 216791).  Incorporated in the Netherlands and registered
> as a branch in England and Wales under branch registration number BR006780.
>
> 
>
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
>

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Understanding Unhandled Services / Hosts

2011-02-09 Thread Jim Avery
On 9 February 2011 12:16,   wrote:
>
> Hi - would someone be able to explain in detail the behaviour of this? I
> have a Nagios setup that in the Problems page is showing a host as DOWN -
> it's currently failing my default FPING test. It also has a number of simple
> check_tcp commands run against it, all of which are timing out because
> obviously with the host down I'm getting a "CRITICAL - Socket timeout after
> 10 seconds" for them all. BUT when looking in Unhandled Services they don't
> appear. The host itself DOES appear in the Unhandled Hosts screen. There are
> NO comments / acknowledgements in place at all for this host.
>
> Does anyone know why the service checks don't appear as an Unhandled
> Service?

Maybe those services are in scheduled downtime?

I notice that when I click on unhandled services, the "Display
Filters" panel in the header says ...

  Host Status Types:Pending | Up
  Host Properties:  Any
  Service Status Types: All Problems
  Service Properties:   Not In Scheduled Downtime & Has Not Been
Acknowledged & Active Checks Enabled

Out of interest, what does yours say?

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] using check_udp

2011-02-09 Thread Giles Coochey

On 09/02/2011 13:23, julian_grunn...@tdwh.co.uk wrote:


Hi - has anyone successfully got check_udp working? I'm trying to use 
check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a 
send/expect string and I've no idea what this is meant to be?


The target server is running syslog and the check so far has just been 
failing with this:


/opt/tools/libexec/check_udp -H 192.168.75.131 -p 514
With UDP checks, a send/expect string must be specified.


So I guess my question is simply what should the following be set to:

--send=STRING
--expect=STRING



Hi,

UDP is a connectionless protocol, because of this you can't just check 
to see whether the port is open like you can with TCP (which has a port 
open handshake --> SYN <-- SYN/ACK etc...)


I'm guessing that the --send string is what you will send to the UDP 
port in question and the --expect string is what you will expect back.


After a quick review of UDP/514 (syslog) and RFC3164, it appears to me 
that you cannot check this port using that particular check, because the 
syslog port will not report back to the sender in anyway (at least from 
what I can see).


Therefore, I would recommend that you try a packet capture to verify 
this is the case and research another method of monitoring syslog, it 
could be a passive check to see how old the latest logs in your syslog 
are with a use of MARK entries in the syslog to ensure it's refreshed 
from time to time.



--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] using check_udp

2011-02-09 Thread Joe Beck
8 bucks says it depends on the app or service running on port 514
So when you connect to that what msg like GET, SHOW, HEAD kind of deal will 
that app understand & what would its reply be?


From: julian_grunn...@tdwh.co.uk [mailto:julian_grunn...@tdwh.co.uk]
Sent: Wednesday, February 09, 2011 7:23 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] using check_udp


Hi - has anyone successfully got check_udp working? I'm trying to use check_UDP 
(nagios-plugins 1.4.5) 1.80 but it keeps asking for a send/expect string and 
I've no idea what this is meant to be?

The target server is running syslog and the check so far has just been failing 
with this:

/opt/tools/libexec/check_udp -H 192.168.75.131 -p 514
With UDP checks, a send/expect string must be specified.


So I guess my question is simply what should the following be set to:

--send=STRING
--expect=STRING


Thanks - Julian.

***
Julian Grunnell
Unix Analyst
TD Waterhouse International
Leeds, West Yorkshire

Tel: 0113 346 2824
Extn: 32824
Mobex: 52824
***



Consider the environment. Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited 
(a subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. 
authorised and regulated by De Nederlandsche Bank and the Financial Services 
Authority for UK Business (FSA registered number 216791).  Incorporated in the 
Netherlands and registered as a branch in England and Wales under branch 
registration number BR006780.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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

[Nagios-users] You don't have permission to access /nagios/nagvis/ on this server

2011-02-09 Thread Anand, Sakshi
Hi All,

I am new to Nagios and this forum.

I am facing following error message when trying to access nagvis -


You don't have permission to access /nagios/nagvis/ on this server


I am able to access http://destination-server/nagios/ fine with the 
username/password I have configured, but not nagvis.
This seems to be some kind of permission/configuration issue with NAGVIS.
Please help.
Thanks & Regards,
Sakshi Anand


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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

[Nagios-users] Understanding Unhandled Services / Hosts

2011-02-09 Thread Julian_Grunnell
Hi - would someone be able to explain in detail the behaviour of this? I 
have a Nagios setup that in the Problems page is showing a host as DOWN - 
it's currently failing my default FPING test. It also has a number of 
simple check_tcp commands run against it, all of which are timing out 
because obviously with the host down I'm getting a "CRITICAL - Socket 
timeout after 10 seconds" for them all. BUT when looking in Unhandled 
Services they don't appear. The host itself DOES appear in the Unhandled 
Hosts screen. There are NO comments / acknowledgements in place at all for 
this host.

Does anyone know why the service checks don't appear as an Unhandled 
Service?

Thanks - J. 

***
Julian Grunnell
Unix Analyst
TD Waterhouse International
Leeds, West Yorkshire

Tel: 0113 346 2824
Extn: 32824
Mobex: 52824
***
___

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited 
(a subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. 
authorised and regulated by De Nederlandsche Bank and the Financial Services 
Authority for UK Business (FSA registered number 216791).  Incorporated in the 
Netherlands and registered as a branch in England and Wales under branch 
registration number BR006780.
___
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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

[Nagios-users] using check_udp

2011-02-09 Thread Julian_Grunnell
Hi - has anyone successfully got check_udp working? I'm trying to use 
check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a 
send/expect string and I've no idea what this is meant to be?

The target server is running syslog and the check so far has just been 
failing with this:

/opt/tools/libexec/check_udp -H 192.168.75.131 -p 514
With UDP checks, a send/expect string must be specified.


So I guess my question is simply what should the following be set to:

--send=STRING
--expect=STRING


Thanks - Julian.

***
Julian Grunnell
Unix Analyst
TD Waterhouse International
Leeds, West Yorkshire

Tel: 0113 346 2824
Extn: 32824
Mobex: 52824
***
___

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited 
(a subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. 
authorised and regulated by De Nederlandsche Bank and the Financial Services 
Authority for UK Business (FSA registered number 216791).  Incorporated in the 
Netherlands and registered as a branch in England and Wales under branch 
registration number BR006780.
___
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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

[Nagios-users] Auto generated reports

2011-02-09 Thread Cosmin Neagu
Hello,
Does anyone know a plugin that can generate periodically reports and 
sent them via email?

Thanks

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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