Re: [Nagios-users] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Raphaël 'SurcouF' Bordet
Le vendredi 09 mars 2007 à 15:20 -0600, Russell Adams a écrit :
> > There are no shortage of SNMP-based hard drive checks listed on
> > nagiosexchange.org
> 
> AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required
> to use most generic snmp plugins to query data. AIX 5.2 and earlier
> had this problem.
> 
> I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data.

Hi, 

I've already and successfully use some AIX 5.2 systems and retreives OID
from H-R-M (hrSystem, hrStorage, hrDevice and hrSWInstalled tables).
Did you have hostmibd[1] running ? This DPI2 sub-agent implement
HOST-RESSOURCES-MIB (RFC 1155 and 1592).

Regards,


[1]:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds2/hostmibd.htm
-- 
Raphaël 'SurcouF' Bordet <[EMAIL PROTECTED]>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Raphaël 'SurcouF' Bordet
Le jeudi 08 mars 2007 à 17:50 -0800, Patrick - South Valley Internet a
écrit :
> Hi all,

Hi,

> I'm trying to monitor all the important stuff from a few of our AIX 
> boxes, such as CPU load, memory load, and storage.  I want to be able to 
> have Nagios notify us when we reach a certain level of storage for all 
> the partitions.  I downloaded the AIX Harddisk Checks located at 
> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 
> and I have it working, but it only tells me OK that there is a hard 
> drive in the system.  I want to be able to have Nagios notify us when we 
> reach a certain level of storage for all the partitions.
> 
> Could anyone point me in the right direction on how to get Nagios to 
> check for the amount of storage on the drive?  Do I need a different plugin?

You can check storage by using check_snmp_storage[1] wrote by Patrick
Proy. AIX SNMP agents should provide HOSTS-RESSOURCES-MIB: I've already
set some services using this plugins for a customer. You can also use
Patrick Proy's plugins to get CPU load (check_snmp_load[2]) and memory
usage (check_snmp_mem[3]).
Since AIX 5.2, you must enable aixmibd sub-agent to get "Paging Space"
statistics (I can publish a plugin that support this IBM-AIX-MIB if you
need).

> I also want to put a password on this instead of making it public, do I 
> just change all words that say public to the passphrase I want?

Right, you've to modify this string to change the community.
Note : with SNMPv1 and SNMPv2c, this community will be transfered without
any protection on the network. You must use at least SNMPv3 to get a more
secure protocol. AIX snmpdv3[4] agent also support this protocol version.

Regards,


[1]: http://nagios.manubulon.com/snmp_load.html
[2]: http://nagios.manubulon.com/snmp_mem.html
[3]: http://nagios.manubulon.com/snmp_storage.html
[4]:http://publib16.boulder.ibm.com/pseries/fr_FR/files/aixfiles/snmpdv3.conf.htm
-- 
Raphaël 'SurcouF' Bordet


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Russell Adams
> There are no shortage of SNMP-based hard drive checks listed on
> nagiosexchange.org

AIX used to not support RFC2790 (HOST-RESOURCES-MIB) which is required
to use most generic snmp plugins to query data. AIX 5.2 and earlier
had this problem.

I just snmpwalked one of my AIX 5.3 systems and it returned HOSTMIB data.

You can also run Net-SNMP on AIX instead of the default snmpd.

Good luck!

--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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 Windows Event log question.

2007-03-09 Thread Lacayo, Luis F

Hi All, 

I was wondering if anyone is monitoring the Microsoft event logs, with
Nagios.  Basically I would need to trap a certain type of event log and
based on a value send a Nagios Alert.

Thanks for any feed back.


Luis 

Luis Lacayo
Sr. UNIX Admin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Aaron M. Segura
On Fri, 2007-03-09 at 10:13 -0800, Patrick - South Valley Internet
wrote:
> Patrick Morris wrote:
> > On Thu, 08 Mar 2007, Patrick - South Valley Internet wrote:
> >
> >   
> >> Hi all,
> >>
> >> I'm trying to monitor all the important stuff from a few of our AIX 
> >> boxes, such as CPU load, memory load, and storage.  I want to be able to 
> >> have Nagios notify us when we reach a certain level of storage for all 
> >> the partitions.  I downloaded the AIX Harddisk Checks located at 
> >> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 
> >> and I have it working, but it only tells me OK that there is a hard 
> >> drive in the system.  I want to be able to have Nagios notify us when we 
> >> reach a certain level of storage for all the partitions.
> >> 
> >
> > Does the standard check_disk plugin not work on AIX?
> >
> >-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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 don't think the standard check_disk plugin works for SNMP.  I'm trying 
> to contact the AIX server and parse the SNMP results that the AIX server 
> kicks back.
> 
> Patrick
> 

There are no shortage of SNMP-based hard drive checks listed on
nagiosexchange.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Getting Nagios and AIX SNMP working together happily

2007-03-09 Thread Patrick - South Valley Internet
Patrick Morris wrote:
> On Thu, 08 Mar 2007, Patrick - South Valley Internet wrote:
>
>   
>> Hi all,
>>
>> I'm trying to monitor all the important stuff from a few of our AIX 
>> boxes, such as CPU load, memory load, and storage.  I want to be able to 
>> have Nagios notify us when we reach a certain level of storage for all 
>> the partitions.  I downloaded the AIX Harddisk Checks located at 
>> http://www.nagiosexchange.org/AIX.139.0.html?&tx_netnagext_pi1[p_view]=712 
>> and I have it working, but it only tells me OK that there is a hard 
>> drive in the system.  I want to be able to have Nagios notify us when we 
>> reach a certain level of storage for all the partitions.
>> 
>
> Does the standard check_disk plugin not work on AIX?
>
>
>
>
>
>   

I don't think the standard check_disk plugin works for SNMP.  I'm trying 
to contact the AIX server and parse the SNMP results that the AIX server 
kicks back.

Patrick

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Out of memory failures on Nagios master server

2007-03-09 Thread Ton Voon
Jonathan,

On 9 Mar 2007, at 16:39, Wheeler, JF (Jonathan) wrote:

> My configuration has a master server and 2 slave servers with about  
> 730
> hosts and 16000 service checks.  All our systems are running  
> Linux.  For
> some time now the master server has been running out of memory between
> 4:50 and 5:00 such that the server either kernel panics (rarely) or it
> kills all useful processes.  To try and investigate the problem I have
> been running at commands to run "vmstat 15 160" and "date; ps -ef;  
> sleep
> 15" (160 times) to record system activity at 15 second intervals  
> for 40
> minutes, i.e. from 4:30 until 5:10.  This has revealed that the  
> problem
> is caused by a) nsca processes starting and not being completed  
> (today's
> maximum count was 4447) until they all suddenly complete at about  
> 4:50.

You may want to try running nsca in --single mode. You can  
potentially lose some slave checks, but you would never get the high  
number of nsca processes.

We've seen situations where a high number of nsca processes makes the  
nagios server crawl, slowing other things down.

> During this time vmstat shows that memory usage increases slowly,  
> but it
> is all released when the nsca processes run.  About 10 minutes later
> there are many separate nagios processes which do not complete  
> (183); as
> the nagios process is quite large this fills system memory and swap
> space which effectively kills the system.

IIRC, passive check results are processed by the main nagios process,  
so shouldn't be responsible for multiple nagios processes. There are  
multiple nagios processes for parallelised service checks - perhaps  
you could restrict the number of parallelised checks?

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Out of memory failures on Nagios master server

2007-03-09 Thread Wheeler, JF (Jonathan)
My configuration has a master server and 2 slave servers with about 730
hosts and 16000 service checks.  All our systems are running Linux.  For
some time now the master server has been running out of memory between
4:50 and 5:00 such that the server either kernel panics (rarely) or it
kills all useful processes.  To try and investigate the problem I have
been running at commands to run "vmstat 15 160" and "date; ps -ef; sleep
15" (160 times) to record system activity at 15 second intervals for 40
minutes, i.e. from 4:30 until 5:10.  This has revealed that the problem
is caused by a) nsca processes starting and not being completed (today's
maximum count was 4447) until they all suddenly complete at about 4:50.
During this time vmstat shows that memory usage increases slowly, but it
is all released when the nsca processes run.  About 10 minutes later
there are many separate nagios processes which do not complete (183); as
the nagios process is quite large this fills system memory and swap
space which effectively kills the system.  You might think, given the
time that this is happening, that this is affected by cron, but for this
morning I had retimed cron.daily to run at 10:02 rather than 4:02.  Has
anyone seen anything like this ?  I can say from the master server logs
that no tests seem to be recorded from about 4:00 onwards; if they
system survives they start after that.  Any help would be appreciated.
The server is a blade server with a single CPU but it is running with
hyper-threading on (if that makes a difference); the kernel is
2.6.0-42.0.8

Any suggestions would be appreciated.

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] automagically add hosts

2007-03-09 Thread Thomas Guyot-Sionnest
On 09/03/07 10:57 AM, Tom Brown wrote:
> Hi
> 
> Can i ask people how they have got around the auto adding of hosts to 
> their setup? I have a situation were _sometimes_ we have to build many 
> hosts, ~100, at a time so adding these is a bit of a pain. All checks 
> are the same so i can just add to hostgroups etc.
> 
> I can shell onto the monitoring box using keys so i can have scripts do 
> this but i wonder how people do it so i can get ideas on how to solve 
> this etc.
> 
> Or if someone has a script they would share that i can modify that would 
> also be great.
> 
> something like
> 
> ./add_host $HOSTNAME type affair

Something like this:


#!/bin/bash

dd if=/dev/null of=new/hostgroup.cfg
cat hostgroup_template.head >> new/hostgroup.cfg
for i in server1 server2 servern
do
  ip=$(gethostip -d $i.example.com|tr -d " \n")
  sed s/SERVER_NAME/$i.example.com/g hostgroup_template.cfg | sed
s/SERVER_IP/$ip/g >> new/hostgroup.cfg
done

You will need hostgroup_template.head which will look like the top of
your file, then hostgroup_template.cfg which contains one host
definision with the server name replaces with SERVER_NAME and IP address
replaced with SERVER_IP.

It will create a new file in new/ with the hostgroup_template.head as
header and one properly modified hostgroup_template.cfg per hosts in the
for loop after the header.

This is just an example; i.e. I used to use the above script to generate
my MRTG configs, but the same principle can apply for Nagios.

Thomas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] automagically add hosts

2007-03-09 Thread Tom Brown
Hi

Can i ask people how they have got around the auto adding of hosts to 
their setup? I have a situation were _sometimes_ we have to build many 
hosts, ~100, at a time so adding these is a bit of a pain. All checks 
are the same so i can just add to hostgroups etc.

I can shell onto the monitoring box using keys so i can have scripts do 
this but i wonder how people do it so i can get ideas on how to solve 
this etc.

Or if someone has a script they would share that i can modify that would 
also be great.

something like

./add_host $HOSTNAME type affair

thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] ANNOUNCE: Raid Plugins for Nagios 32-bit & 64-bit

2007-03-09 Thread Hari Sekhon
Hi,
   I've written 3 Raid plugins for Nagios, which are immensely useful, I 
found 2 servers with degraded arrays!

The plugins cover Linux Software Raid, LSI MegaRaid and 3ware Raid.

The plugins are written in python so work on all modern Linux systems 
(and theoretically other systems that have python too)
and I have them running on both 32-bit and 64-bit servers.


Here are the links on NagiosExchange if anyone wants them:

Linux Software Raid (aka MD Raid)
http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880

LSI MegaRaid
http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879

3ware Raid
http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878



Any feedback or feature requests are welcome at this email address


-h

-- 
Hari Sekhon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] query about passive checks and tactical overview

2007-03-09 Thread Sloane, Robert Raymond
> Enable active checks for the hosts/services but set their 
> check_period to none.
> 

This used to work, but now the check_period is enforced for the
freshness check.  Here is a patch that will change back to the old
behaviour.  This is for version 2.5.

*** checks.c~   Tue Jun 20 19:59:19 2006
--- checks.cThu Sep 28 10:27:04 2006
***
*** 1731,1741 
/* skip services that are already being freshened */
if(temp_service->is_being_freshened==TRUE)
continue;
! 
/* see if the time is right... */
 
if(check_time_against_period(current_time,temp_service->check_period)==E
RROR)
continue;
! 
/* EXCEPTION */
/* don't check freshness of services without regular
check intervals if we're using auto-freshness threshold */
if(temp_service->check_interval==0 &&
temp_service->freshness_threshold==0)
--- 1731,1741 
/* skip services that are already being freshened */
if(temp_service->is_being_freshened==TRUE)
continue;
! #if 0
/* see if the time is right... */
 
if(check_time_against_period(current_time,temp_service->check_period)==E
RROR)
continue;
! #endif
/* EXCEPTION */
/* don't check freshness of services without regular
check intervals if we're using auto-freshness threshold */
if(temp_service->check_interval==0 &&
temp_service->freshness_threshold==0)

-- 
Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
Email:[EMAIL PROTECTED] http://www.ku.edu/home/sloane Phone:(785)864-0444
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Marc Powell
> Sent: Friday, March 09, 2007 9:11 AM
> To: Nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] query about passive checks and 
> tactical overview
> 
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> [mailto:nagios-users- 
> > [EMAIL PROTECTED] On Behalf Of Patrick Morris
> > Sent: Thursday, March 08, 2007 8:02 PM
> > To: Manish Sapariya
> > Cc: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] query about passive checks and tactical 
> > overview
> > 
> > Hi Manish!
> > 
> > On Thu, 08 Mar 2007, Manish Sapariya wrote:
> > 
> > > I was expecting the tactical overview page to say that 
> there are no 
> > > active checks for service/host. However the tactical 
> overview page 
> > > says that for the active checks "X services disabled" and 
> "Y hosts 
> > > disabled" and shows them in red color.
> > 
> > This is normal.  I'm not sure if there's a way to get them 
> to not show 
> > red down there without some CGI hacking.
> 
> --
> Marc
> 
> --
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your opinions on IT & business topics through 
> brief surveys-and earn cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
___
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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Distributed setup - host checking

2007-03-09 Thread Thomas Guyot-Sionnest
On 09/03/07 08:17 AM, Marco Supino wrote:
> Hi,
> 
>  
> 
> I would like to know how people handle host checking in a distributed
> environment.

The Nagios documentation suggest leaving active host checks on the
central server as you normally can't have freshness checking on them. I
believe that's just a matter of personal preference and you can have
them distributed just like the rest.

> Assuming the “Central” server is not able to access the computers in the
> remote sites, I am using passive checks through NSCA to get the active
> results done by the “Agent” nagios.

That's another idea. You can have the "check_host_alive" command run
nrpe with args, though it's considered a big security risk. It shouldn't
be a problem though is there's no users on the lan and it is properly
secured.

Note that the additional latency of running nrpe could impact
performances if there's a lot of hosts.

> How do you define the hosts of the computers in the central server? Do
> you use localhost as the host IP? Do you use freshness checking of hosts
> in the central server?

IMHO the IP is fine.

> I had an idea to use scheduled checking of the host on the “Agent” , and
> send passive host results to the central nagios, if freshness checking
> discovers the results are not fresh, It runs a script that put “Info:
> host info is stale”, and will exit with the same error code the host is
> currently in (from the a macro value),

That's a good idea too. It will reduce a lot the impact of host checks
on performances.

> I think my way of handling this is wrong, as scheduled host checking
> must be done on the agent, which is bad for performance.

Another solution is to use Nagios 3 which has a completely different
logic for host checks. You shouldn't have performance impact anymore
with a properly set-up Nagios 3. You must keep in mind that's it'S alpha
software and can (and likely will) have bugs.

Thomas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] ANNOUNCE: Script to Generate Servicegroups

2007-03-09 Thread Hari Sekhon
I have just written a script to automatically generate all my service 
groups. (Quite useful if you have hundreds of services)


It's on Nagios Exchange if anyone wants it.

http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=896&tx_netnagext_pi1[page]=20%3A10

-h

-- 
Hari Sekhon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] query about passive checks and tactical overview

2007-03-09 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Patrick Morris
> Sent: Thursday, March 08, 2007 8:02 PM
> To: Manish Sapariya
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] query about passive checks and tactical
> overview
> 
> Hi Manish!
> 
> On Thu, 08 Mar 2007, Manish Sapariya wrote:
> 
> > I was expecting the tactical overview page to say that there are no
> > active checks for service/host. However the tactical overview page
> > says that for the active checks "X services disabled" and "Y hosts
> > disabled" and shows them in red color.
> 
> This is normal.  I'm not sure if there's a way to get them to not show
> red down there without some CGI hacking.

Enable active checks for the hosts/services but set their check_period
to none.

--
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Distributed setup - host checking

2007-03-09 Thread Marco Supino
Hi,

 

I would like to know how people handle host checking in a distributed
environment.

 

Assuming the "Central" server is not able to access the computers in the
remote sites, I am using passive checks through NSCA to get the active
results done by the "Agent" nagios.

 

How do you define the hosts of the computers in the central server? Do
you use localhost as the host IP? Do you use freshness checking of hosts
in the central server?

 

I had an idea to use scheduled checking of the host on the "Agent" , and
send passive host results to the central nagios, if freshness checking
discovers the results are not fresh, It runs a script that put "Info:
host info is stale", and will exit with the same error code the host is
currently in (from the a macro value),

 

I think my way of handling this is wrong, as scheduled host checking
must be done on the agent, which is bad for performance.

 

Please share you thoughts/setup, I need some ideas..

 

Thanks.

 

Marco.

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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 excluding hostgroups?

2007-03-09 Thread Dariusz Ankowski
Dnia Thu, 08 Mar 2007 14:08:11 -0800
Patrick Morris <[EMAIL PROTECTED]> napisał(a):

> Dariusz --
> 
> What does your nagios.conf file have set for use_regexp_matching and
> use_true_regexp_matching?

Hello,

From my nagios.cfg:

use_regexp_matching=1
use_true_regexp_matching=0

And I forgot to write this earlier: I'm using Nagios 3.0a1.

-- 
Pozdrawiam,
Dariusz Ankowski
[EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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