Re: [Nagios-users] Advanced authentication

2008-10-29 Thread Phillips, Dustin B (DBphillips)

Thanks for the replies.

Ultimately what we would like to do is authenticate the user via another
website that we already use as a single sign-on portal for other web
applications.  Once they're logged in there, we would pass their username
over to Nagios via URL querystring or hidden form value, etc (not going for
maximum security).  On the Nagios server we would use PHP to populate the
REMOTE_USER Apache ENV variable with the passed username so that Nagios can
compare that to the contacts and provide them with their applicable views.

Currently we are able to pass the username value to the Nagios server and we
appear to be populating the Apache ENV variable successfully via PHP using
apache_setenv('REMOTE_USER', '[username]'); however when we then redirect
to the Nagios homepage, Nagios does not appear to be picking up the
username.  It states that we're logged in as ? and obviously nothing is
accessible.

Questions:

Is it necessary to modify the Nagios/cgi config in any way to achieve what
we're doing?
Is is necessary to modify the Apache config?
Is is necessary to set any other ENV variables besides REMOTE_USER?

Thanks for any assistance/guidance you can provide!

Dustin


E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.









-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Advanced authentication

2008-10-28 Thread Phillips, Dustin B (DBphillips)
Sorry if this has already been asked but I¹m new to the list.

Question:  Is there an add-on or other method for enabling more advanced
authentication for Nagios or is htaccess the only method?  I¹m thinking
something more like a MySQL database or LDAP, etc.

Thanks,

Dustin



E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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

2008-10-22 Thread Phillips, Dustin B (DBphillips)
Hi -- 

I apologize in advance as this question is difficult to type without running
around in circles but here goes:

We¹re having trouble configuring Nagios service notifications to go to
specific contacts for specific hosts.

For instance, we have contact1 who is a member of contactgroup1.  We have
host1 who also has a contact group of contactgroup1.  That association is
working.

However, we have service1 which runs on host1, host2, and host3, and has
contact groups contactgroup1 and contactgroup2.  Whenever host2, which is
not associated with contact1 has a notification for this service, contact1
is receiving the notification.

How do we limit notifications for service1 to only go to contact1 if the
host having trouble is host1?


Thanks in advance,

Dustin


E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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

2008-10-22 Thread Phillips, Dustin B (DBphillips)
Thanks for the reply but I don¹t know that that would help us.  The problem
isn¹t that we cant select individual contacts.  The problem is our contacts
are getting service notifications for hosts that aren¹t assigned to any of
their associated contact groups.

Our scenario:

³contact1² is assigned to ³contactgroup1²
³host1² is assigned to ³contactgroup1²
³service1² is assigned to run on ³host1², ³host2², and ³host3² and is
assigned to ³contactgroup1²
(note: ³host2² and ³host3² are not assigned to ³contactgroup1² are are not
otherwise associated to ³contact1²)

In this scenario, why does contact1 get service notifications for host2 and
host3?

Sorry if I¹m making this explanation more complicated than necessary.

Dustin


On 10/22/08 3:41 PM, Lacayo, Luis F [EMAIL PROTECTED] wrote:

 It is my understanding that Nagios Version 3+ allows you to put individual
 contacts per service.
  
 Luis
  
 
 From: Phillips, Dustin B (DBphillips) [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 22, 2008 1:47 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Nagios notifications
  
 Hi -- 
 
 I apologize in advance as this question is difficult to type without running
 around in circles but here goes:
 
 We¹re having trouble configuring Nagios service notifications to go to
 specific contacts for specific hosts.
 
 For instance, we have contact1 who is a member of contactgroup1.  We have
 host1 who also has a contact group of contactgroup1.  That association is
 working.
 
 However, we have service1 which runs on host1, host2, and host3, and has
 contact groups contactgroup1 and contactgroup2.  Whenever host2, which is not
 associated with contact1 has a notification for this service, contact1 is
 receiving the notification.
 
 How do we limit notifications for service1 to only go to contact1 if the host
 having trouble is host1?
 
 
 Thanks in advance,
 
 Dustin
  
 E-MAIL CONFIDENTIALITY NOTICE:
  
  
  
  
  
  
  
 The contents of this e-mail message and
 any attachments are intended solely for the
 addressee(s) and may contain confidential
 and/or legally privileged information. If you
 are not the intended recipient of this message
 or if this message has been addressed to you
 in error, please immediately alert the sender
  by reply e-mail and then delete this message
 and any attachments. If you are not the
 intended recipient, you are notified that
 any use, dissemination, distribution, copying,
 or storage of this message or any attachment
 is strictly prohibited.
  
  
  
  
  
  
  
 


E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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