help

Steve Wensel swensel at gfg-group.com
Sun Nov 5 21:25:02 CET 2006


 

  _____  

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
nagios-users-request at lists.sourceforge.net
Sent: Monday, 6 November 2006 9:19 a.m.
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users Digest, Vol 6, Issue 8


Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
nagios-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

1. Re: Advanced permissions/user properties (Alex Burger)
2. macro variable (Matteo Contri)


----------------------------------------------------------------------

Message: 1
Date: Sat, 04 Nov 2006 16:07:51 -0500
From: Alex Burger <alex_b at users.sourceforge.net>
Subject: Re: [Nagios-users] Advanced permissions/user properties
To: Ton Voon <ton.voon at altinity.com>,
nagios-users at lists.sourceforge.net, klausman at schwarzvogel.de
Message-ID: <454D0127.9040700 at users.sourceforge.net>
Content-Type: text/plain; charset="iso-8859-1"

Alex Burger wrote:
> The more I think about it, the more I think we are looking at this the 
> wrong way. With file system or application permissions, we would assign 
> a group to a folder/object, and then pick what rights the group would 
> have. Why don't we do the same thing with Nagios?
> 
> Leave the groups as they are, but modify the host and service 
> contact_groups command? For example:
> 
> define host{
> host_name localhost
> contact_groups netops:rw, helpdesk:r
> }
> 
> For backwards compatibility, if no permissions are set, the defaults 
> would be rw so the following would be the same:
> 
> define host{
> host_name localhost
> contact_groups netops, helpdesk:r
> }
> 
> If a user was in both the netops and helpdesk group, the user should 
> have rw access.
> 
> This will take a bit more work to implement, but I think it makes more 
> sense. What do you think?
> 
> Alex

Attached is a patch for 2.5 that implements what I described above. It 
works on both hosts and services.

The following four lines are are examples of read/write access for 
netops and helpdesk:

contact_groups netops, helpdesk
contact_groups netops, helpdesk:rw
contact_groups netops:rw, helpdesk
contact_groups netops:rw, helpdesk:rw

The following two lines are are examples of read/write access for netops 
and read only (view only) for helpdesk:

contact_groups netops, helpdesk:r
contact_groups netops:rw, helpdesk:r

Alex

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-group-perms3
Url:
http://sourceforge.net/mailarchive/forum.php?forum=nagios-users/attachments/
20061104/060f5281/attachment.pl 

------------------------------

Message: 2
Date: Sun, 05 Nov 2006 14:42:12 +0100
From: Matteo Contri <matteo.contri at tecem.it>
Subject: [Nagios-users] macro variable
To: nagios-users at lists.sourceforge.net
Message-ID: <454DEA34.9070007 at tecem.it>
Content-Type: text/plain; charset=ISO-8859-1

hi community,
to create a quite flexible system using nagiosgraph, rrd, and
performance data of nagios i need a particular variable that i cannot
find in nagios macro list.
i need the value of "normal_check_interval" exported by the command of
perfomance data. Does it exist?
if not, i'd really like to see this value in the future version of nagios.
It's a must for RRD because i need to change step and hearbeat value in
according to normal_check_interval.
I found a solution, but my programming skill is basic, and is quite ugly.

Sorry for my english.

Matteo



------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
&kid=120709&bid=263057&dat=121642

------------------------------

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest, Vol 6, Issue 8
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061106/3ca8f6e8/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list