[Nagios-users] Hostgroup tricks?

2011-11-08 Thread Tim AtLee
Hello I have a hostgroup defined as: define hostgroup { hostgroup_name ping-servers alias Pingable hosts members * } I have recently added a host outside our firewall that has ping disabled. I have changed the host's

Re: [Nagios-users] Hostgroup tricks?

2011-11-08 Thread Frost, Mark {PBC}
From: Tim AtLee [mailto:t.at...@cfertech.com] Sent: Tuesday, November 08, 2011 9:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hostgroup tricks? Hello I have a hostgroup defined as: define hostgroup { hostgroup_name ping-servers alias

Re: [Nagios-users] Hostgroup tricks?

2011-11-08 Thread Brandon Phelps
The correct parameter for defining a host's hostgroups is hostgroups, not hostgroup. Try: define host { ... hostgroups !ping-servers } (Note the pural form, rather than singular) Brandon Phelps Global Linking Solutions O: (704) 973-6855 C: (704) 222-2103 E: bphe...@gls.com On

Re: [Nagios-users] Hostgroup tricks?

2011-11-08 Thread Brandon Phelps
Actually it seems that the hostgroups parameter does not support negation. I would go with Mark's answer instead, as that seems to work fine in my tests. -Brandon On 11/08/2011 10:42 AM, Brandon Phelps wrote: The correct parameter for defining a host's hostgroups is hostgroups, not

Re: [Nagios-users] Hostgroup tricks?

2011-11-08 Thread Tim AtLee
Subject: Re: [Nagios-users] Hostgroup tricks? From: Tim AtLee [mailto:t.at...@cfertech.com] Sent: Tuesday, November 08, 2011 9:46 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hostgroup tricks? Hello I have a hostgroup defined as: define hostgroup { hostgroup_name

Re: [Nagios-users] Hostgroup tricks?

2011-11-08 Thread Giacomo Montagner
Hi Tim, if you want to exclude this host from the ping-servers hostgroup, you should really exclude it from the hostgroup itself, i.e.: define hostgroup{ hostgroup_name ping-servers alias Pingable hosts members

Re: [Nagios-users] Hostgroup Members

2011-09-27 Thread Marc Powell
On Sat, Sep 24, 2011 at 9:20 AM, Marc Powell li...@xodus.org wrote: My question is, do newer version of nagios remove this limitation? They do not. And I _meant_ to say 'They do not have this limitation...' -- Marc

Re: [Nagios-users] Hostgroup Members

2011-09-25 Thread mail
On Fri, Sep 23, 2011 at 4:51 PM, Brandon Phelps bphe...@gls.com wrote: Hello, We are using a fairly old version of Nagios (1.4.1) which has been running great for years and is in production on 100+ servers so we are a bit hesitant to update.  If it ain't broke don't fix it, right?  Anyway,

Re: [Nagios-users] Hostgroup Members

2011-09-24 Thread Marc Powell
On Sep 23, 2011, at 10:51 AM, Brandon Phelps wrote: Hello, We are using a fairly old version of Nagios (1.4.1) which has been running great for years and is in production on 100+ servers so we are a bit hesitant to update. If it ain't broke don't fix it, right? Anyway, one minor

Re: [Nagios-users] Hostgroup Members

2011-09-24 Thread dave stern - e-mail.pluribus.unum
Actually, that raises an interesting tangential question. Can/should your nagios server handle mail delivery to many many people? Unless it's tuned for higher capacity email delivery, I'd expect SMTP functions to negatively impact nagios checks. In other words, why not just use a single address

[Nagios-users] Hostgroup Members

2011-09-23 Thread Brandon Phelps
Hello, We are using a fairly old version of Nagios (1.4.1) which has been running great for years and is in production on 100+ servers so we are a bit hesitant to update. If it ain't broke don't fix it, right? Anyway, one minor problem is the fact that in the nagios configuration, the

Re: [Nagios-users] Hostgroup Members

2011-09-23 Thread Daniel Wittenberg
, September 23, 2011 10:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hostgroup Members Hello, We are using a fairly old version of Nagios (1.4.1) which has been running great for years and is in production on 100+ servers so we are a bit hesitant to update. If it ain't

Re: [Nagios-users] Hostgroup Members

2011-09-23 Thread Brandon Phelps
to which is a much shorter list. Dan -Original Message- From: Brandon Phelps [mailto:bphe...@gls.com] Sent: Friday, September 23, 2011 10:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hostgroup Members Hello, We are using a fairly old version of Nagios

Re: [Nagios-users] Hostgroup Members

2011-09-23 Thread Paul M. Dubuc
Brandon Phelps wrote: Thanks Dan. I was aware of the hostgroups directive in the host {} block, but for some reason my brain never connected the dots. In that case, does anyone know when support was added for host { hostgroups = ... }, or simply whether or not it is available in version 1.4?

[Nagios-users] Hostgroup

2011-08-11 Thread Aravind M D
Hi All, I am experiencing a strange in Nagios. I have created two hogroups hostgroup1 and hostgroup2. Same contact_groups has been added for both the hostgroups. But when i am login to the webinterface as one of member of contact_groups i am able to see only one hostgroup in Hostgroup 

Re: [Nagios-users] Hostgroup

2011-08-11 Thread mail
On Thu, Aug 11, 2011 at 9:21 AM, Aravind M D arav...@linuz.in wrote: Hi All, I am experiencing a strange in Nagios. I have created two hogroups hostgroup1 and hostgroup2. Same contact_groups has been added for both the hostgroups. But when i am login to the webinterface as one of member of

Re: [Nagios-users] Hostgroup

2011-08-11 Thread Aravind M D
Quoting m...@catsnest.co.uk: Hi Ritchie, Yes my contact does had permission for one host. Rgds, Aravind M D On Thu, Aug 11, 2011 at 9:21 AM, Aravind M D arav...@linuz.in wrote: Hi All, I am experiencing a strange in Nagios. I have created two hogroups hostgroup1

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-12-17 Thread Michael Friedrich
Original Message Subject: Re: [Nagios-users] hostgroup with no members - Enhancement From: Max Schubert m...@webwizarddesign.com To: Andreas Ericsson a...@op5.se, Nagios Users List nagios-users@lists.sourceforge.net Date: 2010-11-29 15:07 Thank you, Andreas - I actually really

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-12-17 Thread Mathieu Gagné
On 12/17/10 4:02 PM, Ton Voon wrote: I didn't really follow this thread earlier, so bear with me with the questions: Does this have to be implemented as another variable? Why can't you always allow an empty hostgroup? (In the interests of keeping it simple) I agree with Ton. Why not

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-29 Thread Andreas Ericsson
On 11/29/2010 04:27 AM, Max Schubert wrote: Hi, Long overdue and anxiously waited on by at least 3 people :), here is the patch, diffed against the CVS HEAD (as of tonight) revision of Nagios, with a documentation patch for configmain.html as well (as requested by Andreas): The option is

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-29 Thread Max Schubert
Thank you, Andreas - I actually really enjoy writing tests and understand their value - will see if I can put a few in place using tap over the next week or so and update the patch with them. On 11/29/10, Andreas Ericsson a...@op5.se wrote: On 11/29/2010 09:20 AM, Andreas Ericsson wrote: This

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-28 Thread Max Schubert
Hi, Long overdue and anxiously waited on by at least 3 people :), here is the patch, diffed against the CVS HEAD (as of tonight) revision of Nagios, with a documentation patch for configmain.html as well (as requested by Andreas): The option is now named allow_empty_hostgroup_assignment Thanks

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-19 Thread Andreas Ericsson
On 11/18/2010 09:19 PM, Daniel Wittenberg wrote: I was curious if we were able to make any progress on getting this patch included? That depends on you, more or less. I'm just waiting for a rerolled one that's tested with latest CVS head and has the necessary documentation amendments. --

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-19 Thread Daniel Wittenberg
Ericsson [mailto:a...@op5.se] Sent: Friday, November 19, 2010 3:17 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] hostgroup with no members - Enhancement On 11/18/2010 09:19 PM, Daniel Wittenberg wrote: I was curious if we were able to make any progress on getting

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-19 Thread Max Schubert
Will try to get this done this weekend - sorry all, it is an irony to be working for a company that allows us to release code from work to open source and be so busy at the job that I rarely have time to do so :). My apologies for the delay - and thanks for your input, help, and feedback on the

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-18 Thread Daniel Wittenberg
I was curious if we were able to make any progress on getting this patch included? Thanks! Dan -Original Message- From: Max Schubert [mailto:m...@webwizarddesign.com] Sent: Wednesday, November 03, 2010 7:04 AM To: Andreas Ericsson; Nagios Users List Subject: Re: [Nagios-users] hostgroup

[Nagios-users] hostgroup-defined services with notifications defined by other hostgroups?

2010-11-04 Thread Phil! Gold
I'm sure this is something other people have wanted to do, but I must not be hitting the right combination of search terms when looking for it. I have a bunch of servers for which I'm using hostgroups to manage their monitored services. In other words, there's a set of standard service checks

Re: [Nagios-users] hostgroup-defined services with notifications defined by other hostgroups?

2010-11-04 Thread Assaf Flatto
On 04/11/10 15:18, Phil! Gold wrote: I'm sure this is something other people have wanted to do, but I must not be hitting the right combination of search terms when looking for it. I have a bunch of servers for which I'm using hostgroups to manage their monitored services. In other words,

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-03 Thread Andreas Ericsson
On 11/02/2010 04:54 PM, Max Schubert wrote: allow_empty_hostgroups = 1 I'll take this, but rename the option to something more mnemonic, as empty hostgroups are already allowed and it's a bit ambiguous what it means. Any chance you could re-roll the patch against latest CVS head and include

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-03 Thread Max Schubert
Will do my best to do this this week - if I don't get to it this week I will forget about it for sure, all the patches our team has done to make Nagios (some very very specific to our env) work for us will be available on our team github account; will do my best to get that updated this week as

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Andreas Ericsson
On 11/01/2010 08:57 PM, Daniel Wittenberg wrote: I'd like to be able to create a hostgroup with no members assigned, but doesn't appear to work. Empty hostgroups work just fine. The check that says this is so starts at line 12516 in xdata/xodtemplate.c as of latest CVS/git. It's been like that

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Daniel Wittenberg
: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, November 02, 2010 2:34 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] hostgroup with no members - Enhancement On 11/01/2010 08:57 PM, Daniel Wittenberg wrote: I'd like to be able to create a hostgroup with no members

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Daniel Wittenberg
List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] hostgroup with no members - Enhancement On 11/01/2010 08:57 PM, Daniel Wittenberg wrote: I'd like to be able to create a hostgroup with no members assigned, but doesn't appear to work. Empty hostgroups work just fine. The check that says

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Andreas Ericsson
On 11/02/2010 02:59 PM, Daniel Wittenberg wrote: Ok, so this was a basic test, I have a GENERIC_PING check and it had the fake host in there and was working fine, as soon as I removed it (so no members defined): Error: Could not expand hostgroups and/or hosts specified in service (config

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Daniel Wittenberg
-Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, November 02, 2010 9:10 AM To: Daniel Wittenberg Cc: Nagios Users List Subject: Re: [Nagios-users] hostgroup with no members - Enhancement On 11/02/2010 02:59 PM, Daniel Wittenberg wrote: Ok, so this was a basic

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Andreas Ericsson
On 11/02/2010 03:16 PM, Daniel Wittenberg wrote: Basically because all the backend files are controlled via puppet, to a number of nagios servers, but the actual host assignments are controlled by third-party package. So, the base configs about all the services are pushed to every server, and

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Daniel Wittenberg
Maybe it could just be considered a warning and not a fatal error? I can ignore warnings :) Dan -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, November 02, 2010 9:43 AM To: Daniel Wittenberg Cc: Nagios Users List Subject: Re: [Nagios-users] hostgroup

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Andreas Ericsson
On 11/02/2010 03:56 PM, Daniel Wittenberg wrote: Maybe it could just be considered a warning and not a fatal error? I can ignore warnings :) Yes and no. The code returns NULL for non-existing hostgroups referenced (which should remain an error) and NULL for existing hostgroups without member

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Fredrik Barrud
Hi, I would also like to be able to create empty hostgroups with services assigned. The reason for this is that I've setup a nagios installation for a customer where a host is only member to one hostgroup to inherit services from other hostgroups, like all-windows-citrix-server and for a few

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Max Schubert
On Tue, Nov 2, 2010 at 10:52 AM, Fredrik Barrud fred...@barrud.se wrote: Hi, I would also like to be able to create empty hostgroups with services assigned. The reason for this is that I've setup a nagios installation for a customer where a host is only member to one hostgroup to inherit

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Max Schubert
To activate the downgrade from error to warning, put allow_empty_hostgroups = 1 in your nagios.cfg after compiling Nagios with the patch in place. - Max -- Nokia and ATT present the 2010 Calling All Innovators-North

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Michael Friedrich
On 02.11.2010 16:50, Max Schubert wrote: We have a local patch to turn the error into a warning, patched against 3.2.0 - we needed this because we have customers who can use host - hostgroup - N related services mappings but we do not control their configs, we only define the global service

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Andreas Ericsson
On 11/02/2010 04:54 PM, Max Schubert wrote: To activate the downgrade from error to warning, put allow_empty_hostgroups = 1 in your nagios.cfg after compiling Nagios with the patch in place. Neato. I'll apply and push it out tomorrow. -- Andreas Ericsson

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-02 Thread Daniel Wittenberg
Very cool, look forward to using it! Dan -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, November 02, 2010 12:56 PM To: Nagios Users List Subject: Re: [Nagios-users] hostgroup with no members - Enhancement On 11/02/2010 04:54 PM, Max Schubert wrote

[Nagios-users] hostgroup with no members - Enhancement

2010-11-01 Thread Daniel Wittenberg
I'd like to be able to create a hostgroup with no members assigned, but doesn't appear to work. The reason being is that I'm generating the host configs using a third-party tool, and it puts in that host file which hostgroups a host belong to. This works great, but there has to be at least 1

Re: [Nagios-users] hostgroup with no members - Enhancement

2010-11-01 Thread Enrico Zimol
On 1 November 2010 20:57, Daniel Wittenberg daniel.wittenberg.r...@statefarm.com wrote:   It would be nice if I could just put the hostgroups out there blank and then let the host definition completely populate what’s in there. Right now I have 1 fake host that is in every group, so I have one

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Gezina Dekker
Assaf, Thank you fro the reply, but the command does not give me any reply-back. I suppose it is because the problem is not in nagios .cfg, but in hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days that the name looks suspicious... Regards Gezina Running

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Charles Breite
[mailto:gezin...@gmail.com] Sent: Thursday, March 11, 2010 9:02 AM To: Nagios Users List Subject: Re: [Nagios-users] hostgroup definition Assaf, Thank you fro the reply, but the command does not give me any reply-back. I suppose it is because the problem is not in nagios .cfg

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Rick Mangus
If the hostgroup.cfg is included by nagios.cfg even indirectly, nagios -v nagios.cfg will include it in verification. It's not just verifying syntax or something else that can be done file-by-file, it checks to make sure that all references in the entire config to hosts and groups are defined and

[Nagios-users] hostgroup definition

2010-03-10 Thread Gezina Dekker
Hi all, Two things remain for me, one emails from nagios, two is hostgroups, and I looked at all the documentation and, cannot find my error... define hostgroup{ hostgroup_name Linux_group alias No_Call-Out members

Re: [Nagios-users] hostgroup definition

2010-03-10 Thread Assaf Flatto
Gezina Dekker wrote: Hi all, Two things remain for me, one emails from nagios, two is hostgroups, and I looked at all the documentation and, cannot find my error... define hostgroup{ hostgroup_name Linux_group alias No_Call-Out

Re: [Nagios-users] hostgroup expansion and regex

2009-08-30 Thread Mathieu Gagné
Terry wrote: The hostgroup alone works fine but the serviceescalation gives this error: Error: Could not expand services specified in service escalation (config file '/etc/nagios/objects/serviceescalations.cfg', starting on line 1) I can replace z-allhosts with the windows host group

Re: [Nagios-users] hostgroup expansion and regex

2009-08-29 Thread Jim Avery
2009/8/29 Terry td3...@gmail.com: I am overlooking something simple. Nagios Core 3.2.0 use_regexp_matching=1 use_true_regexp_matching=0 define hostgroup {        hostgroup_name  allhosts        members         * Error: Could not expand members specified in hostgroup (config file

Re: [Nagios-users] hostgroup expansion and regex

2009-08-29 Thread Terry
On Sat, Aug 29, 2009 at 4:22 AM, Jim Averyj...@jimavery.me.uk wrote: 2009/8/29 Terry td3...@gmail.com: I am overlooking something simple. Nagios Core 3.2.0 use_regexp_matching=1 use_true_regexp_matching=0 define hostgroup {        hostgroup_name  allhosts        members         *

[Nagios-users] hostgroup expansion and regex

2009-08-28 Thread Terry
I am overlooking something simple. Nagios Core 3.2.0 use_regexp_matching=1 use_true_regexp_matching=0 define hostgroup { hostgroup_name allhosts members * Error: Could not expand members specified in hostgroup (config file '/etc/nagios/objects/hostgroups.cfg', starting

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Israel Brewster
On Jun 3, 2009, at 1:25 PM, Marc Powell wrote: On Jun 3, 2009, at 2:43 PM, Chris Pepper wrote: We use several hostgroups. I'd like to ensure each host is in a group for its building. My concern is that we need to avoid adding a host without adding it to a building hostgroup. I

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Marc Powell
On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: For this example, that works, and perhaps for the original poster it's good enough. I'm running into a very similar situation, however, where I have a list of hostgroups in a base definition, and I just want to remove one hostgroup

Re: [Nagios-users] Hostgroup subtraction?

2009-06-04 Thread Chris Pepper
Marc Powell wrote: On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: For this example, that works, and perhaps for the original poster it's good enough. I'm running into a very similar situation, however, where I have a list of hostgroups in a base definition, and I just want to

[Nagios-users] Hostgroup subtraction?

2009-06-03 Thread Chris Pepper
We use several hostgroups. I'd like to ensure each host is in a group for its building. My concern is that we need to avoid adding a host without adding it to a building hostgroup. I tried putting the generic parent object in a hostgroup for our main location, and using

Re: [Nagios-users] Hostgroup subtraction?

2009-06-03 Thread Marc Powell
On Jun 3, 2009, at 2:43 PM, Chris Pepper wrote: We use several hostgroups. I'd like to ensure each host is in a group for its building. My concern is that we need to avoid adding a host without adding it to a building hostgroup. I tried putting the generic parent object in a

[Nagios-users] hostgroup view problem

2009-05-13 Thread Diego Giardinetto
Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in webserver seem all ok. Any idea? Cheers, Diego -- Diego Giardinetto

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Gaurav Ghimire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Marc Powell
On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you do not have permission to view information for any of the hosts you requested error, but cgi.cfg and permission in

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Diego Giardinetto
Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? Thx, Diego On Wed, 2009-05-13 at 15:10 +0545, Gaurav Ghimire wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego Giardinetto wrote: Hi all, I'm quite new using nagios and

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Diego Giardinetto
This is a good question, could you make me an example? ;) Thx, Diego On Wed, 2009-05-13 at 08:09 -0500, Marc Powell wrote: On May 13, 2009, at 3:05 AM, Diego Giardinetto wrote: Hi all, I'm quite new using nagios and I have a little problem. Hostgroup view show me It appears as though you

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Marc Powell
On May 13, 2009, at 8:16 AM, Diego Giardinetto wrote: Hi, also disabling authentication system i have the same error. could be a virtual host configuration mistake? I don't think you disabled authentication. I don't believe it's possible to see that error with authentication disabled. Did

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Diego Giardinetto
disabled auth basic and related .htaccess and setted-up use_authentication=0. error still remain. I tried to execute status.cgi?hostgroup=allstyle=overview manually from shell but I have the same error. Error seems to appear only view hostgroup parameter. Diego On Wed, 2009-05-13 at 09:06 -0500,

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Marc Powell
On May 13, 2009, at 8:41 AM, Diego Giardinetto wrote: This is a good question, could you make me an example? ; I don't know what example to show you. Is the user you were logged in as listed as a contact for all hosts in at least one hostgroup? -- Marc

Re: [Nagios-users] hostgroup view problem

2009-05-13 Thread Diego Giardinetto
Yes, it was... I use the default nagios config file style: each server use a myserver-template where is defined a contact-group where send emails. In this contact-group there is the concact I use to log-in... Seems right... you know? Diego On Wed, 2009-05-13 at 09:59 -0500, Marc Powell wrote:

Re: [Nagios-users] hostgroup view problem - PROBLEM SOLVED

2009-05-13 Thread Diego Giardinetto
I lost localhost.cfg entry in nagios.cfg main config file. In this situation status.cgi still print the permission error while the real problem is the missing entry in nagios.cfg file. Diego On Wed, 2009-05-13 at 17:15 +0200, Diego Giardinetto wrote: Yes, it was... I use the default nagios

Re: [Nagios-users] Hostgroup Issue

2009-01-21 Thread Alex Dehaini
Yes, I do have a hostgroup.cfg file. The issue is, when I add a new host or service - it doesn't show up in the cgi interface but nagios has seen it. My entries in hostgroup.cfg file are working, however - since nagios do not see these new hosts and services, they can't be displayed under the

Re: [Nagios-users] Hostgroup Issue

2009-01-21 Thread Alex Dehaini
-- *From:* Alex Dehaini [mailto:alexdeha...@gmail.com] *Sent:* 21 January 2009 11:38 *To:* Steve Burton *Cc:* Nagios Users Mailinglist *Subject:* Re: [Nagios-users] Hostgroup Issue Yes, I do have a hostgroup.cfg file. The issue is, when I add a new host or service - it doesn't show up

Re: [Nagios-users] Hostgroup Issue

2009-01-21 Thread jmoseley
for hostname aliases in Nagios? James Moseley From: Alex Dehaini [mailto:alexdeha...@gmail.com] Sent: 21 January 2009 11:38 To: Steve Burton Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Hostgroup Issue Yes, I do have a hostgroup.cfg file. The issue is, when I add a new

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread asam30
I do not understand your question properly. Do you have host.cfg and service.cfg files exists? and do you add hosts and services to these files respectively? /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives any errors or warnings and also paste the exact error when

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg gives no errors I added the host and services to the host.cfg and service.cfg files. I added a group to the hostgroup file and added the hosts to the hostgroup file. I reloaded nagios In the cgi view, I see the hostgroup but it

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread asam30
a sample host.cfg of my nagios server, define host{ host_name airlin ; The name we're giving to this host alias Airlin (TEST Server) ; A longer name associated with the host check_command check-host-alive check_interval 3

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
Asam, I have been using nagios for over 2 years now, never had any problem with it. Until now, I have noticed my nagios server is a bit sluggish. A couple of days ago, I added a host and a couple of services to it - nagios saw it and later said the host wasn't added. I am having the similar

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Marc Powell
On Jan 20, 2009, at 3:36 AM, Alex Dehaini wrote: In the cgi view, I see the hostgroup but it says there are no host or services added to it even after adding the host and service. Strange If you want useful help for this you're going to have to post the relevant config information. At

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Alex Dehaini
Hi, What config do you want me to post? I added the members to the hostgroup On Tue, Jan 20, 2009 at 1:52 PM, Marc Powell m...@ena.com wrote: On Jan 20, 2009, at 3:36 AM, Alex Dehaini wrote: In the cgi view, I see the hostgroup but it says there are no host or services added to it even

Re: [Nagios-users] Hostgroup Issue

2009-01-20 Thread Steve Burton
Alex Dehaini wrote: Hi, What config do you want me to post? I added the members to the hostgroup Do you have a 'hostgroups.cfg' or equivalent file? It should contain the definitions of any hostgroups you use. E.g. (cut from the documentation) define hostgroup{ hostgroup_name

[Nagios-users] Hostgroup Issue

2009-01-19 Thread Alex Dehaini
Hi Guys, I just defined a hostgroup and added members to it. I have also added each host and their services. I checked nagios for any errors and there are none. When I restart nagios, I can see the hostgroup alright but there are no host/services under it. I get this error SITE-CANTOMENTS

[Nagios-users] Hostgroup Downtime and ScriptAlias

2009-01-08 Thread Nicholas Thompson
Hello All, I have 2 problems. I just upgraded to 3.0.6 in hopes of fixing the second problem(question) I have. In the process of the upgrade, I ran the make install-webconf command, all went well. I then ran the service httpd restart and it comes back up, but I get the following output: BEGIN

[Nagios-users] Hostgroup / Servicegroup and views (local/global)

2008-09-23 Thread Brouzouf brouz
Hi All, Let's assume the below situation. I have users in different location...let's say North America (na) and Europe (eu) and I want them to be able to see only the devices belonging to there respective region. This is easily achievable by setting contact information as na-users and eu-users

[Nagios-users] hostgroup display not optimized

2008-08-08 Thread James
I have 4 hostgroups. The 1st has 10 hosts. The 2nd has 5 hosts. The 3rd has 10 hosts. The 4th has 5 hosts. The host group displays 3 columns and 2 rows even though it could fit the 4th hostgroup in the 1st row in the 2nd column below the 2nd hostgroup. I am using an older nagios, has this been

Re: [Nagios-users] hostgroup display not optimized

2008-08-08 Thread Mark Young
Hi James, On Aug 8, 2008, at 9:43 AM, James wrote: I am using an older nagios, has this been improved? I am assuming you are talking about the Hostgroup Overview section. The three columns are here to stay unless someone writes a patch modify the cgis or unless we move away from the cgis

[Nagios-users] Hostgroup definition

2008-05-12 Thread Jay R. Ashworth
I know that lots of the documentation about how to configure Nagios's cfg files is in transition from 2.x (where you mostly did it one way) to 3.0 (where you mostly do it another way), but there's a point I'm not clear on. It seems to me that it would be much easier to maintain if member machines

Re: [Nagios-users] Hostgroup definition

2008-05-12 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jay R. Ashworth Sent: Monday, May 12, 2008 9:32 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hostgroup definition I know that lots of the documentation about how

Re: [Nagios-users] Hostgroup definition

2008-05-12 Thread Andreas Ericsson
Jay R. Ashworth wrote: I know that lots of the documentation about how to configure Nagios's cfg files is in transition from 2.x (where you mostly did it one way) to 3.0 (where you mostly do it another way), but there's a point I'm not clear on. It seems to me that it would be much easier

Re: [Nagios-users] Hostgroup definition

2008-05-12 Thread Jay R. Ashworth
On Mon, May 12, 2008 at 10:01:56AM -0500, Marc Powell wrote: I know that lots of the documentation about how to configure Nagios's cfg files is in transition from 2.x (where you mostly did it one way) to 3.0 (where you mostly do it another way), but there's a point I'm not clear on.

Re: [Nagios-users] Hostgroup definition

2008-05-12 Thread Israel Brewster
On May 12, 2008, at 7:46 AM, Jay R. Ashworth wrote: On Mon, May 12, 2008 at 05:03:17PM +0200, Andreas Ericsson wrote: Not really, no, but the hostgroup needs to be defined somewhere. When it is, you can do something like the following define host { use

[Nagios-users] hostgroup limit in 1.x?

2007-04-17 Thread abid dar
I tried searching online but could not find out if there is a limit to number of hosts that can be added to a particular hostgroup in nagios 1.x ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: [Nagios-users] hostgroup limit in 1.x?

2007-04-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of abid dar Sent: Tuesday, April 17, 2007 1:40 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] hostgroup limit in 1.x? I tried searching online but could not find out

Re: [Nagios-users] hostgroup limit in 1.x?

2007-04-17 Thread Marantz, Roy
, 2007 2:59 PM To: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] hostgroup limit in 1.x? -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of abid dar Sent: Tuesday, April 17, 2007 1:40 PM To: Nagios-users@lists.sourceforge.net

Re: [Nagios-users] hostgroup limit in 1.x?

2007-04-17 Thread Marc Powell
-Original Message- From: Marantz, Roy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 4:27 PM To: Marc Powell; Nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] hostgroup limit in 1.x? I've put the hostgroup membership in the host definitions instead

Re: [Nagios-users] HostGroup not visible to notification recipients

2007-02-21 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of David G Schlecht Sent: Tuesday, February 20, 2007 5:32 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] HostGroup not visible to notification recipients All, I've

[Nagios-users] HostGroup not visible to notification recipients

2007-02-20 Thread David G Schlecht
All, I've encountered a strange issue and hope that someone can tell me if this is a bug or a configuration issue. I have multiple hosts (h1, h2, h3) in a hostGroup. Two of the hosts (h1, h2) are configured with notifications to two different contactGroups (c1, c2). The third host, h3, only

[Nagios-users] hostgroup + service check = overides?

2006-08-21 Thread Scott Baker
I have several servers and thus I've used the hostgroup_name to apply several generic services to about 10 of my servers. That way I don't have to define a ping service for each host, just that group. One of the services that I've applied is load average and I have one server out of ten that's

[Nagios-users] Hostgroup overview question...

2006-07-14 Thread Carpenter, Michael
I have a number of hosts in several hostgroups on the overview page. I would like to divide this page into two separate pagessay one for those hosts that we page for and those that only have notifications sent by email. Is there a way to do this? My mail goal is to make the page smaller so