Re: [Nagios-users] VB: SV: check_http -S

2006-09-15 Thread Christopher Odenbach

Hi,

> I have a https site with a log in I want to check that the log in
> works with a user:password That's it! :-) and the problem is...i can
> writ what I want in the user/passwd...still replyes OK

I suppose the website you want to check does not use HTTP Basic 
Authentication (which the -a switch of check_http uses). Maybe it uses 
a form where you have to enter username and password and then press the 
submit button? In this case you need the -P switch for posting your 
credentials.

If you are not sure, just use a browser: Do you get a popup windows from 
your browser which asks you to enter username and password? Then it's 
basic auth. Or do you get a form? Then it's application specific and 
you need to post your data.

If the site is publically available, just tell us the URL and we will be 
able to help you.

Christopher

-- 
==
Dipl.-Ing. Christopher Odenbach
Zentrum fuer Informations- und Medientechnologien
Universitaet Paderborn
Raum N5.110
[EMAIL PROTECTED]
Tel.: +49 5251 60 5315
==


pgpWO3Zw5mUlZ.pgp
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

2006-09-15 Thread Stanley Hopcroft
Dear Hendro,

I am writing to thank you for your letter and say,

On 15/09/06, hendro budianto <[EMAIL PROTECTED]> wrote:
> Thx's Rob,
> for your help, but if i run the command manual is
> working fine.

Exactly, because what is run by ePN is not what you run.

ePN takes the script and turns it into another script in which the
original script is wrapped up as a subroutine (see
http://nagios.sourceforge.net/docs/2_0/embeddedperl.html for the gory
details).

This subroutine is compiled only once - compared with every time if a
shell was forked to run Perl - and the resulting Perl byte code
remains in memory as long as Nagios runs (that is why it is such a
memory pig).

Also, when its compiled, the strict pragma is used. This means that
each and every variable must be declared before use by

my $foo = 'bar' ;



> I wonder what wrong with my
> configurations ?

Nothing. This is simply part of the ePN tradeoff: better performance
for pickiness about what is run and lots of memory used.

> After added a new "my $script", the
> other error is occur "Global symbol "$timeout" or the
> other that begining with "$". Should i append the
> variable my $"" all manual ?

Yes.

To know when you are there without having ePN complain each time

1 add 'use strict' to the plugin

2 correct everything that perl -c plugin complains about

Either that or don't use ePN.

You can not use ePN by

1 changing the command definition (of the plugin) in commands.cfg to
add an explict path to Perl before the plugin path

eg command_line$USER1$/check_rootport -H $HOSTADDRESS$ -N $HOSTNAME

change to

command_line/usr/bin/perl $USER1$/check_rootport -H $HOSTADDRESS$
-N $HOSTNAME



This was discussed in the last week in this list.

2 calling the plugin from a shell or C wrapper (much harder).

>
> Thank you before.
>
> Best regards

Good luck.

Yours sincerely.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 15/09/2006 09:11:01:

> Dear Hendro,
>
> I am writing to thank you for your letter and say,
>
> On 15/09/06, hendro budianto <[EMAIL PROTECTED]> wrote:
> > Thx's Rob,
> > for your help, but if i run the command manual is
> > working fine.
>
> Exactly, because what is run by ePN is not what you run.
>
> ePN takes the script and turns it into another script in which the
> original script is wrapped up as a subroutine (see
> http://nagios.sourceforge.net/docs/2_0/embeddedperl.html for the gory
> details).
>
> This subroutine is compiled only once - compared with every time if a
> shell was forked to run Perl - and the resulting Perl byte code
> remains in memory as long as Nagios runs (that is why it is such a
> memory pig).
>
> Also, when its compiled, the strict pragma is used. This means that
> each and every variable must be declared before use by
>
> my $foo = 'bar' ;

Thanks for picking that one up Stanley.. I had to leave work before the
reply came in..

The core of the problem is the original coder didn't enable Strict syntax
checking, and probably didn't enable warnings.  Nagios's ePN plugin does
the right thing and uses Strict syntax checking and gives warnings (this is
standard perl practice)..

You will need to contact the developer of the plugin to tidy up his code,
or you can go in yourself and declare the variables yourself like I showed
you, adding in the "my $var;" statement, or you could go the lazy route and
run the script through an external perl interpereter without warnings or
syntax checking, but losing lots of speed from launching an external
process to compile + run the script every 5 minutes instead of running the
internally compiled script..

There is apparently an ePN commandline util that you may be able to run
which should work exactly the same as the embedded perl interpereter, you
may need to check this in the docs or source..

And it looks like that Stanley has already said exactly the same thing :-)

Cheers

> > I wonder what wrong with my
> > configurations ?
>
> Nothing. This is simply part of the ePN tradeoff: better performance
> for pickiness about what is run and lots of memory used.
>
> > After added a new "my $script", the
> > other error is occur "Global symbol "$timeout" or the
> > other that begining with "$". Should i append the
> > variable my $"" all manual ?
>
> Yes.
>
> To know when you are there without having ePN complain each time
>
> 1 add 'use strict' to the plugin
>
> 2 correct everything that perl -c plugin complains about
>
> Either that or don't use ePN.
>
> You can not use ePN by
>
> 1 changing the command definition (of the plugin) in commands.cfg to
> add an explict path to Perl before the plugin path
>
> eg command_line$USER1$/check_rootport -H $HOSTADDRESS$ -N $HOSTNAME
>
> change to
>
> command_line/usr/bin/perl $USER1$/check_rootport -H $HOSTADDRESS$
> -N $HOSTNAME
>
>
>
> This was discussed in the last week in this list.
>
> 2 calling the plugin from a shell or C wrapper (much harder).
>
> >
> > Thank you before.
> >
> > Best regards
>
> Good luck.
>
> Yours sincerely.
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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


This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


---

Re: [Nagios-users] **ePN failed to compile/usr/lib/nagios/plugins/check_snmp_cisco_memutil: "Globalsymbol "$script" requires explicit package name at (eval 1) line 29

2006-09-15 Thread Stanley Hopcroft
Dear Rob,

I am writing to thank you for your letter and say,

On 15/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote on 15/09/2006 09:11:01:
>
> Thanks for picking that one up Stanley.. I had to leave work before the
> reply came in..
>
> The core of the problem is the original coder didn't enable Strict syntax
> checking, and probably didn't enable warnings.  Nagios's ePN plugin does
> the right thing and uses Strict syntax checking and gives warnings (this is
> standard perl practice)..
>
> You will need to contact the developer of the plugin to tidy up his code,
> or you can go in yourself and declare the variables yourself like I showed
> you, adding in the "my $var;" statement, or you could go the lazy route and
> run the script through an external perl interpereter without warnings or
> syntax checking, but losing lots of speed from launching an external
> process to compile + run the script every 5 minutes instead of running the
> internally compiled script..
>

Yep.

> There is apparently an ePN commandline util that you may be able to run
> which should work exactly the same as the embedded perl interpereter, you
> may need to check this in the docs or source..
>

contrib/new_mini_epn.c

On the Dag RPM for RHEL systems, it is built (Yay Dag) and installed in /usr/bin

[EMAIL PROTECTED] sh1517]$ uname -a
Linux acisf011.portfolio.base 2.4.21-20.ELsmp #1 SMP Wed Aug 18
20:31:57 EDT 2004 i686 athlon i386 GNU/Linux
[EMAIL PROTECTED] sh1517]$ ls -l /usr/bin/new_mini_epn
-rwxrwxr-x1 root root16180 Jul 27 16:04 /usr/bin/new_mini_epn
[EMAIL PROTECTED] sh1517]$

It is a bit hard to use but useful (it supports the Perl
Term::ReadLine module so there is command history).

Here is how I recommend using it

1 cd to your plugin directory or your dev directory

2 cp the p1.pl into this path

3 cp the new_mini_epn into this path

Fire it up.

[EMAIL PROTECTED] switches]$ cp /usr/bin/p1.pl .
[EMAIL PROTECTED] switches]$ cp /usr/bin/new_mini_epn .
[EMAIL PROTECTED] switches]$ ./new_mini_epn
plugin command line: check_rootport
embedded perl plugin return code and output was: 3 & Must specify
non-null value for -H option. Outahere.

plugin command line: check_rootport -h
embedded perl plugin return code and output was: 0 & check_rootport
(nagios-plugins 1.4) 1.8

plugin command line: check_rootport -H 10.0.254.161
embedded perl plugin return code and output was: 0 & Ok. No topology
change: root port of 10.0.254.161 has not changed from that expected:
1. See http://nms/cgi-bin/display_spanning_tree";>Current
spanning tree graph.

plugin command line: check_rootport -H 10.0.254.171
embedded perl plugin return code and output was: 0 & Ok. No topology
change: root port of 10.0.254.171 has not changed from that expected:
50. See http://nms/cgi-bin/display_spanning_tree";>Current
spanning tree graph.

plugin command line: check_rootport -H 10.0.254.181
embedded perl plugin return code and output was: 3 & Switch
10.0.254.181 not found in %std_building_switch2root_port. Outahere.

plugin command line: check_rootport -H 10.0.254.191
embedded perl plugin return code and output was: 3 & Switch
10.0.254.191 not found in %std_building_switch2root_port. Outahere.
plugin command line:
That's all folks.
[EMAIL PROTECTED] switches]$

HTH.

Yours sincerely.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Still having problems with check_disk_smb

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 19:14:52:

> Does any know how to deal with these issues in this script?
>
> [EMAIL PROTECTED] /usr/nagios/libexec] 72# ./check_disk_smb -H
> fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of
> uninitialized value in concatenation (.) or string at ./check_disk_smb
line
> 61. Argument "2G" isn't numeric in numeric gt (>) at ./check_disk_smb
line
> 97. Argument "5G" isn't numeric in numeric gt (>) at ./check_disk_smb
line
> 97. Domain=[MVALENT] OS=[UNKNOWN] Server=[UNKNOWN] Disk ok - 14.16G (4%)
> free on \\fileserver.mvalent.net\Software [EMAIL PROTECTED]
> /usr/nagios/libexec] 73#

The arguments you're giving this script aren't all numeric:  5G is not a
number that it can add together with another number.

Try 500 for 5 Gigabytes etc..

rob


This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] notification_interval (per user)

2006-09-15 Thread Matteo Corti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I know that it is possible to limit to 1 the number of sent out messages
with the notification_interval option but as far as I know this is just
possible in the definition of hosts and services.

Instead I would like to set it for one contact. In other words I would
like that a single contact receives the notifications just once.

In my case I have two contacts: corti_sms and corti with different
notification periods. It would be nice if I could (for the same service)
have regular emails sent to corti and just one sms sent to corti_sms.

Any suggestion?

Many thanks,

Matteo

- --
Matteo Corti
ETH Zurich
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFCnR3LEG/T0gggJsRAmd7AKDPOPoEFvRqqpC64JMqEaaGeXR9rQCghCYt
1G0mqn8gQyCCfCFV+SdV1/Q=
=md/R
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] SYN attacks from nagios

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 14/09/2006 19:30:29:

> The device that is detecting the "attack" is a content switch, which
> sits in front of all the hosts.  There isn't a particular command that
> is triggering the alert.
>
> Here are two that I have seen for sure:
>
> define service {
> name check_nt_cpu
> check_command check_nt_cpu!!foo!10,90,95,60,80,95,1440,80,95
> max_check_attempts 3
> normal_check_interval 3
> retry_check_interval 3
> active_checks_enabled 1
> passive_checks_enabled 1
> check_period 24x7
> parallelize_check 1
> obsess_over_service 0
> check_freshness 0
> event_handler_enabled 1
> flap_detection_enabled 1
> process_perf_data 1
> retain_status_information 1
> retain_nonstatus_information 1
> notification_interval 5
> notification_period 24x7
> notifications_enabled 1
> register 0
> notification_options w,u,c,r
> }
>
> define service {
> name pmo-service-24x7
> max_check_attempts 3
> normal_check_interval 3
> retry_check_interval 3
> active_checks_enabled 1
> passive_checks_enabled 1
> check_period 24x7
> parallelize_check 1
> obsess_over_service 0
> check_freshness 0
> event_handler_enabled 1
> flap_detection_enabled 1
> process_perf_data 1
> retain_status_information 1
> retain_nonstatus_information 1
> notification_interval 5
> notification_period 24x7
> notifications_enabled 1
> register 0
> notification_options w,u,c,r
> }
>
>
> These are just templates but contain all the info that is important to
> this discussion.  These are the same as the 1.2 host as well.

Morning..

Okay.. so the content switch is detecting the SYN attacks on multiple
hosts..

Is the check check_nt_cpu running an NRPE_nt / NSClient++ check? These do
use TCP.. Not sure what the check_nt_cpu check actually does because you
haven't provided it here. it comes from the commands.cfg file..

I would say (without further investigation and no knoweledge of your
network archetecture) that the content switch is probably just doing it's
job, and is configured with some very low thresholds for SYN Flood
protection..  Check out the thresholds, see if they are lower than the
amount of checks the Nagios server is running through the server.  Here's
an equation for you so you can work out the servers polling frequency to
match it up to the network switch thresholds

Number of Hosts * ( Number of Services per host ( 60 Mins / Check interval
for services ) ) = Num of checks per hour

I would say these are probably a false alarm and adjust the parameters up a
little higher.

If you are really concerned, you might want to do some more digging and
find exactly which hosts are being SYN Flooded, the amount of packets per
second, the TCP ports being opened and the source port(s) of the attack.

Two programs which will assist you in this are:  tcpdump (cmdline) or
ethereal (cmdline and X)

Good luck

> On 9/14/06, Donnell Lewis <[EMAIL PROTECTED]> wrote:
> > Did the 'ping' command check itself change from the 2 different
> > versions ?  Check in checkcommands.cfg, see if the command definition
is
> > the same between the two.
> >
> > -DL
> >
> > On Thu, 2006-09-14 at 17:07 +0100, [EMAIL PROTECTED] wrote:
> > > [EMAIL PROTECTED] wrote on 14/09/2006
17:00:29:
> > >
> > > > Good morning,
> > > >
> > > > I have 2 nagios servers.  One is running 1.2 and the other is
running
> > > > 2.5.  Both are running in parallel while I migrate to the 2.5
machine.
> > > >  Our content switch is detecting that the 2.5 machine is SYN
attacking
> > > > hosts.  Both servers have very similar monitoring sets and similar
> > > > configurations.  I have gone through the config and nothing stands
> > > > out.  Obviously, the 2.5 machine is pounding the servers more
heavily
> > > > but I can't figure out why.  Below is my config.
> > > >
> > >
> > > Good evening!
> > >
> > > 
> > >
> > > What checks are you running against the server that is detecting the
SYN
> > > attacks?
> > >
> > > The config you posted is the general nagios config, we would need to
see
> > > the services.cfg portions for the affected host(s)
> > >
> > > Cheers


This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Pri

Re: [Nagios-users] notification_interval (per user)

2006-09-15 Thread rob . moss
[EMAIL PROTECTED] wrote on 15/09/2006 10:37:59:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> I know that it is possible to limit to 1 the number of sent out messages
> with the notification_interval option but as far as I know this is just
> possible in the definition of hosts and services.
>
> Instead I would like to set it for one contact. In other words I would
> like that a single contact receives the notifications just once.

Set the notification_interval to 0 which makes sure that only 1 email or
page is sent out

It's in the docs if you need further info

rob


This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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_http -S

2006-09-15 Thread Hari Sekhon
I use webinject on the nagios monitoring server, you will need to create 
one or two config xml files for it for each login. Get it to parse the 
redirect result and test you got the right page returned. Also make sure 
that the report type is set to nagios to supply the correct exit codes 
and single output line. See the docs, they're ok.

-h

-- 
Hari Sekhon


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] notification_interval (per user)

2006-09-15 Thread Matteo Corti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote on 15/09/2006 10:37:59:
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi,
>>
>> I know that it is possible to limit to 1 the number of sent out messages
>> with the notification_interval option but as far as I know this is just
>> possible in the definition of hosts and services.
>>
>> Instead I would like to set it for one contact. In other words I would
>> like that a single contact receives the notifications just once.
> 
> Set the notification_interval to 0 which makes sure that only 1 email or
> page is sent out
> 
> It's in the docs if you need further info

Thanks. I know but this (as far as I understood) can only be set for a
given service not a given contact. This means that I should duplicate
*every* service and for each service:

service1 notify contact_sms once per sms
service1 notify contact every 120m per email

I have more or less 50 entries that I should duplicate. I would like
something like

service1 notify contact_sms, contact per sms and email

and then in contacs.cfg set globally that corti_sms should receive only
one notification.

Thanks again

Matteo

- --
Matteo Corti
ETH Zurich
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFCqcXLEG/T0gggJsRAluDAKCtPGsf+oElLQLvYXmcV5Ufk58WtQCeJdKd
jKtEY9azL82leHcTQc8ST64=
=Bo7X
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Warning - running nagios did not exit in time

2006-09-15 Thread Christian Roy
Hello,

Server where nagios is located:
Red Hat Linux release 7.2 (Enigma)
Apache .2.2.3
gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-98 )

Server that I want to monitor (nrpe installed):
Fedora Core release 2 (Tettnang)
Apache .2.2.3
version gcc 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

I have been using nagios v1.x for some time now on a different 
server (and network).
I am doing a new installation of the 2.5 release.
I am starting fresh, I am not trying to import anything.

I installed an RPM version by rebuilding the src rpm.
When I start nagios (/etc/init.d/nagios start) I get no errors:
   Starting network monitor: nagios
In the nagios.log I see no errors:
  [1158259211] Nagios 2.5 starting... (PID=23923)
  [1158259211] LOG VERSION: 2.0
  [1158259211] Finished daemonizing... (New PID=25591)
The file /var/log/messages has similar lines.

nagios -s reports:

Nagios 2.5
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 07-13-2006
License: GPL

Projected scheduling information for host and service
checks is listed below.  This information assumes that
you are going to start running Nagios with your current
config files.

HOST SCHEDULING INFORMATION
---
Total hosts: 1
Total scheduled hosts:   0
Host inter-check delay method:   SMART
Average host check interval: 0.00 sec
Host inter-check delay:  0.00 sec
Max host check spread:   30 min
First scheduled check:   N/A
Last scheduled check:N/A


SERVICE SCHEDULING INFORMATION
---
Total services: 6
Total scheduled services:   6
Service inter-check delay method:   SMART
Average service check interval: 300.00 sec
Inter-check delay:  50.00 sec
Interleave factor method:   SMART
Average services per host:  6.00
Service interleave factor:  6
Max service check spread:   30 min
First scheduled check:  Fri Sep 15 16:30:51 2006
Last scheduled check:   Fri Sep 15 16:35:01 2006


CHECK PROCESSING INFORMATION

Service check reaper interval:  10 sec
Max concurrent service checks:  Unlimited


PERFORMANCE SUGGESTIONS
---
I have no suggestions - things look okay.



I used the minimal.cfg file, renamed it and simply changed 
the definitions for the services, hosts, contact, etc.. I 
also changed the chekc_commands to use the check_nrpe like 
this :
define command{
command_name check_nrpe
command_line .../check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}

define service {
   ...
check_commandcheck_nrpe!check_disk1
}

I have the nrpe deaemon running on the remote host with 
the IP of where nagios is in the allowed_host config 
(running as xinet.d) and I have  verified it is running 
by telnet localhost 5666 and getting a connection 
from both servers (nagios server and the server I want 
to monitor).

At first, I had check external commands disabled.  I 
could use the web interface but all services were PENDING
 and staying PENDING even after the time went past the 
next scheduled check.

And when I was trying to stop nagios (/etc/init.d/nagios stop) 
I would get  an error (the only error I saw in all this mess):
   Stopping network monitor: nagios
   Waiting for nagios to exit . . . . . . . . . . .
   Warning - running nagios did not exit in time

Some left over nagios process is left running and I have 
to "killall -9 nagios" to stop nagios otherwise I end up 
having multiple copies running.

I've enabled check extern commands and changed the "rw" 
directory's  permission based on the documentation 
(http://nagios.sourceforge.net/docs/2_0/commandfile.html) 
and now the web says nagios is not running even though I 
restarted apache and nagios.
Error I get is : 
"Whoops!  Error: Could not read host and service status
information!"
However nagios IS running. 
(ps awux | grep nagios shows 3 processes)

apache is running as "daemon" so I have added secondary group 
nagiocmd to nagios and to daemon.
the permission of the directory is:
drwxrws--- nagios nagiocmd /var/log/nagios/rw/

When I run nagios -v /etc/nagios/nagios.cfg I get no 
warning and no errors (Things look okay).
I have 6 services, one host, one host group, one 
contact, one contact group, 9 commands and one 
timeperiod.

I've disabled the retention as suggested in this 
forum for services and hosts left in "PENDING", but 
no use.  I would very much like to force a 
check using the CGI but I am having trouble there too.

The log directory does not contains a status.log file, 
I do not know if that's relevant.
I tried starting the daemon by hand 
(nagios -d /etc/nagios/nagios.cfg) but 
I got no error messages there either.

I've searched on google to the only error message 
(in the title of this post) but only found reference 
to the script.
I went over the parts 

[Nagios-users] 2.5 Host Check not working after upgrade

2006-09-15 Thread martoq
Hello All,

I have been searching the mailing list and really haven't seen anyone
with this problem.  I hope you all can help.  I recently upgraded from
2.0 to 2.5.  After doing so, host checking no longer works.  Nagios just
reports my hosts down.  I do have services on them. It even fails on
localhost.  I have taken a default install of 2.5 and get the exact same
error.  Heres what I have as well as the error I see on the webpage.
Now I want to point out, whats weird on the webpage is the status, it
shows the node as being down and reads:

Host Status:
  DOWN
Status Information: /bin/ping -n -U -w 10 -c 1 127.0.0.1
Performance Data:   
Current Attempt:1/10
State Type: HARD
Last Check Type:ACTIVE
Last Check Time:09-15-2006 11:09:11
Status Data Age:0d 0h 0m 14s
Next Scheduled Active Check:N/A
Latency:0.000 seconds
Check Duration: 0.016 seconds
Last State Change:  09-15-2006 10:31:14
Current State Duration: 0d 0h 38m 11s
Last Host Notification: 09-15-2006 10:31:14
Current Notification Number:1
Is This Host Flapping?  N/A
Percent State Change:   N/A
In Scheduled Downtime?  
  NO
Last Update:09-15-2006 11:09:16


Below is my host information and configs:


Host: Mandrake 2006

Relavent Config:
define host{
use generic-host
host_name   localhost
alias   localhost
address 127.0.0.1
check_command   check-host-alive
max_check_attempts  10
check_period24x7
notification_interval   120
notification_period 24x7
notification_optionsd,r
contact_groups  localhost-admins
}


# 'check-host-alive' command definition
define command{
command_namecheck-host-alive
command_line$USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,80% -c 5000.0,100% -p 1
}

##


Any help would be GREATLY appreciated.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] config file activation after changes

2006-09-15 Thread Matthias Eble
Sloane, Robert Raymond schrieb:
> You were probably hit by state retention.  Take a look at the
> documentation for notifications_enabled and you will see a footnote:
> 
> Retention Notes
> 
> It is important to point out that several directives in host and service
> definitions may not be picked up by Nagios when you change them. Host
> and service directives that can exhibit this behavior are marked with an
> asterisk (*). The reason for this behavior is due to the fact that
> Nagios chooses to honor values stored in the state retention file over
> values found in the config files, assuming you have state retention
> enabled on a program-wide basis and the value of the directive is
> changed during runtime (by submitting an external command).
> 
> One way to get around this problem is to disable the retention of
> non-status information using the retain_nonstatus_information directive
> in the host and service definitions. Disabling this directive will cause
> Nagios to take the initial values for these directives from your config
> files, rather than from the state retention file when it (re)starts.
> Using this option is not recommended, as it may result in some
> unexpected (from your point of view) results.
> 
> Alternatively, you can issue the appropriate external command or change
> the value of the host or service directive via the web interface, so
> that it matches what you've changed it to in the config files. This is
> usually done by using the extended information CGI. This option takes a
> bit more work, but is preferable to disabling the retention of
> non-status information (mentioned above).

argh.. I guess I flew over this one a bit too fast.

I saw the footmark but didn't read it carefully since I expected 
retention to only contain the service state.

thanks a lot.
matthias

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] More meaningful Nagios Map(s)

2006-09-15 Thread Travis Rabe
Hello,  I have been trying to see what it is I need to do in order to create more meaningful and descriptive Nagios Maps.  I saw this screenshot on the site, 
http://nagios.sourceforge.net/images/screens/big/statusmap.jpg, and this is more of what I want to accomplish.  Right now all I have is everythign coming form the Nagios image.  Is this all done with dependencies?  I have added some and it seems to have no affect.
Any help would be greatly appreciated.-- Regards,Travis Rabe[EMAIL PROTECTED]
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] More meaningful Nagios Map(s)

2006-09-15 Thread Matthias Eble
Travis Rabe schrieb:
> everythign coming form the Nagios image.  Is this all done with 
> dependencies?  I have added some and it seems to have no affect.

Hi travis,

I haven't tried it with dependencies. Using the parent directive in the 
host config works for us..

matthias

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] More meaningful Nagios Map(s)

2006-09-15 Thread Frances Albemuth
 If I understand you correctly, what you're looking for is a
parent-child relationship, defined like so:

 define host{

 parents $host

   }

  HTH.

  -FC


On 9/15/06, Travis Rabe <[EMAIL PROTECTED]> wrote:
> Hello,
>
>   I have been trying to see what it is I need to do in order to create more
> meaningful and descriptive Nagios Maps.  I saw this screenshot on the site,
> http://nagios.sourceforge.net/images/screens/big/statusmap.jpg,
> and this is more of what I want to accomplish.  Right now all I have is
> everythign coming form the Nagios image.  Is this all done with
> dependencies?  I have added some and it seems to have no affect.
>
> Any help would be greatly appreciated.
>
>
>
> --
> Regards,
> Travis Rabe
> [EMAIL PROTECTED]
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> 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
>
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora

2006-09-15 Thread Vern Kyle
I doubt it's a permission issue.  All files are owned by the nagios
user, and all permissions are readable by the webserver user.  I
doubled checked this to make sure it is the case.  I also tried making
all nagios config, plugins, etc readable/writable by user,group and
other just to test, still get the same error.


On 9/14/06, Elias Probst <[EMAIL PROTECTED]> wrote:
> Are your configuration files readable by the nagios-user? Check the
> permissions.
>
> Regards
>
> Elias P.
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora

2006-09-15 Thread Donnell Lewis
Well, as for permissions, if I'm not mistaken in the docs somewhere it
states to make sure you have SELinux disabled.  So you also may want to
make sure that is the case on your box as well.

-DL

On Fri, 2006-09-15 at 10:50 -0700, Vern Kyle wrote:
> I doubt it's a permission issue.  All files are owned by the nagios
> user, and all permissions are readable by the webserver user.  I
> doubled checked this to make sure it is the case.  I also tried making
> all nagios config, plugins, etc readable/writable by user,group and
> other just to test, still get the same error.
> 
> 
> On 9/14/06, Elias Probst <[EMAIL PROTECTED]> wrote:
> > Are your configuration files readable by the nagios-user? Check the
> > permissions.
> >
> > Regards
> >
> > Elias P.
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > 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
> >
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Want to run 2 nagios on 1 machine

2006-09-15 Thread David Schlecht
Hi All



I'm trying to run two instances of Nagios on the same machine using
 virtual hosts, but I'm having trouble. Has anyone succeeded at
 this? I've checked over some old posts with suggestions but the
 CGIs just don't seem to work with two instances.



The specifics --

We are monitoring a large network and have 24/7 operators watching
 the console and pager and e-mail. Nagios is great for alerting
 them so they can notify the right department/technician.



The operators are not allowed to change the status, such as disabling
 notifications, acknowledgements... This is strictly a read-only
 interface. Hence, their web login is via a privledged account which
 allows them to view all hosts and services, but can't change anything.
 Their e-mail comes from a different account.



Now we have developers who want to monitor their test/development
 machines and I don't want these failures to reach the operators'
 web interface. Since the operators are viewing a privledged screen,
 there's no way to prevent them from seeing the test boxes.



My current attempt uses a single Nagios install with separate test
 directories, many linked back to the installed ones. Running the
 CGI in the test directory shows all the hosts from the production
 instance.



If two instances isn't the best way to solve this, are there any
 other suggestions?



Thanks,



- David Schlecht (dschl)



---

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] SYN attacks from nagios

2006-09-15 Thread Terry
They are using nrpe_nt.  We never had a problem with the 1.2 machine.
It is only the 2.5 machine and they are configured the same as far as
check intervals are concerned.


On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote on 14/09/2006 19:30:29:
>
> > The device that is detecting the "attack" is a content switch, which
> > sits in front of all the hosts.  There isn't a particular command that
> > is triggering the alert.
> >
> > Here are two that I have seen for sure:
> >
> > define service {
> > name check_nt_cpu
> > check_command check_nt_cpu!!foo!10,90,95,60,80,95,1440,80,95
> > max_check_attempts 3
> > normal_check_interval 3
> > retry_check_interval 3
> > active_checks_enabled 1
> > passive_checks_enabled 1
> > check_period 24x7
> > parallelize_check 1
> > obsess_over_service 0
> > check_freshness 0
> > event_handler_enabled 1
> > flap_detection_enabled 1
> > process_perf_data 1
> > retain_status_information 1
> > retain_nonstatus_information 1
> > notification_interval 5
> > notification_period 24x7
> > notifications_enabled 1
> > register 0
> > notification_options w,u,c,r
> > }
> >
> > define service {
> > name pmo-service-24x7
> > max_check_attempts 3
> > normal_check_interval 3
> > retry_check_interval 3
> > active_checks_enabled 1
> > passive_checks_enabled 1
> > check_period 24x7
> > parallelize_check 1
> > obsess_over_service 0
> > check_freshness 0
> > event_handler_enabled 1
> > flap_detection_enabled 1
> > process_perf_data 1
> > retain_status_information 1
> > retain_nonstatus_information 1
> > notification_interval 5
> > notification_period 24x7
> > notifications_enabled 1
> > register 0
> > notification_options w,u,c,r
> > }
> >
> >
> > These are just templates but contain all the info that is important to
> > this discussion.  These are the same as the 1.2 host as well.
>
> Morning..
>
> Okay.. so the content switch is detecting the SYN attacks on multiple
> hosts..
>
> Is the check check_nt_cpu running an NRPE_nt / NSClient++ check? These do
> use TCP.. Not sure what the check_nt_cpu check actually does because you
> haven't provided it here. it comes from the commands.cfg file..
>
> I would say (without further investigation and no knoweledge of your
> network archetecture) that the content switch is probably just doing it's
> job, and is configured with some very low thresholds for SYN Flood
> protection..  Check out the thresholds, see if they are lower than the
> amount of checks the Nagios server is running through the server.  Here's
> an equation for you so you can work out the servers polling frequency to
> match it up to the network switch thresholds
>
> Number of Hosts * ( Number of Services per host ( 60 Mins / Check interval
> for services ) ) = Num of checks per hour
>
> I would say these are probably a false alarm and adjust the parameters up a
> little higher.
>
> If you are really concerned, you might want to do some more digging and
> find exactly which hosts are being SYN Flooded, the amount of packets per
> second, the TCP ports being opened and the source port(s) of the attack.
>
> Two programs which will assist you in this are:  tcpdump (cmdline) or
> ethereal (cmdline and X)
>
> Good luck
>
> > On 9/14/06, Donnell Lewis <[EMAIL PROTECTED]> wrote:
> > > Did the 'ping' command check itself change from the 2 different
> > > versions ?  Check in checkcommands.cfg, see if the command definition
> is
> > > the same between the two.
> > >
> > > -DL
> > >
> > > On Thu, 2006-09-14 at 17:07 +0100, [EMAIL PROTECTED] wrote:
> > > > [EMAIL PROTECTED] wrote on 14/09/2006
> 17:00:29:
> > > >
> > > > > Good morning,
> > > > >
> > > > > I have 2 nagios servers.  One is running 1.2 and the other is
> running
> > > > > 2.5.  Both are running in parallel while I migrate to the 2.5
> machine.
> > > > >  Our content switch is detecting that the 2.5 machine is SYN
> attacking
> > > > > hosts.  Both servers have very similar monitoring sets and similar
> > > > > configurations.  I have gone through the config and nothing stands
> > > > > out.  Obviously, the 2.5 machine is pounding the servers more
> heavily
> > > > > but I can't figure out why.  Below is my config.
> > > > >
> > > >
> > > > Good evening!
> > > >
> > > > 
> > > >
> > > > What checks are you running against the server that is detecting the
> SYN
> > > > attacks?
> > > >
> > > > The config you posted is the general nagios config, we would need to
> see
> > > > the services.cfg portions for the affected host(s)
> > > >
> > > > Cheers
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive 

Re: [Nagios-users] notification_interval (per user)

2006-09-15 Thread David Schlecht
Hi Matteo   



You can use escalations to change to notifying some on the first
 notification and others on the second and all subsequent notifications.





- David Schlecht (dschl)



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi
1[showUid]=21914



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] config file activation after changes

2006-09-15 Thread Hugo van der Kooij
On Fri, 15 Sep 2006, Matthias Eble wrote:

> my nagios instance showed some strange behaviour a couple of minutes
> ago. I changed a couple of services to notifications_enabled 0 in the
> configfiles, but the deamon didn't recognize the changes after reloading
> and restarting. (yes, i checked for duplicate processes).
>
> So I changed the service description, reloaded nagios and the changes
> were activated. I then changed the description back, reloaded ->
> everything fine.. notifications disabled.
>
> The "View Config" cgi showed everything correctly all the time (I guess
> it parses the configfiles, not the status files, right?)
>
> To me it looks like a bug up to now. Has anyone some ideas?

Well. If it is a bug you can propably reproduce it. If you can't reproduce
it anymore then it could be just about anything.

Your description sounds like a once in a blue moon event type. But if you
can reproduce it and describe how you did it then I am sure the developers
want to know about it. But please provide enough details so someone else
can reproduce it.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] SIP Monitoring

2006-09-15 Thread Max Clark
Hi all,

Just curious if anyone out there is using Nagios to monitor their SIP
service on SER/Asterisk machines. What's the best way to do this?

TIA,
Max

-- 
 Max Clark
 http://www.clarksys.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] SIP Monitoring

2006-09-15 Thread John P. Rouillard

In message <[EMAIL PROTECTED]>,
"Max Clark" writes:
>Just curious if anyone out there is using Nagios to monitor their SIP
>service on SER/Asterisk machines. What's the best way to do this?

Yup. Using the check_sip plugin from
http://www.bashton.com/content/nagiosplugins.

Seems to work well.


-- rouilj
John Rouillard
===
My employers don't acknowledge my existence much less my opinions.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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