Re: [Nagios-users] Checking Bacula with Nagios

2009-09-22 Thread Masopust, Christian

Hello Reynier,

have you seen that there's a "check_bacula" within Bacula source
distribution?  Look for it in examples/nagios.

Christian

--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside." 

- Unknown Unix Jedi  

> -Original Message-
> From: Reynier Pérez Mira [mailto:rper...@uci.cu] 
> Sent: Wednesday, September 23, 2009 12:28 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Checking Bacula with Nagios
> 
> Hi every:
> I need to check Bacula status over Nagios. For that I follow 
> the steps 
> explained here: 
> http://wiki.bacula.org/doku.php?id=nagios_active_checks. 
> After get NRPE working I get this error in my Nagios:
> NRPE: Unable to read output.
> 
> The NRPE configuration on Bacula Server is this one:
> command[check_bacula_baculaserver_dir]=/usr/local/nagios/libex
> ec/check_bacula.pl 
> -H 24 -w 2 -c 1 -j SP_SVEXPBD01-FD
> 
> And the NRPE command in Nagios config is this:
> #Check Bacula
> define service{
>   uselocal-service
>  host_name  10.128.50.11
>  service_descriptionCheck Bacula Job
>  check_command  
> check_nrpe!check_bacula_baculaserver_dir
> }
> 
> Can any tell me where the problem is?
> Cheers and thanks in advance
> 
> --
> 
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. 
> Jumpstart your
> developing skills, take BlackBerry mobile applications to 
> market and stay 
> ahead of the curve. Join us from November 9-12, 2009. 
> Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
> 
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Checking Bacula with Nagios

2009-09-22 Thread Jon Angliss
On Tue, 22 Sep 2009 22:18:42 -0400, Reynier Pérez Mira
 wrote:

>Jon Angliss wrote:
>> On Tue, 22 Sep 2009 18:27:46 -0400, Reynier Pérez Mira
>>  wrote:
>> 
>> 
>> What happens if you run the command as the user nrpe runs as? What do
>> you get back? Any errors?  What happens when you run with env -i?
>> 
>> # su - nagios
>> # env -i
>> # /usr/local/nagios/libexec/check_bacula.pl -H 24 -w 2 -c 1 -j
>> SP_SVEXPBD01-FD
>> 
>> This assumes nagios is the user your nrpe runs as.
>
>I get this error:
>
>install_driver(pgsql) failed: Can't locate DBD/pgsql.pm in @INC (@INC 
>contains: /etc/perl /usr/local/lib/perl/5.10.0 
>/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 
>/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at 
>(eval 3) line 3.
>Perhaps the DBD::pgsql perl module hasn't been fully installed,
>or perhaps the capitalisation of 'pgsql' isn't right.
>Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
>  at /usr/local/nagios/libexec/check_bacula.pl line 137
>
>How I can install this driver?

See if your package system has the libraries.  Debian base systems
have libdbd-pg-perl for example.  If not, you can use CPAN to install
DBD::Pg, but you'd be very hard pressed to not find it as part of your
package system.
-- 
Jonathan Angliss



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Checking Bacula with Nagios

2009-09-22 Thread Reynier Pérez Mira
Jon Angliss wrote:
> On Tue, 22 Sep 2009 18:27:46 -0400, Reynier Pérez Mira
>  wrote:
> 
> 
> What happens if you run the command as the user nrpe runs as? What do
> you get back? Any errors?  What happens when you run with env -i?
> 
> # su - nagios
> # env -i
> # /usr/local/nagios/libexec/check_bacula.pl -H 24 -w 2 -c 1 -j
> SP_SVEXPBD01-FD
> 
> This assumes nagios is the user your nrpe runs as.

I get this error:

install_driver(pgsql) failed: Can't locate DBD/pgsql.pm in @INC (@INC 
contains: /etc/perl /usr/local/lib/perl/5.10.0 
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at 
(eval 3) line 3.
Perhaps the DBD::pgsql perl module hasn't been fully installed,
or perhaps the capitalisation of 'pgsql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
  at /usr/local/nagios/libexec/check_bacula.pl line 137

How I can install this driver?
Cheers


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Checking Bacula with Nagios

2009-09-22 Thread Jon Angliss
On Tue, 22 Sep 2009 18:27:46 -0400, Reynier Pérez Mira
 wrote:

>Hi every:
>I need to check Bacula status over Nagios. For that I follow the steps 
>explained here: http://wiki.bacula.org/doku.php?id=nagios_active_checks. 
>After get NRPE working I get this error in my Nagios:
>NRPE: Unable to read output.
>
>The NRPE configuration on Bacula Server is this one:
>command[check_bacula_baculaserver_dir]=/usr/local/nagios/libexec/check_bacula.pl
> 
>-H 24 -w 2 -c 1 -j SP_SVEXPBD01-FD
>
>And the NRPE command in Nagios config is this:
>#Check Bacula
>define service{
>   uselocal-service
> host_name  10.128.50.11
> service_descriptionCheck Bacula Job
> check_command  check_nrpe!check_bacula_baculaserver_dir
>}
>
>Can any tell me where the problem is?

What happens if you run the command as the user nrpe runs as? What do
you get back? Any errors?  What happens when you run with env -i?

# su - nagios
# env -i
# /usr/local/nagios/libexec/check_bacula.pl -H 24 -w 2 -c 1 -j
SP_SVEXPBD01-FD

This assumes nagios is the user your nrpe runs as.
-- 
Jonathan Angliss



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.0.6 and 3.1.2 SIGSEGV on FreeBSD 8 in get_next_comment_by_host

2009-09-22 Thread Scott Lambert
On Thu, Sep 17, 2009 at 11:14:41PM -0500, Scott Lambert wrote:
> I have installed Nagios 3.0.6 using the ports collection on a FreeBSD
> 8-BETA2 box.
>
> Nagios runs great until someone acknowleges a down host, (adding
> a comment).  Later, when the host comes back up, Nagios exits on
> a SIGSEGV.  It seems to only happen when we have retention data
> (retention.dat) showing the host down.  If we just restart Nagios
> without removing the retention.dat file, it SIGSEGV's the next time
> it tries to mark the host up.  I upgraded to the nagios-devel devel
> (Nagios 3.1.2) and we have the same problem.

Stefan Bethke replied to my post to the freebsd-current mailing list.
He believes that Nagios has a "use after free" bug evidenced by finding
the canary values the FreeBSD malloc sets while using gdb to debug the
problem.

  http://archive.netbsd.se/?ml=nagios-devel&a=2009-07&t=11196612

Turning off the malloc debug argument "J" by linking /etc/malloc.conf to
"j" appears to have caused Nagios to stop dieing on SIGSEGV.

  http://www.freebsd.org/cgi/man.cgi?query=malloc

As I understand it, the fact that Nagios works without the debug option
set for malloc means Nagios is still trying to use previously free()d,
realloc()d or rallocf()d memory but the values in the memory are benign
enough to allow it to keep running.  But, I am just an admin, not a
developer, so could be getting that all wrong.

Anyway, FreeBSD 8 is up to release candidate status and should now have
malloc debugging turned off by default now.  People trying with current
FreeBSD 8 code should not see the problem.  People on FreeBSD 9 will
though. ;-)

-- 
Scott LambertKC5MLE   Unix SysAdmin
lamb...@lambertfam.org


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Checking Bacula with Nagios

2009-09-22 Thread Reynier Pérez Mira
Hi every:
I need to check Bacula status over Nagios. For that I follow the steps 
explained here: http://wiki.bacula.org/doku.php?id=nagios_active_checks. 
After get NRPE working I get this error in my Nagios:
NRPE: Unable to read output.

The NRPE configuration on Bacula Server is this one:
command[check_bacula_baculaserver_dir]=/usr/local/nagios/libexec/check_bacula.pl
 
-H 24 -w 2 -c 1 -j SP_SVEXPBD01-FD

And the NRPE command in Nagios config is this:
#Check Bacula
define service{
uselocal-service
 host_name  10.128.50.11
 service_descriptionCheck Bacula Job
 check_command  check_nrpe!check_bacula_baculaserver_dir
}

Can any tell me where the problem is?
Cheers and thanks in advance

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios notification to different email address

2009-09-22 Thread Michael Saldivar
On Tue, Sep 22, 2009 at 3:26 PM, shadih rahman  wrote:

> D can not be part of the original definition.  host definition is generated
> via script which will only include contact C.  However alert needs to go to
> D without bothering contactgroup C
>
>
> On Tue, Sep 22, 2009 at 5:19 PM, Michael Saldivar <
> mike.saldi...@advocatecreditrepair.com> wrote:
>
>> On Tue, Sep 22, 2009 at 2:38 PM, shadih rahman wrote:
>>
>>> My problem,
>>>
>>>  I am trying to send a down and recovery message to a different
>>> contact group than what is defined in host definition.  Also I want to send
>>> only one email to the new contact group.  In the example below host A has
>>> contact group C defined.  However I want send my notification to contact
>>> group D.  Thanks
>>
>>
>> Is there a reason why you can't put contact group D in host A?
>>
>> -Mike
>>
>

Please use reply-all to keep replies on the list.

Unfortunately, I do not know of any way to send notifications to to a group
without defining the host to send notifications to that group.  I'd lean
towards fixing the script so that it writes configurations to contact the
correct group, rather than having it write incorrect configs and then
tweaking Nagios to compensate.

Perhaps you could accomplish this by defining an escalation which skips the
first notification to group C, and then sends only one notification to group
D.  Does your script generate the escalation configs also?

-- 
Mike Saldivar
Direct Financial Solutions
Information Systems Manager
Desk: 435-774-8252
Cell: 435-881-3778
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios notification to different email address

2009-09-22 Thread Michael Saldivar
On Tue, Sep 22, 2009 at 2:38 PM, shadih rahman  wrote:

> My problem,
>
>  I am trying to send a down and recovery message to a different contact
> group than what is defined in host definition.  Also I want to send only one
> email to the new contact group.  In the example below host A has contact
> group C defined.  However I want send my notification to contact group D.
> Thanks


Is there a reason why you can't put contact group D in host A?

-Mike
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios not sending any notification.

2009-09-22 Thread shadih rahman
With this configuration only nagiosadmin will get the email.  You need to
define contact group properly.  Please see the following documentation.
Thanks

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact

and also see contactgroup definition

On Tue, Sep 22, 2009 at 4:14 PM, Deepak Joshi  wrote:

>  PFA, the file. Please let me know if you need anything else.
>
> --
> Date: Tue, 22 Sep 2009 16:08:35 -0400
>
> Subject: Re: [Nagios-users] Nagios not sending any notification.
> From: shadhi...@gmail.com
> To: djos...@hotmail.com
>
> Can you please provide your contact.cfg file.  Thanks
>
> On Tue, Sep 22, 2009 at 4:02 PM, Deepak Joshi  wrote:
>
>  It's enabled. PFA the screen shot. Please help me to resolve this.
>
>
>
> --
> Date: Tue, 22 Sep 2009 15:12:00 -0400
> Subject: Re: [Nagios-users] Nagios not sending any notification.
> From: shadhi...@gmail.com
> To: djos...@hotmail.com
>
>
> click on tactical overview from the left hand side and see if you have
> nagios notification enable or disabled.
>
>
>
>
> On Tue, Sep 22, 2009 at 2:40 PM, Deepak Joshi  wrote:
>
>  Hi,
>
> Can anybody help me to find out why my Nagios not sending any notification.
> We are using nagios 3.03 with Ubantu.
>
> I can see that in the logs Nagios is monitoring our our server but not
> sending any notification.
>
> Secondly, If I am sending a mail directly from a command line to all the
> users listed on commands.cfg, we all are getting e-mail.
>
> Can anybody helps me to understand the problem?
>
> --
> Get a 360o view of the world, in perspectives only MSN India can offer. Try
> it! 
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>
>
>
>
> --
> Cordially,
> Shadhin Rahman
>
> --
> One peek at MSN India brings you up to speed with what's hot in the world
> today Drag n' drop 
>
>
>
>
> --
> Cordially,
> Shadhin Rahman
>
> --
> One peek at MSN India brings you up to speed with what's hot in the world
> today Drag n' drop 
>



-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios notification to different email address

2009-09-22 Thread shadih rahman
My problem,

 I am trying to send a down and recovery message to a different contact
group than what is defined in host definition.  Also I want to send only one
email to the new contact group.  In the example below host A has contact
group C defined.  However I want send my notification to contact group D.
Thanks



I have a host definiton like

define host {
host_name   A
hostgroups X
alias   A
address   A
contact_groups  C
check_period24x7
check_interval  15
retry_interval  3
max_check_attempts  3
notification_period extended
notification_interval   30
notification_optionsd,r,f
notifications_enabled   1
check_command   check-host-alive
}


I have a host escalation definition


define hostescalation{
hostgroup_nameX
contact_groups D
first_notification -1
last_notification  1
notification_interval  0
escalation_period  24x7
escalation_options d,r
}


On Tue, Sep 22, 2009 at 4:14 PM, Marc Powell  wrote:

> Please always respond on list. More below.
>
> On Sep 22, 2009, at 2:56 PM, shadih rahman wrote:
>
> >>  It has been stated that one can send all notification send to a
> >>  different email address by using negative value for parameter.I
> >>  just wanted to know would the following setup work?  please advise
> >>  on this.
> >>
> > It has been mentioned here.  Please advise on this.  Thanks
> >
> > http://ideas.nagios.org/akira/dtd/12252-3955
>
> I'm not sure how you interpreted that to mean to put a '-1' for
> first_notification or even how it relates to your post. Your
> interpretation will not work AFAIK.
>
> The post you reference is about limiting the maximum number of
> notifications sent to a contact. Your original question appears to be
> asking about how to send all notifications to 'an email address'. They
> appear to be opposite problem statements.
>
> Please restate your question, being as clear as you can about what
> you're trying to accomplish. For example, does 'all notifications'
> mean all notifications nagios would normally send for a specific
> service or a notification for every single non-OK service check? Does
> it mean all notifications for any host or service should all go to an
> arbitrary e-mail address? Does 'to an e-mail address' mean to a
> defined contact who is already in a contactgroup for that service or
> some other address?
>
> On the face of it, it seems to me you might just need to define a new
> contact and associate them with the host/service they should receive
> notifications about.
>
> P.S. I don't use escalations so be sure to respond to the list so that
> you expose your question to people who are more familiar with them,
> should escalations end up being what you need.
>
> --
> Marc
>
>
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>



-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] (Return code of 255 is out of bounds)

2009-09-22 Thread Marc Powell

On Sep 22, 2009, at 2:32 PM, akp geek wrote:

> Hi -
> I am getting this message (Return code of 255 is out of bounds) .
> I have some nagios plugins which are perl programs. When i try to  
> run them command line they run fine. But when try to run using NRPE  
> I get the output (Return code of 255 is out of bounds)  .

The plugin that NRPE is running on the remote host is exiting  
(failing?) with an exit code of 255, when run as the user NRPE runs  
as. Did you test as that user on the remote host? Does the plugin/ 
script/whateveritis rely on environment variables or $PATH that likely  
do not exist when run by NRPE? Does the plugin/script/whateveritis  
rely on external programs that rely on environment variables or $PATH  
that might not exist or be what you expect?

Does debug mode for NRPE provide anything interesting?

Beyond that, you're going to have to provide more specific information  
about the plugin, OS, etc.

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios notification to different email address

2009-09-22 Thread Marc Powell
Please always respond on list. More below.

On Sep 22, 2009, at 2:56 PM, shadih rahman wrote:

>>  It has been stated that one can send all notification send to a
>>  different email address by using negative value for parameter.I
>>  just wanted to know would the following setup work?  please advise
>>  on this.
>>
> It has been mentioned here.  Please advise on this.  Thanks
>
> http://ideas.nagios.org/akira/dtd/12252-3955

I'm not sure how you interpreted that to mean to put a '-1' for  
first_notification or even how it relates to your post. Your  
interpretation will not work AFAIK.

The post you reference is about limiting the maximum number of  
notifications sent to a contact. Your original question appears to be  
asking about how to send all notifications to 'an email address'. They  
appear to be opposite problem statements.

Please restate your question, being as clear as you can about what  
you're trying to accomplish. For example, does 'all notifications'  
mean all notifications nagios would normally send for a specific  
service or a notification for every single non-OK service check? Does  
it mean all notifications for any host or service should all go to an  
arbitrary e-mail address? Does 'to an e-mail address' mean to a  
defined contact who is already in a contactgroup for that service or  
some other address?

On the face of it, it seems to me you might just need to define a new  
contact and associate them with the host/service they should receive  
notifications about.

P.S. I don't use escalations so be sure to respond to the list so that  
you expose your question to people who are more familiar with them,  
should escalations end up being what you need.

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] (Return code of 255 is out of bounds)

2009-09-22 Thread Morris, Patrick
On Tue, 22 Sep 2009, akp geek wrote:

> Hi -
> I am getting this message (Return code of 255 is out of bounds) .
> I have some nagios plugins which are perl programs. When i try 
> to run them command line they run fine. But when try to run using
> NRPE I get the output (Return code of 255 is out of bounds)  .
> 
> In the website http://localhost/nagios it displays NRPE:Unable to
> read output. I have been trying hard on this .. Can you please help

Details. We really need details. Even the most basic details, like what
you're tryiong to do and how you've configured it.

Without that... nope. Probably can't help much.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] (Return code of 255 is out of bounds)

2009-09-22 Thread akp geek
Hi -I am getting this message (Return code of 255 is out of bounds) .
I have some nagios plugins which are perl programs. When i try to run them
command line they run fine. But when try to run using NRPE I get the
output (Return code of 255 is out of bounds)  .

In the website http://localhost/nagios it displays NRPE:Unable to read
output. I have been trying hard on this .. Can you please help

regards
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios notification to different email address

2009-09-22 Thread Marc Powell
On Sep 22, 2009, at 1:04 PM, shadih rahman wrote:

> List,
>It has been stated that one can send all notification send to a  
> different email address by using negative value for parameter.I  
> just wanted to know would the following setup work?  please advise  
> on this.

I don't recall seeing this functionality discussed, nor do I find  
anything glancing through the documentation. I could be dense though.  
Can you provide a reference?

--
Marc

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios not sending any notification.

2009-09-22 Thread Marc Powell

On Sep 22, 2009, at 1:40 PM, Deepak Joshi wrote:

> Hi,
>
> Can anybody help me to find out why my Nagios not sending any  
> notification. We are using nagios 3.03 with Ubantu.

Not based on the information provided in this e-mail.

> I can see that in the logs Nagios is monitoring our our server but  
> not sending any notification.

Please post the log entries for the host/service around the time you  
expect the notification to be sent. If you see a line like  
HOST_NOTIFICATION or SERVICE_NOTIFICATION, check your maillog file on  
your nagios machine.

Please also include the host{}, service{}, contactgroup{}, contact{},  
host or service notification command{} and timeperiod{} definitions  
from objects.cache for the host/service/contact that should have  
notified. All of these are relevant to the issue.

> Secondly, If I am sending a mail directly from a command line to all  
> the users listed on commands.cfg, we all are getting e-mail.

There are many variables here, not just being able to send to an  
address. Did you use the exact same command as defined for that  
contact's notification command, substituting appropriate values for  
the $MACROS$, testing as the nagios user?

--
Marc


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] NDOUtils: high mysql (cpu) Load, after moving from vmware to kvm

2009-09-22 Thread Denny Schierz
Hi Michael,

Am Dienstag, den 22.09.2009, 09:07 +0200 schrieb Michael Friedrich:

[...]

> Before you ask there is no key value for everyone. It's highly dependant 
> on the rdbm (in this case only MySQL), hardware and i/o, and on the 
> Nagios config and check intervals and generated events etc.

thanks for you're reply . I try do figure out, what i really  need for
entries. But its strange for me, that we don't had these problems,
before moving away from Vmware. So I take a deeper look later. 

cu denny


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] Nagios not sending any notification.

2009-09-22 Thread Deepak Joshi

Hi,

Can anybody help me to find out why my Nagios not sending any notification. We 
are using nagios 3.03 with Ubantu.

I can see that in the logs Nagios is monitoring our our server but not sending 
any notification.

Secondly, If I am sending a mail directly from a command line to all the users 
listed on commands.cfg, we all are getting e-mail.

Can anybody helps me to understand the problem?

_
Great events make grand headlines – read them all on MSN India
http://in.msn.com--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] nagios notification to different email address

2009-09-22 Thread shadih rahman
List,
   It has been stated that one can send all notification send to a different
email address by using negative value for parameter.I just wanted to
know would the following setup work?  please advise on this.

Nagios version: 3.2
Ndoutils version: 1.4.8




define hostescalation{
hostgroup_namehostgroup A, hostgroup B
contact_groups nocemail
first_notification -1
last_notification  0
notification_interval  15
escalation_period  24x7
escalation_options d,r
}



-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] $STATUSDATAFILE$ macro not working in Nagios 3.0.6

2009-09-22 Thread Scott Greenman
We just upgraded from Nagios 2.x to Nagios 3.0.6 running on debian Lenny.  I 
have a check command and service defined as follows:

define command {
command_namecheck_cluster
command_line$USER2$/check_cluster.py $ARG1$ $STATUSDATAFILE$ 
"$ARG2$" "$ARG3$"
}

define service {
service_description Sev 1: Web Servers - Apache
use sev-1-service
host_name   cluster
check_command   check_cluster!-c 30!Apache HTTP!_web-fs_
normal_check_interval   1
servicegroups   Cluster
}

This used to work fine, but since the upgrade the $STATUSDATAFILE$ macro isn't 
being replaced by anything when the command is executed. I put a sleep at the 
beginning of the check_cluster.py script so I can see what is executed by doing 
a ps and I see:


0 S nagios   26943 26942  0  85   5 -  4713 -  11:27 ?00:00:00 
/usr/bin/python /home/nagios/fs/nagios/libexec/check_cluster.py -c 30 Apache 
HTTP _web-fs_

The macro is still documented and according to the docs should be available to 
service checks.

Is this a bug?  Has anyone else seen this?

Thanks

Scott Greenman
Software Developer
Family History Department
The Church of Jesus Christ of Latter-day Saints


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.



--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios and dns

2009-09-22 Thread G. S. Marzot
Kyle O'Donnell wrote:
> All,
> 
> I recall reading some nagios documentation which had the reasons why
> using dns resolution was not a great idea, but I cannot remember where
> it was?
> 
> Does anyone have/or can they point me to that doc?
> 

I don't know the specific documentation you are referring to but I can 
hazard a guess. The DNS information, and proper functioning of the DNS 
servers, may be among the very things you are trying to monitor. If the 
DNS portion of your network is failing then you will lose telemetry on 
all nodes identified by DNS names which will make identifying the 
problem harder..

I have some other comments on the check_dns plugin which I'll put in 
another thread.

-Giovanni

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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_dns issues

2009-09-22 Thread jmoseley
Use check_dig instead.


James Moseley



"G. S. Marzot"  wrote:

In my copy of Nagios w/ plugins , the check_dns plugin relies on
nslookup. There are some unfortunate side-effects when trying to use
this plugin to monitor the DNS response from a specific server. If the
server supplied to the plugin on the commandline fails to respond, the
nslookup cmd will fallback to using servers in the monitoring nodes
/etc/resolv.conf. So a failing server will appear to work if any of
those other servers respond... Anyone thought to move this plugin to use
'dig'?
will risk being sent to /dev/null
<>--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] check_dns issues

2009-09-22 Thread G. S. Marzot
In my copy of Nagios w/ plugins , the check_dns plugin relies on 
nslookup. There are some unfortunate side-effects when trying to use 
this plugin to monitor the DNS response from a specific server. If the 
server supplied to the plugin on the commandline fails to respond, the 
nslookup cmd will fallback to using servers in the monitoring nodes 
/etc/resolv.conf. So a failing server will appear to work if any of 
those other servers respond... Anyone thought to move this plugin to use 
'dig'?

thanks for any info.

-Giovanni

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios and dns

2009-09-22 Thread Jim Avery
2009/9/22 Kyle O'Donnell :
> All,
>
> I recall reading some nagios documentation which had the reasons why
> using dns resolution was not a great idea, but I cannot remember where
> it was?
>
> Does anyone have/or can they point me to that doc?
>
> Thanks,
> Kyle

Put simply if your DNS servers break you don't want your monitoring to
break.  It is probably a good idea specifically to monitor your DNS
though!

I don't know what document you may have read this in, however I can
tell you it's specifically mentioned in "Nagios System and Network
Monitoring" by Wolfgang Barth 1st Ed. published by No Starch Press.
ISBN 3-937514-09-0 in section 2.3 on page 44.

Cheers,

Jim

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Problems with CGI and Nagios

2009-09-22 Thread Morris, Patrick
Reynier Pérez Mira wrote:
> Hi:
> I have Nagios 3.2.o up & running. After try every link in the web 
> interface I can see some problems listed below:
> 1. Map URL: The requested URL /nagios/cgi-bin/statusmap.cgi was not 
> found on this server.
> 2. Trends URL: The requested URL /nagios/cgi-bin/trends.cgi was not 
> found on this server.
> 3. Trend -> Histogram URL: The requested URL 
> /nagios/cgi-bin/histogram.cgi was not found on this server.
>
> Is this a configuration problem or what happen here?
> Cheers and thanks in advance
>   

http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=55&expand=false&showdesc=true

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios and dns

2009-09-22 Thread ChrisSerafin
The main reason would be that DNS becomes unreliable, hence don't use 
4.2.2.x. This caused alot of finger pointing to the client's ISP when in 
fact it was my own dumb fault.



Kyle O'Donnell wrote:
> All,
>
> I recall reading some nagios documentation which had the reasons why
> using dns resolution was not a great idea, but I cannot remember where
> it was?
>
> Does anyone have/or can they point me to that doc?
>
> Thanks,
> Kyle
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
> 
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.112/2388 - Release Date: 09/22/09 
> 05:51:00
>
>   


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Problems with CGI and Nagios

2009-09-22 Thread Reynier Pérez Mira
Hi:
I have Nagios 3.2.o up & running. After try every link in the web 
interface I can see some problems listed below:
1. Map URL: The requested URL /nagios/cgi-bin/statusmap.cgi was not 
found on this server.
2. Trends URL: The requested URL /nagios/cgi-bin/trends.cgi was not 
found on this server.
3. Trend -> Histogram URL: The requested URL 
/nagios/cgi-bin/histogram.cgi was not found on this server.

Is this a configuration problem or what happen here?
Cheers and thanks in advance

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios Clustering for failover using drdb?

2009-09-22 Thread Greg Pangrazio
I found Pro Nagios 2.0 b James Turnbull to have a very good set of
instructions and different scenarios for monitoring.  I am currently
using 2 active systems reporting to a single non-redundant "master"
that does all of the alerting.  I know this is not fully redundant,
but it is all i need in my environment.  The book walks through
several different methods and the pros and cons to each.

I do not use drdb so i cannot comment on that.

Greg Pangrazio
pangr...@gmail.com





On Tue, Sep 22, 2009 at 3:32 AM, Jelle Smet  wrote:
> Hi list,
>
> We're looking into a some techniques to have reliable fail over capability
> for our Nagios server.
> We were thinking about an active/passive setup, with the passive one to
> become alive when the primary node goes down.
>
> We are looking to our options how to make sure the passive node has the
> latest state of the monitoring results.
>
> The documentations suggests to tackle this with nsca and ocsp
> (http://ussrvud-mon01/nagios/docs/redundancy.html).
>
> We are thinking to use drdb on a dedicated lan to sync the rrd's, config
> files and the nagios state and log files.
> This should, to our opinion, work relatively well.
>
> Are there any people doing something similar for the moment?
> If so, are there any constraints, tips or things to take into account?
>
> Thanks in advance,
>
> --
> Jelle Smet
> http://www.smetj.net
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Problems installing NRPE

2009-09-22 Thread Mathew Walker

in the NRPE.CFG file, make sure you have the "allowed_hosts=" line set 
correctly.  also if there is a firewall involved, make sure you open the port 
to allow the connection.

-- 
Mat W. - http://www.techadre.com


 
> Date: Mon, 21 Sep 2009 23:31:11 -0400
> From: rper...@uci.cu
> To: Nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Problems installing NRPE
> 
> Hi every:
> I'm following the guide for install and configure NRPE. I have installed 
> and working Nagios 3.2.0 in a server. I want to monitor another Linux 
> server. For that I install NRPE in both. When I try to check the 
> communication between Nagios Server and Remote Host to monitor I get 
> this error:
> 
> r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H myserver
> CHECK_NRPE: Socket timeout after 10 seconds.
> 
> Can any help to solve this problem?
> Cheers and thanks in advance
> 
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
  
_
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
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] RE [spam?] Problems installing NRPE

2009-09-22 Thread Reynier Pérez Mira
frank.bourd...@dga.defense.gouv.fr wrote:
> Is nrpe daemon started or is xinetd installed and started ?

Hi:
I don't know why but the problem was the firewall. I run the command 
/etc/init.d/iptables stop and the firewall stop fine. After that when I 
try to check the configuration using the command I get not response. 
When I open the ports 5666 to accept connections and start again the 
firewall all was fine.

Cheers and thanks for your time

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] nagios and dns

2009-09-22 Thread Kyle O'Donnell
All,

I recall reading some nagios documentation which had the reasons why
using dns resolution was not a great idea, but I cannot remember where
it was?

Does anyone have/or can they point me to that doc?

Thanks,
Kyle

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Nagios Clustering for failover using drd b?

2009-09-22 Thread Jelle Smet
Hi list,

We're looking into a some techniques to have reliable fail over capability
for our Nagios server.
We were thinking about an active/passive setup, with the passive one to
become alive when the primary node goes down.

We are looking to our options how to make sure the passive node has the
latest state of the monitoring results.

The documentations suggests to tackle this with nsca and ocsp
(http://ussrvud-mon01/nagios/docs/redundancy.html).

We are thinking to use drdb on a dedicated lan to sync the rrd's, config
files and the nagios state and log files.
This should, to our opinion, work relatively well.

Are there any people doing something similar for the moment?
If so, are there any constraints, tips or things to take into account?

Thanks in advance,

-- 
Jelle Smet
http://www.smetj.net

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] Re : RE [spam?] Problems installing NRPE

2009-09-22 Thread nadia kheffache
Bonjour,

Je pense qu'il faut lui spécifier le port et le mot de passe!
-p 5666 -s "password", si pas de mot de passe, mettre un blanc -s "" 


Nadia Kheffache



--- En date de : Mar 22.9.09, frank.bourd...@dga.defense.gouv.fr 
 a écrit :

> De: frank.bourd...@dga.defense.gouv.fr 
> Objet: [Nagios-users] RE [spam?]  Problems installing NRPE
> À: rper...@uci.cu
> Cc: "Nagios-users@lists.sourceforge.net" 
> Date: Mardi 22 Septembre 2009, 8h11
> Hi ,
> 
> Is nrpe daemon started or is xinetd installed and started
> ?
> 
> Cheers 
> Frank
> 
> 
> [ENVOYE PAR INTERNET]
> 
> 
> 
> 
> Reynier Pérez Mira 
> 
> 22/09/2009 05:31
> Veuillez répondre à
> rper...@uci.cu
> 
> 
> A
> "Nagios-users@lists.sourceforge.net"
> 
> cc
> 
> Objet
> [spam?] [Nagios-users] Problems installing NRPE
> 
> 
> 
> 
> 
> 
> Hi every:
> I'm following the guide for install and configure NRPE. I
> have installed 
> and working Nagios 3.2.0 in a server. I want to monitor
> another Linux 
> server. For that I install NRPE in both. When I try to
> check the 
> communication between Nagios Server and Remote Host to
> monitor I get 
> this error:
> 
> r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H
> myserver
> CHECK_NRPE: Socket timeout after 10 seconds.
> 
> Can any help to solve this problem?
> Cheers and thanks in advance
> 
> --
> Come build with us! The BlackBerry® Developer
> Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay 
> ahead of the curve. Join us from November 9-12, 2009.
> Register 
> now!
> http://p.sf.net/sfu/devconf
> ___
> 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
> 
> 
> 
> --
> Come build with us! The BlackBerry® Developer
> Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay 
> ahead of the curve. Join us from November 9-12, 2009.
> Register now!
> http://p.sf.net/sfu/devconf
> ___
> 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
> 


  

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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] NDOUtils: high mysql (cpu) Load, after moving from vmware to kvm

2009-09-22 Thread Michael Friedrich
Hi,

Denny Schierz wrote the following on 21.09.2009 23:13:
> but this helps only a few minutes (10-15min). So, any suggestions?
>   
Depending on your db trimming settings and the count of hosts/services 
you may encounter concurrent insert/update and delete statements.
If your event broker options point to -1 everything from Nagios and the 
neb module will be sent by ndmod to ndo2db and inserted/updated into the 
database. But the builtin housekeeping module keeps track of old entries 
and may send deletes by time comparison. Those deletes will get quite 
huge depending how many e.g. timed events have occured within a small 
period of time.

So for the first part, it would be interesting, which data do you really 
need (actual, historical, status only). Deciding upon this matching you 
should set the data processing option for the event broker. Either way 
also how often the most common tables will be cleaned (in ndo2db.cfg). 
Before you ask there is no key value for everyone. It's highly dependant 
on the rdbm (in this case only MySQL), hardware and i/o, and on the 
Nagios config and check intervals and generated events etc.

Kind regards,
Michael


-- 
DI (FH) Michael Friedrich
michael.friedr...@univie.ac.at
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 
A-1010 Vienna, Austria  


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
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