[Nagios-users] [FIXED] Re: check_lm_sensors problem with ePN

2007-10-05 Thread Greg Vickers
Hi all,

Greg Vickers wrote:
> Hi all,
> 
> I've downloaded the check_lm_sensors-2.0.tar.gz plugin from 
> NagiosExchange 
> (http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=1011)
>  
> and am trying to use it in a Nagios installation.



Working with the author of the plugin, this problem has been resolved in 
v3.0.0.  Thanks Matteo!

Greg

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of activeones?

2007-10-05 Thread Ivan Fetch
HI Tony,


On Fri, 5 Oct 2007, Anthony Montibello wrote:

> I found it is fairly easy to upgrade form active checks to passive checks,
>
> there have been lots of good resposes already,
> so I am not sure if my responce is helpful.
>
> but a few notes on how I implement migrating to passive checks,
>
> If I already have the active check in nagios,
> I load and test the passive checks on the remote host.
> Since nagios can recieve both passive and active checks at the same time,
> there should be no downtime in setting this up.
> make sure the results make it to the nagios log,
>
> Once satisfied with the passive check results.
> then disable the particular Active checks and add the other variables to the
> nagios Configuration of that host.
>
> naturally there are cleaner ways of doing this, if you are using the object
> templates and inheritence in Nagios config files.
>
> My procedure was how I implement converting a single host from active checks
> to passive checks, and I usually run both check types for a while before
> turning off the active checks.
>
> Tony


This is a good idea, thanks for bringing it up.  Even using host groups 
and templating to define most of our services, we could still send passive 
results back to Nagios more frequently than Nagios triggers active checks. 
The (old) active check would serve as a sort of "freshness reaction" for a 
while.  We can later change the active check to our generic "this service 
did not check in" notification via check_dummy.


Thanks,

Ivan.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 For Debian

2007-10-05 Thread Joel Roberts
Of the packages listed below, I have:
Snmp
Snmpd
Libsnmp-session-perl
Libsnmp-perl
Libsnmp-base
Libsnmp9
Libnet-snmp-perl

These do not even show as options:
Libsnmp5
Libsnmp4.2
Libsnmp4.2-dev
Snmpget

I'm assuming the libsnmp5 and 4.2 are earlier versions and the libsnmp9
and libsnmp9-dev that I have installed will supersede these?

The snmpget I can't find in any library or package search in debian or
the debian.org website.

I've retried the installation of Nagios through Synaptic installing
nagios-text and still get the same thing, no check_snmp in the libexec
directory. During the nagios-text installation I selected both the basic
and standard plugins, so everything should be there.

-Original Message-
From: Vanhee Frederik [mailto:[EMAIL PROTECTED] 

I'm running Nagios 2.9 on Debian etch; this is a list of the snmp 
related packages that are installed on the system

-snmp 
-snmpd
-libsnmp-session-perl
-libsnmp-perl
-libsnmp-base
-libsnmp9
-libsnmp5
-libsnmp4.2
-libsnmp4.2-dev
-libnet-snmp-perl

I must admit that this system was upgraded from sarge to etch using 
'apt-get dist-upgrade', but I already installed various Nagios servers 
on Debian Sarge and Etch and never had any problems of that kind.
I looked up my own docs and these are my prerequisites for compiling 
snmp-plugins :
-libnetsnmp-perl
-libsnmp4.2 (or higher)
-libsnmp4.2-dev (or higher)
-snmpget
Hope this helps,

Frederik


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 For Debian

2007-10-05 Thread Joel Roberts
Got it, original Nagios Quickstart instructions had the nagios.conf
under /etc/apache2/conf.d

Stopped nagios and apache, deleted that file, restarted nagios and
apache, and all came back up again.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joel
Roberts
Sent: Friday, October 05, 2007 2:11 PM
To: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios For Debian

Ok, tried to wipe out the original Nagios install and do a clean install
from Debian Synaptic manager and now it won't load.

Following the walkthrough at
http://www.debian-administration.org/articles/299

And everything goes fine until I stop and re-start Apache, then I get
the following error:

[warn] The ScriptAlias directive in /etc/apache2/sites-enabled/nagios at
line 7 will probably never match because it overlaps an earlier
ScriptAlias

Anyone know what I need to do to remove the ScriptAlias from the
previous install? When I log onto the webpage now, every page comes back
with:

Whoops!

Error: Could not read host and service status information!

Thanks

-Original Message-
From: Vanhee Frederik [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 05, 2007 1:23 PM
To: Joel Roberts
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios For Debian

Joel Roberts wrote:
> Yes, I have Nagios up and running, it's currently monitoring both
> Windows and Linux Servers, but I'm unable to add any Cisco Routers
> because the check_snmp did not compile. Does the check_snmp plugin
exist
> in your /usr/local/nagios/libexec directory?
>
> If so, what snmp packages do you have installed? Etch won't let me
> install snmp because it says it's replaced by libsnmp-base and
libnsmp9.
>
> -Original Message-
> From: Daniel Mahoney [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 05, 2007 8:55 AM
> To: Joel Roberts
> Subject: Re: Nagios For Debian
>
> Joel Roberts wrote:
>   
>> Is anyone else using Nagios on Debian Etch? I've got it set up for
>> monitoring Linux and Windows servers, but the check_snmp plugin won't
>> compile. The Nagios FAQ says it must be missing SNMP packages, but
>> Synaptic reports they're all installed.
>>
>> Checking the list of Nagios Plugins for the Debian install, I don't
>> 
> even
>   
>> see check_snmp listed any more. I have MRTG up and running on the
same
>> box, so I know at least the SNMP packages needed for MRTG are there.
>>
>> I've posted a message to the Nagios mailing list as well, but haven't
>> gotten any response. Hoping there's some Debian Nagios users on here.
>>
>> Thanks in advance,
>>
>> Joel
>>
>>   
>> 
> I'm running nagios-text on Etch. It installed just fine using apt-get.
>
>
>

-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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
>
>   
I'm running Nagios 2.9 on Debian etch; this is a list of the snmp 
related packages that are installed on the system

-snmp
-snmpd
-libsnmp-session-perl
-libsnmp-perl
-libsnmp-base
-libsnmp9
-libsnmp5
-libsnmp4.2
-libsnmp4.2-dev
-libnet-snmp-perl

I must admit that this system was upgraded from sarge to etch using 
'apt-get dist-upgrade', but I already installed various Nagios servers 
on Debian Sarge and Etch and never had any problems of that kind.
I looked up my own docs and these are my prerequisites for compiling 
snmp-plugins :
-libnetsnmp-perl
-libsnmp4.2 (or higher)
-libsnmp4.2-dev (or higher)
-snmpget
Hope this helps,

Frederik



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
__

Re: [Nagios-users] Nagios For Debian

2007-10-05 Thread Joel Roberts
Ok, tried to wipe out the original Nagios install and do a clean install
from Debian Synaptic manager and now it won't load.

Following the walkthrough at
http://www.debian-administration.org/articles/299

And everything goes fine until I stop and re-start Apache, then I get
the following error:

[warn] The ScriptAlias directive in /etc/apache2/sites-enabled/nagios at
line 7 will probably never match because it overlaps an earlier
ScriptAlias

Anyone know what I need to do to remove the ScriptAlias from the
previous install? When I log onto the webpage now, every page comes back
with:

Whoops!

Error: Could not read host and service status information!

Thanks

-Original Message-
From: Vanhee Frederik [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 05, 2007 1:23 PM
To: Joel Roberts
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios For Debian

Joel Roberts wrote:
> Yes, I have Nagios up and running, it's currently monitoring both
> Windows and Linux Servers, but I'm unable to add any Cisco Routers
> because the check_snmp did not compile. Does the check_snmp plugin
exist
> in your /usr/local/nagios/libexec directory?
>
> If so, what snmp packages do you have installed? Etch won't let me
> install snmp because it says it's replaced by libsnmp-base and
libnsmp9.
>
> -Original Message-
> From: Daniel Mahoney [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 05, 2007 8:55 AM
> To: Joel Roberts
> Subject: Re: Nagios For Debian
>
> Joel Roberts wrote:
>   
>> Is anyone else using Nagios on Debian Etch? I've got it set up for
>> monitoring Linux and Windows servers, but the check_snmp plugin won't
>> compile. The Nagios FAQ says it must be missing SNMP packages, but
>> Synaptic reports they're all installed.
>>
>> Checking the list of Nagios Plugins for the Debian install, I don't
>> 
> even
>   
>> see check_snmp listed any more. I have MRTG up and running on the
same
>> box, so I know at least the SNMP packages needed for MRTG are there.
>>
>> I've posted a message to the Nagios mailing list as well, but haven't
>> gotten any response. Hoping there's some Debian Nagios users on here.
>>
>> Thanks in advance,
>>
>> Joel
>>
>>   
>> 
> I'm running nagios-text on Etch. It installed just fine using apt-get.
>
>
>

-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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
>
>   
I'm running Nagios 2.9 on Debian etch; this is a list of the snmp 
related packages that are installed on the system

-snmp
-snmpd
-libsnmp-session-perl
-libsnmp-perl
-libsnmp-base
-libsnmp9
-libsnmp5
-libsnmp4.2
-libsnmp4.2-dev
-libnet-snmp-perl

I must admit that this system was upgraded from sarge to etch using 
'apt-get dist-upgrade', but I already installed various Nagios servers 
on Debian Sarge and Etch and never had any problems of that kind.
I looked up my own docs and these are my prerequisites for compiling 
snmp-plugins :
-libnetsnmp-perl
-libsnmp4.2 (or higher)
-libsnmp4.2-dev (or higher)
-snmpget
Hope this helps,

Frederik


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 For Debian

2007-10-05 Thread Vanhee Frederik
Joel Roberts wrote:
> Yes, I have Nagios up and running, it's currently monitoring both
> Windows and Linux Servers, but I'm unable to add any Cisco Routers
> because the check_snmp did not compile. Does the check_snmp plugin exist
> in your /usr/local/nagios/libexec directory?
>
> If so, what snmp packages do you have installed? Etch won't let me
> install snmp because it says it's replaced by libsnmp-base and libnsmp9.
>
> -Original Message-
> From: Daniel Mahoney [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 05, 2007 8:55 AM
> To: Joel Roberts
> Subject: Re: Nagios For Debian
>
> Joel Roberts wrote:
>   
>> Is anyone else using Nagios on Debian Etch? I've got it set up for
>> monitoring Linux and Windows servers, but the check_snmp plugin won't
>> compile. The Nagios FAQ says it must be missing SNMP packages, but
>> Synaptic reports they're all installed.
>>
>> Checking the list of Nagios Plugins for the Debian install, I don't
>> 
> even
>   
>> see check_snmp listed any more. I have MRTG up and running on the same
>> box, so I know at least the SNMP packages needed for MRTG are there.
>>
>> I've posted a message to the Nagios mailing list as well, but haven't
>> gotten any response. Hoping there's some Debian Nagios users on here.
>>
>> Thanks in advance,
>>
>> Joel
>>
>>   
>> 
> I'm running nagios-text on Etch. It installed just fine using apt-get.
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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
>
>   
I'm running Nagios 2.9 on Debian etch; this is a list of the snmp 
related packages that are installed on the system

-snmp
-snmpd
-libsnmp-session-perl
-libsnmp-perl
-libsnmp-base
-libsnmp9
-libsnmp5
-libsnmp4.2
-libsnmp4.2-dev
-libnet-snmp-perl

I must admit that this system was upgraded from sarge to etch using 
'apt-get dist-upgrade', but I already installed various Nagios servers 
on Debian Sarge and Etch and never had any problems of that kind.
I looked up my own docs and these are my prerequisites for compiling 
snmp-plugins :
-libnetsnmp-perl
-libsnmp4.2 (or higher)
-libsnmp4.2-dev (or higher)
-snmpget
Hope this helps,

Frederik

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] notify contact only once

2007-10-05 Thread Aidan Anderson
Terry wrote:
> Thanks for the reply.   Let me be more specific:
>
> version: 2.9
> OS: centos 5
>
> I have regular contacts set up, me for example.  I want to get
> notified every 30 minutes indefinitely if a service is in a hard state
> of warning or critical.  However, I want another contact to only get
> notified one time when that hard state is achieved.That's it.
> >From what I can tell, I can only achieve this through the
> notification_interval which is only set at the host/service level, not
> the contact level.  If this is true, I will need to create 2 services,
> each with a different notification_interval and of course apply the
> different contact groups to each service.  Am I correct or is there
> another way around this?
>
> Thanks!
>
> On 10/5/07, Aidan Anderson <[EMAIL PROTECTED]> wrote:
>   
>> Terry wrote:
>> 
>>> I have a contact that I only want to receive one notification.  How
>>> can I set this up?
>>>
>>>
>>>   
Hi Terry,

I've just posted you another message before seeing this one.  You want 
to use host or service escalations to achieve this.  I've briefly 
explained in the previous post but if you need more help, just shout.

Aidan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] notify contact only once

2007-10-05 Thread Richard Mohr
On Fri, 2007-10-05 at 14:01 -0500, Terry wrote:
> I want to get
> notified every 30 minutes indefinitely if a service is in a hard state
> of warning or critical.  However, I want another contact to only get
> notified one time when that hard state is achieved.That's it.

Have you looked at service escalations?  With those, you can change the
list of contacts based on how many notifications have been sent.

-- 
Rick Mohr
Systems Developer
Ohio Supercomputer Center


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] notify contact only once

2007-10-05 Thread Aidan Anderson
Aidan Anderson wrote:
> Terry wrote:
>   
>> I have a contact that I only want to receive one notification.  How
>> can I set this up?
>>
>>   
>> 
> A good place to start looking would be here:
>
> http://nagios.sourceforge.net/docs/2_0/notifications.html
>
> ;)
>
>  without supporting info will risk being sent to /dev/null
>   
Apologies, here is where you want to start:

http://nagios.sourceforge.net/docs/2_0/escalations.html

You would specify the contact you only want to receive one notification 
in the first escalation and all other contacts in the first and 
subsequent escalations.


Aidan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] notify contact only once

2007-10-05 Thread Terry
Thanks for the reply.   Let me be more specific:

version: 2.9
OS: centos 5

I have regular contacts set up, me for example.  I want to get
notified every 30 minutes indefinitely if a service is in a hard state
of warning or critical.  However, I want another contact to only get
notified one time when that hard state is achieved.That's it.
>From what I can tell, I can only achieve this through the
notification_interval which is only set at the host/service level, not
the contact level.  If this is true, I will need to create 2 services,
each with a different notification_interval and of course apply the
different contact groups to each service.  Am I correct or is there
another way around this?

Thanks!

On 10/5/07, Aidan Anderson <[EMAIL PROTECTED]> wrote:
> Terry wrote:
> > I have a contact that I only want to receive one notification.  How
> > can I set this up?
> >
> >
> A good place to start looking would be here:
>
> http://nagios.sourceforge.net/docs/2_0/notifications.html
>
> ;)
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] v3 stability

2007-10-05 Thread Michael W. Lucas
On Fri, Oct 05, 2007 at 02:53:05PM -0400, Don Shesnicky wrote:
> I'm wondering about which version to install v2 or v3?  I understand
> that v3 is nearing full release, we're already on b4. Any comments on
> the stability of v3.0b4 and or which direction to head. I'll be running
> on Solaris by the way version 9 or a container on Solaris 10.

Hi,

Even though v3 is beta, if you have problems you'll be expected to
help debug them.  If you're comfortable with that you can certainly
run v3.

If you want something with more outside support, though, you want v2.

==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
  Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons."

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] v3 stability

2007-10-05 Thread Don Shesnicky
I'm wondering about which version to install v2 or v3?  I understand
that v3 is nearing full release, we're already on b4. Any comments on
the stability of v3.0b4 and or which direction to head. I'll be running
on Solaris by the way version 9 or a container on Solaris 10.

Don

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] notify contact only once

2007-10-05 Thread Aidan Anderson
Terry wrote:
> I have a contact that I only want to receive one notification.  How
> can I set this up?
>
>   
A good place to start looking would be here:

http://nagios.sourceforge.net/docs/2_0/notifications.html

;)

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Nagios3 b4 Solaris compile issues

2007-10-05 Thread David Halik
Hi all,

I originally posted this to the nagios-devel list, but haven't received 
any feedback on it. Maybe someone here has more experience with Solaris. 
I've been building Nagios3 betas1-3 without any issues, but with this 
latest release I ran into a compile problem. Using Sun Studio on Solaris 
9 I'm seeing this:

cc -I/usr/local/include -DHAVE_CONFIG_H -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include   -DNSCGI -L/usr/local/lib 
-R/usr/local/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/local/lib -o 
config.cgi config.c  getcgi.o cgiutils.o cgiauth.o macros-cgi.o 
../common/snprintf.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o 
xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lrt  -L/usr/local/lib 
-lglib-2.0 -liconv "cmd.c", line 2296: warning: no explicit type given 
for parameter: cmd
"config.c", line 135: warning: implicit function declaration: init_macros
"config.c", line 473: warning: implicit function declaration: 
grab_host_macros
Undefined   first referenced
symbol in file
use_large_installation_tweaks   macros-cgi.o
ld: fatal: Symbol referencing errors. No output written to cmd.cgi
gmake[1]: *** [cmd.cgi] Error 1
gmake[1]: *** Waiting for unfinished jobs
"config.c", line 1203: warning: implicit function declaration: 
grab_service_macros
Undefined   first referenced
symbol in file
use_large_installation_tweaks   macros-cgi.o
ld: fatal: Symbol referencing errors. No output written to config.cgi
gmake[1]: *** [config.cgi] Error 1
Undefined   first referenced
symbol in file
use_large_installation_tweaks   macros-cgi.o
ld: fatal: Symbol referencing errors. No output written to avail.cgi
gmake[1]: *** [avail.cgi] Error 1

use_large_installation_tweaks never gave me any troubles before, was 
this something that was recently added? I'm guessing it's defined 
somewhere that's not being linked to, but a quick grep shows me its just 
in check.c, config.c, events.c, nagios.c, macros.c, and utils.c rather 
than any header references.

Any help would be appreciated.
Thanks,
-Dave

-- 

David Halik
Student Programmer
OSS/NBCS - OIT Rutgers
[EMAIL PROTECTED]
 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of activeones?

2007-10-05 Thread Anthony Montibello
I found it is fairly easy to upgrade form active checks to passive checks,

there have been lots of good resposes already,
so I am not sure if my responce is helpful.

but a few notes on how I implement migrating to passive checks,

If I already have the active check in nagios,
I load and test the passive checks on the remote host.
Since nagios can recieve both passive and active checks at the same time,
there should be no downtime in setting this up.
make sure the results make it to the nagios log,

Once satisfied with the passive check results.
then disable the particular Active checks and add the other variables to the
nagios Configuration of that host.

naturally there are cleaner ways of doing this, if you are using the object
templates and inheritence in Nagios config files.

My procedure was how I implement converting a single host from active checks
to passive checks, and I usually run both check types for a while before
turning off the active checks.

Tony
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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 Notifications Problems

2007-10-05 Thread Livio Zanol Puppim
The Notifications are "HOST DOWN", not unreachable. Here is an example of
the configuration

As you can see, UNREACHABLE Notifications aren't send

 CFG
-
define host{
namegeneric-host
notifications_enabled   1
active_checks_enabled1
event_handler_enabled   1
flap_detection_enabled  0
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
check_command   check-host-alive
   checks_enabled 1
max_check_attempts 1
notification_interval   0
notification_period 24x7
notification_options d
   contact_groupscg-ServiceDesk
check_period24x7
register0   ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL
}



define host{
namegeneric-host-wans-passive
notifications_enabled   1
active_checks_enabled   0
  passive_checks_enabled1
event_handler_enabled   1
flap_detection_enabled  0
check_freshness 1
freshness_threshold 86400
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
check_command   check-host-alive
checks_enabled  1
max_check_attempts  1
notification_interval   0
notification_period 24x7
notification_optionsd
contact_groups  cg-ServiceDesk
register0   ; DONT REGISTER
THIS DEFINITION - ITS NOT A REAL
}

define host{
use generic-host
host_name   PARENT
address 192.168.192.168
}

define host{
use generic-host
host_name   RT1
address192.168.192.167
parentsPARENT
}

define host{
use generic-host
host_name   RT2
address192.168.192.166
parentsPARENT
}

define host{
use generic-host-wans-passive
host_name   RT3
address192.168.192.165
parentsRT1
}
 CFG
-

Thx,
Lívio Zanol Puppim


2007/10/5, Marc Powell <[EMAIL PROTECTED]>:
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Livio Zanol Puppim
> > Sent: Friday, October 05, 2007 9:45 AM
> > To: Nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] NAGIOS Notifications Problems
> >
> > Hello,
> >
> > I'm looking for help in notifications. If anyone could answer this i'd
> be
> > pleased.
> >
> > My Nagios has some hosts configured with parents settings, so when a
> host
> > is down, Nagios checks out his parent to see if it is down too.
> > OK, I think this is working. But When the notifications comes into
> place,
> > I receive notifications for parents and ALSO for his children like
> this:
> >
> > *PARENT* CRITICAL - Plugin Timed out after 3 seconds
> > *RT1*CRITICAL - Plugin Timed out after 3 seconds
> > *RT2*CRITICAL - Plugin Timed out after 3 seconds
> > *RT3*CRITICAL - Plugin Timed out after 3 seconds
> >
>
> Are the RT* notifications DOWN or UNREACHABLE notifications? There is a
> difference.
>
> > I want to receive a notification only for the parent host. How can
> this be
> > done?
> >
> > Is there something wrong?
>
> Sounds like it. Post a complete host definition for RT1 and PARENT so we
> can see if there is.
>
> --
> Marc
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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 SF.n

Re: [Nagios-users] nc_net service not stopping properly

2007-10-05 Thread Anthony Montibello
Thank you For the comment Hugo,

I will make sure future releases follow ISO dates.

 07/16/05 is US date,
July 16 2005,
Sorry for the confussion ,

I try to keep the version# with the package.
The current version of NC_Net is 4.1a

And I advise anyone experiencing problems with NC_NEt
(first test the newest version then upgrade)
However if the current version is working for your needs keep using it,


TOny (author of NC_NEt)


On 10/5/07, Hugo van der Kooij <[EMAIL PROTECTED]> wrote:
>
> On Fri, 5 Oct 2007, Florencio Cano wrote:
>
> > You can download a new version from Sourceforge:
> > http://sourceforge.net/projects/nc-net
> >
> > 2007/10/4, Roger <[EMAIL PROTECTED]>:
> >
> >> Actually, I'm using the latest version that I got off the site ( -
> >> NC_Net_setup.msi NC_Net 2.28 07/16/05).
>
> Just curious. But does 07/16/05 translate to 2005-07-16 or 2007-05-16 in
> YYY-MM-DD notation?
>
> Hugo.
>
> PS: Programmers please use neither US nor European dates but ISO dates in
> version numbers.
>
>
> --
>[EMAIL PROTECTED]http://hugo.vanderkooij.org/
>This message is using 100% recycled electrons.
>
>Some men see computers as they are and say "Windows"
>I use computers with Linux and say "Why Windows?"
>(Thanks JFK, for this quote of George Bernard Shaw.)
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] notify contact only once

2007-10-05 Thread Terry
I have a contact that I only want to receive one notification.  How
can I set this up?

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog?

2007-10-05 Thread Anthony Montibello
Just to clarify,

Eventlog_new Should be a cleaner command line, and should cut down in time
to complete.

IT will NOT return the Message field of the events!

TOny (Author of NC_NEt)


On 10/5/07, Florencio Cano <[EMAIL PROTECTED]> wrote:
>
> Thanks. You gave me some valious point to continue my work. I was not
> using the last version of NC_Net. I will try EVENTLOG_NEW and I will
> try to implement any of the solutions that you have commented. I will
> post any result I get.
>
> 2007/10/4, Anthony Montibello <[EMAIL PROTECTED]>:
>
> > WMI should solve this problem for you.
> >
> > First off, make sure your using the current version of NC_NEt 4.1a and
> you
> > would have access to a more optimized event log check called
> "eventlog_new"
> >
> > The Output is the same, thus it does not give what your are looking for.
> > (but it may be more optimized than the WMI You would need to test
> this.)  if
> > it is a quicker test, I recomend using it and setting up event handlers
> or
> > manually running check_nt using WMI to get the file name.  note this
> assumes
> > that you normally do not get an alert , so you would want the checking
> to
> > induce the least load.
> >
> > If you know the names of the files you can setup seperate checks using
> the
> > REGEXP of the EVENTLOG_NEw and this would serve as a workaround.
> >
> > If your looking for the files being modified. FILEAGE may be a good
> > workaround.
> >
> > you should be able to setup an event handler that takes the EVENTID
> reported
> > by EVENTLOG check and runs a WMICAT, querry the WMI (Windows Managment
> > interface) for the Event Log Message.
> > CLASS - CIMV2  Win32_NTLogEvent -has the events  and the messeges in it.
> > writing a querry to it may be tricky but if you need the File mane from
> the
> > Message field this is the way to get it without writing new scripts, or
> > paying for upgrades.
> >
> > or just run WMI checks directly and use wrapper scripts to interpret the
> > results.
> > please not on this, if a querry has no match there may be a NO OUTPUT
> error.
>
> --
> Florencio Cano Gabarda
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Switching to passive checks instead of activeones?

2007-10-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Ivan Fetch
> Sent: Friday, October 05, 2007 10:49 AM
> To: Marc Powell
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Switching to passive checks instead of
> activeones?
> 
> HI Marc,
> 
> On Fri, 5 Oct 2007, Marc Powell wrote:
> 
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
[mailto:nagios-users-
> >> [EMAIL PROTECTED] On Behalf Of Ivan Fetch
> >> Sent: Thursday, October 04, 2007 10:41 PM
> >> To: nagios-users@lists.sourceforge.net
> >> Subject: [Nagios-users] Switching to passive checks instead of
active
> >> ones?
> >>
> >> Hello,
> >>
> >>
> >> I'm wondering whether anyone has used send_nsca as a primary
> >> "transport" for service checks, and has any experience and
> >> recommendations?
> >
> >
> > I can't talk about writing what essentially appears to be a
mini-nagios
> > to execute plugins on remote hosts but we're using send_nsca to
submit
> > ~4,000 checks every 5 minutes to two central nagios boxen
(distributed
> > architecture) and it's worked great for many years.
> >
> 
> Are most of your 4000 uses made up of hosts sending results to
your
> two
> Nagios boxes, or the two Nagios boxes cross-sending results to
> one-another?

4 nagios boxen sending results all 4000 results to two other nagios
boxen using the documented Distributed Monitoring. There's really no
difference between what you're proposing and what we're doing other than
the program executing the plugin and calling send_nsca.  My implication
was that there aren't any inherent problems in using nsca/send_nsca.
You'll have to do work to run your plugins and get their output/exit
codes to send_nsca but it'll work fine from there.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Host searching

2007-10-05 Thread Israel Brewster


On Oct 4, 2007, at 10:56 PM, hindrek murdsalu wrote:

> Hey,
>
> I gather the 'freenasxxx' servers are somehow connected to each other
> (they're in same farm or provide same services), if so you could just
> define a hostgroup named 'freenas servers' or whichever name you  
> desire
> and add the servers as members to it so you'd be able to list them all
> in 1 window.
> This, of course, isn't a solution to search rather than being an
> alternative.
>
>
> Hindrek
>
>

Thanks for the response. Yeah, with that example a hostgroup could be  
a relatively adequate solution. I'll have to consider it further for  
organizational sake, if nothing else. the problem though is that this  
is only one example of where I would want a real search, and others  
may not work as well with this solution. I can't count the number of  
times I have wanted to get the IP for a given device, but don't  
remember exactly what I named it (such as freenasbrw or brw-freenas)  
or else have some other device with a similar name that comes up  
first. Or, perhaps for a better example, I know I have a printer out  
in Nome, but I can't remember if that was the xerox F12 or M15. To  
work with the hostgroup solution, I would need to have that in a  
"Nome" hostgroup. But I would also want it in a "printers" host group  
for logic sake, and perhaps a "F12" or "M15" hostgroup as well, for  
situations when I want to see where in the network I have a given  
type of printer. Can I put things in multiple host groups? I'll have  
to look into that. And no, with about a dozen different locations  
around the state, and probably at least as many different types of  
printers around the company, I'm not quite yet to the point where I  
can remember them all off the top of my head :)
---
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of  
> Israel
> Brewster
> Sent: 5. oktoober 2007. a. 0:00
> To: Nagios Users mailinglist
> Subject: [Nagios-users] Host searching
>
> Is there a way to search for a host in Nagios? For example, I have a
> number of hosts set up named freenasxxx, where xxx is the three-
> letter designator for the location. I would like to be able to type
> freenas and get a list of all of them. Or if I named one xxx-freenas
> for some reason, but don't remember that, I would like to be able to
> do the same thing and get that one as well. The "show host" box in
> the default sidebar only shows the first result for a partial match,
> which is almost useless. I did find < http://www.nagiosexchange.org/
> Misc.36.0.html?&tx_netnagext_pi1[p_view]=553 >, which almost works,
> but has the problem of inserting two tabs before the hostname when
> you choose one of the options, which makes the search return no
> results. You can delete the tabs, of course, but  this brings up the
> choice list again with the first item selected, so when you hit enter
> you get the tabs back. It also shows each host twice for some reason
> (I'm using the php script version). Any suggestions would be
> appreciated. Thanks!
>
> ---
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> ---
>
>
>
> -- 
> --
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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 SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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


-
T

[Nagios-users] updated HOWTO on Exchange check commands

2007-10-05 Thread Roger
For those interested, I've updated my HOWTO on "Nagios Checks on Exchange
200x"

Included are: NC_net instructions, security considerations, and some
troubleshooting tips for those new to Nagios.

http://nagioswiki.com/wiki/index.php/Nagios_Checks_for_Exchange_Server_200x

I'll soon be testing this against some Exchange 2007 servers and will be
modifying it appropriately.  I'll also soon be updating it with some
Microsoft counter and perfmon checks.

-- 
"Nagios, it's what's for breakfast!"
http://www.NagiosWiki.com 

Email me personally:
mailto: [EMAIL PROTECTED]

http://del.icio.us/RogerRustad/nagios
http://del.icio.us/rss/RogerRustad/nagios
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Holger Weiss
* Ivan Fetch <[EMAIL PROTECTED]> [2007-10-05 09:43]:
> On Fri, 5 Oct 2007, Holger Weiss wrote:
> > You do get that logic, you can specify max_check_attempts just as for
> > active checks.  You just don't get a retry_check_interval different from
> > the normal_check_interval unless you implement it yourself.  For us,
> > that's not a problem, as we don't want a different retry_check_interval
> > anyway (for most checks, we submit check results once a minute).  But if
> > you rely on this Nagios feature, that's a real drawback of NSCA, yes.
>
> Good point.  We do use retry_check_interval in some cases, but it's not 
> strictly necessary.  If a "it's fixed" state and notification are 
> important enough, and desired before the next natural check, an admin 
> could always run the passive check manually.

Yes.

If a service is in a _hard_ non-OK state (so that notifications have
been sent out), it'll be re-checked using the normal_check_interval
anyway, so _here_ there is no difference between active and passive
checks.  The retry_check_interval just specifies the check interval for
active checks during soft states, that is, the interval for the
max_check_attempts number of checks which are done for active checks in
a non-OK state before notifications are sent out.  This interval cannot
be specified for passive checks via Nagios, of course.

Holger

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Ivan Fetch
HI Marc,

On Fri, 5 Oct 2007, Marc Powell wrote:

>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] On Behalf Of Ivan Fetch
>> Sent: Thursday, October 04, 2007 10:41 PM
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] Switching to passive checks instead of active
>> ones?
>>
>> Hello,
>>
>>
>> I'm wondering whether anyone has used send_nsca as a primary
>> "transport" for service checks, and has any experience and
>> recommendations?
>
>
> I can't talk about writing what essentially appears to be a mini-nagios
> to execute plugins on remote hosts but we're using send_nsca to submit
> ~4,000 checks every 5 minutes to two central nagios boxen (distributed
> architecture) and it's worked great for many years.
>

Are most of your 4000 uses made up of hosts sending results to your two 
Nagios boxes, or the two Nagios boxes cross-sending results to 
one-another?

Are you wrapping your checks to be able to use plugins as-is, or do you 
have plugins which directly call send_nsca?

Last but not least, how do you trigger your checks on your hosts, in 
cron?


Thanks for taking the time to reply,

Ivan.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Ivan Fetch
HI Holger, thanks for your reply,

On Fri, 5 Oct 2007, Holger Weiss wrote:

> * Andreas Ericsson <[EMAIL PROTECTED]> [2007-10-05 10:42]:
>> Ivan Fetch wrote:
>>> I'm looking for folks doing something like this, or reasons why this
>>> might be a particularly bad idea.  Perhaps Nagios triggering checks
>>> has so much sanity built in, that moving checks to the
>>> push-to-Nagios model is a bad idea?
>
> We use NSCA for a large number of service checks (we don't use NRPE) and
> it works just fine for us.
>
>> It's not a particularly bad idea, but you'll have to accept that you don't
>> get nagios' "check max_check_attempts times before sending alerts" logic,
>> unless you implement it yourself.
>
> You do get that logic, you can specify max_check_attempts just as for
> active checks.  You just don't get a retry_check_interval different from
> the normal_check_interval unless you implement it yourself.  For us,
> that's not a problem, as we don't want a different retry_check_interval
> anyway (for most checks, we submit check results once a minute).  But if
> you rely on this Nagios feature, that's a real drawback of NSCA, yes.

Good point.  We do use retry_check_interval in some cases, but it's not 
strictly necessary.  If a "it's fixed" state and notification are 
important enough, and desired before the next natural check, an admin 
could always run the passive check manually.


Thanks again,

Ivan.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Problem with nagios check_ping plugin

2007-10-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Alex Dehaini
> Sent: Friday, October 05, 2007 10:21 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Problem with nagios check_ping plugin
> 


> The problem is nagios will warn me of 28% packet loss to this host
that is
> 3 hops away from the monitoring system and the RTA will be about 60ms.
It
> does this randomly. I will like to know how nagios computes this info
and
> how it determines this.

check_ping is a wrapper to /bin/ping. It simply calls your system ping
and evaluates the rta and packet loss reported by that against your
warning and critical values. I'd say the packet loss reported is coming
from your system ping program unless it were happening 100% of the time
implying a parsing problem.

$ ./check_ping  -v -v -v -H 127.0.0.1 -w 100,10% -c 200,20%
CMD: /bin/ping -n -U -w 10 -c 5 127.0.0.1
Output: PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
Output: 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms
Output: 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.066 ms
Output: 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.043 ms
Output: 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.034 ms
Output: 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.072 ms
Output: 
Output: --- 127.0.0.1 ping statistics ---
Output: 5 packets transmitted, 5 received, 0% packet loss, time 4015ms
Output: rtt min/avg/max/mdev = 0.034/0.052/0.072/0.016 ms, pipe 2
PING OK - Packet loss = 0%, RTA = 0.05 ms
100.00:10% 200.00:20%

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 For Debian

2007-10-05 Thread Roger
On 10/5/07, Joel Roberts <[EMAIL PROTECTED]> wrote:
>
> Yes, I have Nagios up and running, it's currently monitoring both
> Windows and Linux Servers, but I'm unable to add any Cisco Routers
> because the check_snmp did not compile. Does the check_snmp plugin exist
> in your /usr/local/nagios/libexec directory?


I have to install Nagios on Debian in another week or so.  When I do, I'll
update you on what I find, if you'd like.

-- 
"Nagios, it's what's for breakfast!"
http://www.NagiosWiki.com

Email me personally:
mailto:[EMAIL PROTECTED]

http://del.icio.us/RogerRustad/nagios
http://del.icio.us/rss/RogerRustad/nagios
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Problem with nagios check_ping plugin

2007-10-05 Thread Alex Dehaini
Hi Everyone,

I have been using nagios for 2 months now and it is really good. So far, all
plug-ins work well but recently the check_ping plugin has been acting funny
and giving wrong results.

This is the OS info
OS - Debian
Nagios Version 2.9
Problem = check_ping plugin reports alot of packet loss on our network but
when we use regular ping commands, it is not true. check_ping looks like
this in the command.cfg file

# 'check_ping' command definition
define command{
command_namecheck_ping
command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 10
}

This is an example of a service that uses check_ping

define service{
use servers
host_name   [EMAIL PROTECTED]
service_description PING
check_command   check_ping!200.0,20%!600.0,60%
}

The problem is nagios will warn me of 28% packet loss to this host that is 3
hops away from the monitoring system and the RTA will be about 60ms. It does
this randomly. I will like to know how nagios computes this info and how it
determines this.

Any help will be greatly appreciated.

Regards,
Alex Dehaini
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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 Notifications Problems

2007-10-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Livio Zanol Puppim
> Sent: Friday, October 05, 2007 9:45 AM
> To: Nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] NAGIOS Notifications Problems
> 
> Hello,
> 
> I'm looking for help in notifications. If anyone could answer this i'd
be
> pleased.
> 
> My Nagios has some hosts configured with parents settings, so when a
host
> is down, Nagios checks out his parent to see if it is down too.
> OK, I think this is working. But When the notifications comes into
place,
> I receive notifications for parents and ALSO for his children like
this:
> 
> *PARENT* CRITICAL - Plugin Timed out after 3 seconds
> *RT1*CRITICAL - Plugin Timed out after 3 seconds
> *RT2*CRITICAL - Plugin Timed out after 3 seconds
> *RT3*CRITICAL - Plugin Timed out after 3 seconds
> 

Are the RT* notifications DOWN or UNREACHABLE notifications? There is a
difference.

> I want to receive a notification only for the parent host. How can
this be
> done?
> 
> Is there something wrong?

Sounds like it. Post a complete host definition for RT1 and PARENT so we
can see if there is.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Wrong results from NRPE

2007-10-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Jorge Gonzalez
> Sent: Friday, October 05, 2007 9:42 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Wrong results from NRPE
> 
> Hi all!
> 
> I'm trying to get NRPE working but results are not what should be
> expected and I don't know why. If check_xenvm is runned from console
> without NRPE results are ok but with NRPE there's no VM running.
> 
> /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen
> Critical Xen VMs Usage - Total NB: 0 - detected VMs:
> 
> NRPE.conf
> command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0
> 
> -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0
> OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs:
> VM2
> clust1
> clust2
> 
> -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/
> 
> I also tried with root user but nothing. What I'm doing wrong?

Are you testing the plugin as the user that NRPE is running as? That is
almost always the case when differences like this are seen. 

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 For Debian

2007-10-05 Thread Joel Roberts
Yes, I have Nagios up and running, it's currently monitoring both
Windows and Linux Servers, but I'm unable to add any Cisco Routers
because the check_snmp did not compile. Does the check_snmp plugin exist
in your /usr/local/nagios/libexec directory?

If so, what snmp packages do you have installed? Etch won't let me
install snmp because it says it's replaced by libsnmp-base and libnsmp9.

-Original Message-
From: Daniel Mahoney [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 05, 2007 8:55 AM
To: Joel Roberts
Subject: Re: Nagios For Debian

Joel Roberts wrote:
> Is anyone else using Nagios on Debian Etch? I've got it set up for
> monitoring Linux and Windows servers, but the check_snmp plugin won't
> compile. The Nagios FAQ says it must be missing SNMP packages, but
> Synaptic reports they're all installed.
>
> Checking the list of Nagios Plugins for the Debian install, I don't
even
> see check_snmp listed any more. I have MRTG up and running on the same
> box, so I know at least the SNMP packages needed for MRTG are there.
>
> I've posted a message to the Nagios mailing list as well, but haven't
> gotten any response. Hoping there's some Debian Nagios users on here.
>
> Thanks in advance,
>
> Joel
>
>   
I'm running nagios-text on Etch. It installed just fine using apt-get.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 Notifications Problems

2007-10-05 Thread Livio Zanol Puppim
Hello,

I'm looking for help in notifications. If anyone could answer this i'd be
pleased.

My Nagios has some hosts configured with parents settings, so when a host is
down, Nagios checks out his parent to see if it is down too.
OK, I think this is working. But When the notifications comes into place, I
receive notifications for parents and ALSO for his children like this:

*PARENT* CRITICAL - Plugin Timed out after 3 seconds
*RT1*CRITICAL - Plugin Timed out after 3 seconds
*RT2*CRITICAL - Plugin Timed out after 3 seconds
*RT3*CRITICAL - Plugin Timed out after 3 seconds


The parents settings are like this:

PARENT--RT1---RT3
  |
  |
  |
  |
  |
 RT2

I want to receive a notification only for the parent host. How can this be
done?

Is there something wrong?

Configuration:
OS: Debian Stable
NAGIOS: 2.6

Thank you in advance,
Lívio Zanol Puppim
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Wrong results from NRPE

2007-10-05 Thread Jorge Gonzalez

Hi all!

I'm trying to get NRPE working but results are not what should be 
expected and I don't know why. If check_xenvm is runned from console 
without NRPE results are ok but with NRPE there's no VM running.


/-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen
Critical Xen VMs Usage - Total NB: 0 - detected VMs:

NRPE.conf
command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0

-sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0
OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs:
VM2
clust1
clust2

-rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/

I also tried with root user but nothing. What I'm doing wrong?

thanks in advance.

/jorge



begin:vcard
fn:Jorge Gonzalez y Hurtado de Mendoza
n:Gonzalez y Hurtado de Mendoza;Jorge
org:DEGESYS
adr;quoted-printable:Edif 3 Plt 3=C2=AA;;Av de la Vega 15;Alcobendas;Madrid;28100;Spain
email;internet:[EMAIL PROTECTED]
title:Tecnico de Sistemas
tel;work:+34911517194
tel;fax:+34911517199
url:http://www.degesys.com
version:2.1
end:vcard

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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 peregrine

2007-10-05 Thread Kyle O'Donnell
Hi,

Does anyone know of, or have an integration between nagios and
peregrine service desk (bi-directional would be nice :)


--kyleo

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Integrated OVO with Nagios

2007-10-05 Thread Pablo Buenaventura
Yes, I am working with Node Manager.

Pablo.


On 10/5/07, Hugo van der Kooij <[EMAIL PROTECTED]> wrote:
>
> On Fri, 5 Oct 2007, Pablo Buenaventura wrote:
>
> > I am working with OpenView  7.5.1 and Nagios 1.2 and I am new baby with
> > Monitoring staff.
>
> Well. Nagios 1.2 is ancient history. I think it dates before the
> dino's. I would sugest to scrap that version and look at a recent version.
> At this point that would be version 2.9 (version 3 is still experimental)
>
> What sort of integrations do you expect? What bit of OpenView are you
> referring to? The NodeManager?
>
> I suggest you go to the nagios site. Pick the manual and browse through
> it. Once you have done so you may understand what Nagios does and does not
> do and you can ask more specific questions.
>
> Hugo.
>
> --
>[EMAIL PROTECTED]http://hugo.vanderkooij.org/
>This message is using 100% recycled electrons.
>
>Some men see computers as they are and say "Windows"
>I use computers with Linux and say "Why Windows?"
>(Thanks JFK, for this quote of George Bernard Shaw.)
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] nc_net service not stopping properly

2007-10-05 Thread Hugo van der Kooij
On Fri, 5 Oct 2007, Florencio Cano wrote:

> You can download a new version from Sourceforge:
> http://sourceforge.net/projects/nc-net
>
> 2007/10/4, Roger <[EMAIL PROTECTED]>:
>
>> Actually, I'm using the latest version that I got off the site ( -
>> NC_Net_setup.msi NC_Net 2.28 07/16/05).

Just curious. But does 07/16/05 translate to 2005-07-16 or 2007-05-16 in 
YYY-MM-DD notation?

Hugo.

PS: Programmers please use neither US nor European dates but ISO dates in 
version numbers.


-- 
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.

Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for this quote of George Bernard Shaw.)

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Integrated OVO with Nagios

2007-10-05 Thread Hugo van der Kooij
On Fri, 5 Oct 2007, Pablo Buenaventura wrote:

> I am working with OpenView  7.5.1 and Nagios 1.2 and I am new baby with
> Monitoring staff.

Well. Nagios 1.2 is ancient history. I think it dates before the 
dino's. I would sugest to scrap that version and look at a recent version. 
At this point that would be version 2.9 (version 3 is still experimental)

What sort of integrations do you expect? What bit of OpenView are you 
referring to? The NodeManager?

I suggest you go to the nagios site. Pick the manual and browse through 
it. Once you have done so you may understand what Nagios does and does not 
do and you can ask more specific questions.

Hugo.

-- 
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
This message is using 100% recycled electrons.

Some men see computers as they are and say "Windows"
I use computers with Linux and say "Why Windows?"
(Thanks JFK, for this quote of George Bernard Shaw.)

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Ivan Fetch
> Sent: Thursday, October 04, 2007 10:41 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Switching to passive checks instead of active
> ones?
> 
> Hello,
> 
> 
> I'm wondering whether anyone has used send_nsca as a primary
> "transport" for service checks, and has any experience and
> recommendations?


I can't talk about writing what essentially appears to be a mini-nagios
to execute plugins on remote hosts but we're using send_nsca to submit
~4,000 checks every 5 minutes to two central nagios boxen (distributed
architecture) and it's worked great for many years.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Holger Weiss
* Andreas Ericsson <[EMAIL PROTECTED]> [2007-10-05 10:42]:
> Ivan Fetch wrote:
> > I'm looking for folks doing something like this, or reasons why this 
> > might be a particularly bad idea.  Perhaps Nagios triggering checks 
> > has so much sanity built in, that moving checks to the 
> > push-to-Nagios model is a bad idea?

We use NSCA for a large number of service checks (we don't use NRPE) and
it works just fine for us.

> It's not a particularly bad idea, but you'll have to accept that you don't
> get nagios' "check max_check_attempts times before sending alerts" logic,
> unless you implement it yourself.

You do get that logic, you can specify max_check_attempts just as for
active checks.  You just don't get a retry_check_interval different from
the normal_check_interval unless you implement it yourself.  For us,
that's not a problem, as we don't want a different retry_check_interval
anyway (for most checks, we submit check results once a minute).  But if
you rely on this Nagios feature, that's a real drawback of NSCA, yes.

Holger

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] nc_net service not stopping properly

2007-10-05 Thread Florencio Cano
You can download a new version from Sourceforge:
http://sourceforge.net/projects/nc-net

2007/10/4, Roger <[EMAIL PROTECTED]>:

> Actually, I'm using the latest version that I got off the site ( -
> NC_Net_setup.msi NC_Net 2.28 07/16/05).

-- 
Florencio Cano Gabarda

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog?

2007-10-05 Thread Florencio Cano
Thanks. You gave me some valious point to continue my work. I was not
using the last version of NC_Net. I will try EVENTLOG_NEW and I will
try to implement any of the solutions that you have commented. I will
post any result I get.

2007/10/4, Anthony Montibello <[EMAIL PROTECTED]>:

> WMI should solve this problem for you.
>
> First off, make sure your using the current version of NC_NEt 4.1a and you
> would have access to a more optimized event log check called "eventlog_new"
>
> The Output is the same, thus it does not give what your are looking for.
> (but it may be more optimized than the WMI You would need to test this.)  if
> it is a quicker test, I recomend using it and setting up event handlers or
> manually running check_nt using WMI to get the file name.  note this assumes
> that you normally do not get an alert , so you would want the checking to
> induce the least load.
>
> If you know the names of the files you can setup seperate checks using the
> REGEXP of the EVENTLOG_NEw and this would serve as a workaround.
>
> If your looking for the files being modified. FILEAGE may be a good
> workaround.
>
> you should be able to setup an event handler that takes the EVENTID reported
> by EVENTLOG check and runs a WMICAT, querry the WMI (Windows Managment
> interface) for the Event Log Message.
> CLASS - CIMV2  Win32_NTLogEvent -has the events  and the messeges in it.
> writing a querry to it may be tricky but if you need the File mane from the
> Message field this is the way to get it without writing new scripts, or
> paying for upgrades.
>
> or just run WMI checks directly and use wrapper scripts to interpret the
> results.
> please not on this, if a querry has no match there may be a NO OUTPUT error.

-- 
Florencio Cano Gabarda

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Andreas Ericsson
Ivan Fetch wrote:
> Hello,
> 
> 
> I'm wondering whether anyone has used send_nsca as a primary 
> "transport" for service checks, and has any experience and 
> recommendations?
> 

I'm sure they have, as that's what it's primarily intended for.

> 
> The plan is to
> 
> 1. Run a script from cron, which iterates through a list of 
> checks (plugins to run, with parameters), and runs each check.  There 
> would need to be a timeout mechanism, to reap checks which hang - does 
> anyone have something they use for this with send_nsca (not all plugins 
> have builtin timeouts)?
> 

I should think not. Besides, running checks from cron will lose you the
fine ability to do re-checks on temporary errors.

> 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs 
> the plugin and passes the results to send_nsca.  IF send_nsca returns an 
> error, the wrapper script logs to the local syslog.  I'm starting with a 
> wrapper script from here: 
> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980
> 

Make it a wrapper C-program and you'll have excellent control over checks
that time out.

> 3. Nagios' freshness checking will alert us if Nagios stops hearing 
> from any of these passive checks.
> 

Yup.

> 
> Some of the motivations for switching to this method for running checks 
> are:
> 
> * System logs are not cluttered with frequent SSH logins by Nagios
> 

You can disable that, I think. Or perhaps it was some patch I made for a
customer who didn't want that either. I'll do some research.


> * Thresholds for checks (disk space percentages, mail queue volume) are 
> moved to the client, not defined in Nagios checks - some
> admins like the ability to adjust these locally
> 

That option is still available though, provided you either compiled nrpe
without support for accepting arguments, or if you disable them in nrpe.conf.

> 
> I'm looking for folks doing something like this, or reasons why this 
> might be a particularly bad idea.  Perhaps Nagios triggering checks 
> has so much sanity built in, that moving checks to the 
> push-to-Nagios model is a bad idea?
> 

It's not a particularly bad idea, but you'll have to accept that you don't
get nagios' "check max_check_attempts times before sending alerts" logic,
unless you implement it yourself. In other words, the number of false
positives will most likely go up.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Switching to passive checks instead of active ones?

2007-10-05 Thread Ivan Fetch
HI Sam,

On Thu, 4 Oct 2007, Live Great wrote:

> Hello Ivan,

> I believe the host check can only be done via a Nagios agent installed 
> in the remote host or via check_by_ssh.

BY host check, do you mean the host check which Nagios does when it 
finds services are unavailable?

We will leave the host check (the Nagios check-host-alive command) 
defined as ping.  I believe that if the passive checks become stale, 
Nagios will trigger the active host check.  We also will likely have at 
least one active service check (say, for SSH) - if that service becomes 
unavailable, the host check will be triggered too.



> You said you want to replace check_by_ssh, why are you doing so?
> Most customer don't want a specific monitoring agent installed in their 
> server (a remote host in Nagios' slang).

Besides the reasons I gave in my initial post, we are looking at it 
this way: Plugins (for checks like disk space, RAID controllers, volume 
management, mail queues, process checks) exist locally on the hosts 
anyhow.  Pushying check results to Nagios keeps us from having to open up 
new inbound connections (NRPE) or allowing key-based SSH logins from the 
Nagios server to our hosts.   We're not so strict that this "push; agent 
approach" is absolutely necessary on all hosts, but we do have some hosts 
which we would like to keep more closed and secure.


I'm looking for folks who are using, or have significantly explored, 
the passive service checks on this level.  I can experiment and reach my 
own conclusions, but there are also a lot of good folks here who have done 
more with Nagios than I.



Thanks,

Ivan.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Integrated OVO with Nagios

2007-10-05 Thread Pablo Buenaventura
Hi All,

I am working with OpenView  7.5.1 and Nagios 1.2 and I am new baby with
Monitoring staff.

¿is it possible the integration between then throught rsh?¿How?

¿does exist another way to comunicated-integrated to each other?

I am looking for some documentation about this ¿any help?

Many thanks to all.

Pablo.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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