<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>nagios-users-request@lists.sourceforge.net<BR><B>Sent:</B> Monday, 6
November 2006 9:19 a.m.<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Nagios-users Digest, Vol
6, Issue 8<BR></FONT><BR></DIV>
<DIV></DIV>Send Nagios-users mailing list submissions
to<BR>nagios-users@lists.sourceforge.net<BR><BR>To subscribe or unsubscribe via
the World Wide Web,
visit<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>or, via
email, send a message with subject or body 'help'
to<BR>nagios-users-request@lists.sourceforge.net<BR><BR>You can reach the person
managing the list at<BR>nagios-users-owner@lists.sourceforge.net<BR><BR>When
replying, please edit your Subject line so it is more specific<BR>than "Re:
Contents of Nagios-users digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Re:
Advanced permissions/user properties (Alex Burger)<BR>2. macro variable (Matteo
Contri)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message:
1<BR>Date: Sat, 04 Nov 2006 16:07:51 -0500<BR>From: Alex Burger
<alex_b@users.sourceforge.net><BR>Subject: Re: [Nagios-users] Advanced
permissions/user properties<BR>To: Ton Voon
<ton.voon@altinity.com>,<BR>nagios-users@lists.sourceforge.net,
klausman@schwarzvogel.de<BR>Message-ID:
<454D0127.9040700@users.sourceforge.net><BR>Content-Type: text/plain;
charset="iso-8859-1"<BR><BR>Alex Burger wrote:<BR>> The more I think about
it, the more I think we are looking at this the <BR>> wrong way. With file
system or application permissions, we would assign <BR>> a group to a
folder/object, and then pick what rights the group would <BR>> have. Why
don't we do the same thing with Nagios?<BR>> <BR>> Leave the groups as
they are, but modify the host and service <BR>> contact_groups command? For
example:<BR>> <BR>> define host{<BR>> host_name localhost<BR>>
contact_groups netops:rw, helpdesk:r<BR>> }<BR>> <BR>> For backwards
compatibility, if no permissions are set, the defaults <BR>> would be rw so
the following would be the same:<BR>> <BR>> define host{<BR>> host_name
localhost<BR>> contact_groups netops, helpdesk:r<BR>> }<BR>> <BR>>
If a user was in both the netops and helpdesk group, the user should <BR>>
have rw access.<BR>> <BR>> This will take a bit more work to implement,
but I think it makes more <BR>> sense. What do you think?<BR>> <BR>>
Alex<BR><BR>Attached is a patch for 2.5 that implements what I described above.
It <BR>works on both hosts and services.<BR><BR>The following four lines are are
examples of read/write access for <BR>netops and helpdesk:<BR><BR>contact_groups
netops, helpdesk<BR>contact_groups netops, helpdesk:rw<BR>contact_groups
netops:rw, helpdesk<BR>contact_groups netops:rw, helpdesk:rw<BR><BR>The
following two lines are are examples of read/write access for netops <BR>and
read only (view only) for helpdesk:<BR><BR>contact_groups netops,
helpdesk:r<BR>contact_groups netops:rw,
helpdesk:r<BR><BR>Alex<BR><BR>-------------- next part --------------<BR>An
embedded and charset-unspecified text was scrubbed...<BR>Name:
patch-group-perms3<BR>Url: <A
href="http://sourceforge.net/mailarchive/forum.php?forum=nagios-users/attachments/20061104/060f5281/attachment.pl"
target=_blank>http://sourceforge.net/mailarchive/forum.php?forum=nagios-users/attachments/20061104/060f5281/attachment.pl</A>
<BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Sun, 05 Nov
2006 14:42:12 +0100<BR>From: Matteo Contri
<matteo.contri@tecem.it><BR>Subject: [Nagios-users] macro variable<BR>To:
nagios-users@lists.sourceforge.net<BR>Message-ID:
<454DEA34.9070007@tecem.it><BR>Content-Type: text/plain;
charset=ISO-8859-1<BR><BR>hi community,<BR>to create a quite flexible system
using nagiosgraph, rrd, and<BR>performance data of nagios i need a particular
variable that i cannot<BR>find in nagios macro list.<BR>i need the value of
"normal_check_interval" exported by the command of<BR>perfomance data. Does it
exist?<BR>if not, i'd really like to see this value in the future version of
nagios.<BR>It's a must for RRD because i need to change step and hearbeat value
in<BR>according to normal_check_interval.<BR>I found a solution, but my
programming skill is basic, and is quite ugly.<BR><BR>Sorry for my
english.<BR><BR>Matteo<BR><BR><BR><BR>------------------------------<BR><BR>-------------------------------------------------------------------------<BR>Using
Tomcat but need to do more? Need to support web services, security?<BR>Get stuff
done quickly with pre-integrated technology to make your job easier<BR>Download
IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<BR><A
href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642"
target=_blank>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</A><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>Nagios-users
mailing
list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR><BR><BR>End
of Nagios-users Digest, Vol 6, Issue
8<BR>******************************************</BODY></HTML>