Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-09 Thread Max
On Wed, Sep 9, 2009 at 12:16 PM, David Rosenstrauch wrote: > Can you clarify what you see as the issue?  Because if I'm doing > something that could potentially cause problems, I'd like to understand > that. The only performance issue we see is start up time increases as Nagios has to flatten out

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-09 Thread Max
On Wed, Sep 9, 2009 at 2:42 AM, Janet Sullivan wrote: > What kind of hardware are you on? We have 2 machines: * 1 does polling. nagios GUI, and trap ingest (SNMPTT) * 1 does PNP graphing and storage, MySQL storage for SNMPTT, notifications, and acts as a relay to send performance data off to our

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-09 Thread David Rosenstrauch
On 09/08/2009 08:42 PM, Janet Sullivan wrote: One way to do this is use the custom host and service variables that Nagios 3.x provides in it's configuration DSL. We use this extensively. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html If you use cust

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-09 Thread Jelle Smet
> In my case, the bottom one takes precedence. However, I do get this error: > Warning: Duplicate definition found for service 'disk drives - nrpe' > on host 'omaampdb01a' (config file > '/etc/nagios/objects/services/templates/windows.cfg', starting on line > 20) > > I like this because I don't h

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Janet Sullivan
> So far so good, we poll 1600 hosts and around 8500 active services > (mostly SNMP using ePN plugins) in 4 minutes or less :) with a > non-distributed setup. We have a very steady stream of passive > services in the form of traps via SNMPTT as well. What kind of hardware are you on? -

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Terry
On Mon, Sep 7, 2009 at 9:54 AM, Jelle Smet wrote: > Hi List, > > My setup is more complicated than this but here's the essence: > > - I have created a hostgroup called linux_servers > - I have created 10 service checks with default values. > - Each individual service check has a hostgroup_name "lin

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Max
If you are interested in reading about some of the techniques we use to keep our performance high, you can here: http://www.semintelligent.com/blog/ Warning: a number of the techniques we employ in our production environment to increase perfomrance are techniques that many experienced users would

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Max
On Tue, Sep 8, 2009 at 8:42 PM, Janet Sullivan wrote: > How will using custom macros for services like this affect performance > and memory usage once it's used 10,000+ times?  Does it scale well? We use the large_installation_tweaks and the other recommendations on the Nagios site + some of our o

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Janet Sullivan
>>> One way to do this is use the custom host and service variables that >>> Nagios 3.x provides in it's configuration DSL. We use this >>> extensively. >>> >>> http://nagios.sourceforge.net/docs/3_0/customobjectvars.html >>> >>> If you use custom host variables in your service definitions, you ca

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread David Rosenstrauch
On 09/08/2009 07:41 AM, Jelle Smet wrote: >> One way to do this is use the custom host and service variables that >> Nagios 3.x provides in it's configuration DSL. We use this >> extensively. >> >> http://nagios.sourceforge.net/docs/3_0/customobjectvars.html >> >> If you use custom host variables

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Jelle Smet
> You can exclude a single host/service already included in a > hostgroup/servicegroup with the bang (!) character. > > i.e.: > > define service { > host_name !web1 > hostgroup_name web_servers > } > > This will include all hosts in web_servers hostgroup except web1. I > believe you can

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-08 Thread Jelle Smet
> One way to do this is use the custom host and service variables that > Nagios 3.x provides in it's configuration DSL. We use this > extensively. > > http://nagios.sourceforge.net/docs/3_0/customobjectvars.html > > If you use custom host variables in your service definitions, you can > then def

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/09 10:54 AM, Jelle Smet wrote: > Hi List, You can exclude a single host/service already included in a hostgroup/servicegroup with the bang (!) character. i.e.: define service { host_name !web1 hostgroup_name web_servers } This wil

Re: [Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Max
On Mon, Sep 7, 2009 at 10:54 AM, Jelle Smet wrote: > For one of the hosts I want to have a different threshold for only the "Root > Disk" test. Hi Jelle, One way to do this is use the custom host and service variables that Nagios 3.x provides in it's configuration DSL. We use this extensively.

[Nagios-users] How to make 1 exception for 1 host when mapping services to hostgroups?

2009-09-07 Thread Jelle Smet
Hi List, My setup is more complicated than this but here's the essence: - I have created a hostgroup called linux_servers - I have created 10 service checks with default values. - Each individual service check has a hostgroup_name "linux_servers" This effectively applies all 10 check against a