<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
I have this ldap configuration. You have to enable the authnz_ldap
and perhaps the ldap module of apache with a2enmod also.<br>
<br>
I wouldn't call this SSO since that would be using your windows
workstation or linux workstation credentials but you will only
need to login one time for all naemon/pnp4nagios pages as you
already have experienced.<br>
<br>
I am going on holiday for a week so if you have any follow up
questions it will take a while before I reply. :)<br>
<br>
<Location /thruk><br>
Options ExecCGI<br>
AuthName "Nagios Access"<br>
AuthType Basic<br>
AuthBasicProvider ldap<br>
<br>
AuthLDAPURL "<a class="moz-txt-link-freetext" href="ldap://">ldap://</a><IPOFDC1>
<IPOFDC2>/DC=<XXXX>,DC=local?sAMAccountName?sub"<br>
AuthLDAPGroupAttribute member<br>
AuthLDAPGroupAttributeIsDN on<br>
AuthLDAPBindDN <ad-account>@<domain><br>
AuthLDAPBindPassword <PASSWORD><br>
#AuthLDAPSubGroupDepth 3<br>
require ldap-group
CN=Grp.Users.Nagios,OU=_Groups,DC=XXXX,DC=local<br>
#require valid-user<br>
<br>
</Location><br>
<br>
Regards<br>
Magnus<br>
<br>
On 2015-06-16 10:04, Aurélien CLAVIER wrote:<br>
</div>
<blockquote
cite="mid:3197366E4655D243A7166D2242F4A8D56E8BEBB7@SRV-EXCH-2010.p44.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">Bonjour,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">Thank you
Magnus ;) I solved my problem !!!!!! I’m also interested
in to know how you enabled Active Directory auth and basic
auth in same time, can you explain me how to ?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">Under, this
is the solution to enable SSO with basic auth on Naemon
1.0.3 (on httpd server) :<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">In fact,
when you installed Naemon, Thruk make an Apache
configuration’s file which is thruk_cookie_auth_vhost.conf
with these settings :<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid
windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># SAMPLE
CONFIG SNIPPETS FOR APACHE WEB SERVER<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
thruk_cookie_auth_vhost.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">RewriteEngine
On<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><IfModule
!mod_authz_core.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteLock
"/var/cache/naemon/thruk/apache_rewrite.lock"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><VirtualHost
*:80><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # extend
default virtual host. put/include these rewrite rules in
https or<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # any
other virtual host if you want to enable cookie
authentication<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Include
/usr/share/naemon/thruk_cookie_auth.include<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></VirtualHost><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span
style="color:#2E74B5;mso-fareast-language:FR">When I
renamed this file with
thruk_cookie_auth_vhost.conf.OLD and then restart my
HTTPD server, I have been prompted only ONE TIME for
all components (Naemon, Thruk, Nagvis and PNP4Nagios).
So this solved my problem.<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">For more
details, these are my apache configuration files :<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid
windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># SAMPLE
CONFIG SNIPPETS FOR APACHE WEB SERVER<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
thruk.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><IfModule
mod_fcgid.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AddHandler fcgid-script .sh<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
IPCCommTimeout 120<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Directory /usr/share/naemon><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AllowOverride All<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> order
allow,deny<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> allow
from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
required for apache 2.4<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<IfModule mod_authz_core.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Require all granted<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Directory><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Directory /etc/naemon/themes><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> allow
from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
required for apache 2.4<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<IfModule mod_authz_core.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Require all granted<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Directory><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Directory /etc/naemon/plugins><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> allow
from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
required for apache 2.4<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<IfModule mod_authz_core.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Require all granted<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Directory><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Alias
/naemon/documentation.html
/usr/share/naemon/root/thruk/documentation.html<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Alias
/naemon/startup.html
/usr/share/naemon/root/thruk/startup.html<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AliasMatch ^/naemon/(.*\.cgi|.*\.html)
/usr/share/naemon/fcgid_env.sh/naemon/$1<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AliasMatch ^/naemon/plugins/(.*?)/(.*)$
/etc/naemon/plugins/plugins-enabled/$1/root/$2<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Alias
/naemon/themes/ /etc/naemon/themes/themes-enabled/<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Alias
/naemon/ /usr/share/naemon/root/thruk/<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Location /naemon/><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options ExecCGI FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthName "Naemon Monitoring"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthType Basic<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthUserFile /etc/naemon/htpasswd<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Require
valid-user<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Location><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Location /naemon/cgi-bin/remote.cgi><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Order
Deny,Allow<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Allow
from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Satisfy any<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Location><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># use
compressed output if available<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><IfModule
mod_deflate.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<Location /naemon/><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AddOutputFilterByType DEFLATE text/html text/plain
text/xml text/css text/javascript application/javascript<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</Location><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></IfModule><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid
windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># SAMPLE
CONFIG SNIPPETS FOR APACHE WEB SERVER<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
nagvis.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># NagVis
Apache2 sample configuration file<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
#############################################################################<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">Alias
/nagvis "/etc/nagvis/share"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><Directory
"/etc/nagvis/share"><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Options
FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AllowOverride None<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Order
allow,deny<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> Allow
from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # To
enable Nagios basic auth on NagVis use the following
options<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # Just
uncomment it. Maybe you need to adjust the path to the<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # Auth
user file.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # If you
use the NagVis internal auth mechanism based on the web<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # for
you won't need this.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
AuthName "Naemon Access"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
AuthType Basic<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
AuthUserFile /etc/naemon/htpasswd<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># Require
valid-user<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options ExecCGI FollowSymLinks<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthName "Naemon Monitoring"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthType Basic<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthUserFile /etc/naemon/htpasswd<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Require valid-user<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # With
installed and enabled mod_rewrite there are several
redirections<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
available to fix deprecated and/or wrong urls. None of
those rules is<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
mandatory to get NagVis working.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<IfModule mod_rewrite.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteEngine On<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteBase /nagvis<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # Use
mod_rewrite for old url redirection even if there are
php files which<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
redirect the queries itselfs. In some cases the
mod_rewrite redirect<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # is
better than the php redirect.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
Using the php redirect seems to be better in some cases
where https/http servers<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> # are
mixed. For example in OMD setups where using apache own
mode and https in the<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
frontend and http in the backend apache servers.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
Disabling this redirect by default in the hope that the
php direct works better.<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
#RewriteCond %{REQUEST_URI}
^/nagvis(/config\.php|/index\.php|/|)(\?.*|)$<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
#RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/%1%2
[R=301,L]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
Redirect old regular map links<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{REQUEST_URI}
^/nagvis/frontend/(wui|nagvis-js)<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{QUERY_STRING} map=(.*)<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteRule ^(.*)$
/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1
[R=301,L]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
Without map= param<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{REQUEST_URI}
^/nagvis/frontend(/wui)?/?(index.php)?$<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php
[R=301,L]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"> #
Redirect old rotation calls<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{QUERY_STRING} !mod<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond %{QUERY_STRING} rotation=(.*)<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteRule ^(.*)$
/nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1
[R=301,L]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></Directory><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid
windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"># SAMPLE
CONFIG SNIPPETS FOR APACHE WEB SERVER<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#
pnp4nagios.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">Alias
/pnp4nagios "/usr/local/pnp4nagios/share"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"><Directory
"/usr/local/pnp4nagios/share"><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AllowOverride None<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Order allow,deny<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Allow from all<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Use the same value as defined in
nagios.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
#<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthName "Naemon Monitoring"<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthType Basic<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
AuthUserFile /etc/naemon/htpasswd<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Require valid-user<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
<IfModule mod_rewrite.c><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Turn on URL rewriting<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteEngine On<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
Options symLinksIfOwnerMatch<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Installation directory<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteBase /pnp4nagios/<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Protect application and system files from being viewed<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteRule "^(?:application|modules|system)/" - [F]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Allow any files or directories that exist to be
displayed directly<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond "%{REQUEST_FILENAME}" !-f<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteCond "%{REQUEST_FILENAME}" !-d<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
# Rewrite all other URLs to index.php/URL<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
RewriteRule "^.*$" "index.php/$0" [PT]<o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR">
</IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span
style="color:#2E74B5;mso-fareast-language:FR"></Directory><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#2E74B5;mso-fareast-language:FR">Cordialement,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="border-collapse:collapse"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr style="height:48.1pt">
<td style="width:8.0cm;border-top:solid #767171
1.0pt;border-left:none;border-bottom:solid #767171
1.0pt;border-right:none;padding:2.85pt 0cm 1.4pt
0cm;height:48.1pt" valign="top" width="302">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:#154C94;mso-fareast-language:FR">Aurélien
CLAVIER</span></b><span
style="font-size:10.0pt;color:#154C94;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#3B3838;mso-fareast-language:FR">Pôle
CSP<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;color:#3B3838;mso-fareast-language:FR">Direct :
</span></b><span
style="font-size:9.0pt;color:#3B3838;mso-fareast-language:FR">+33(0)2
40 89 89 35
<b>Mobile : </b>+33(0) 6 80 30 59 57<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#3B3838;mso-fareast-language:FR"><a
moz-do-not-send="true"
href="mailto:aurelien.clavier@pentasonic.net">aurelien.clavier@pentasonic.net</a>
</span><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:FR"> </span><span
style="font-size:9.0pt;color:#3B3838;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
<td style="width:21.3pt;border-top:solid #767171
1.0pt;border-left:none;border-bottom:solid #767171
1.0pt;border-right:none;padding:0cm 5.4pt 0cm
5.4pt;height:48.1pt" valign="top" width="28">
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:FR"><img
id="Image_x0020_4"
src="cid:part2.04030309.06040403@boden.cx"
alt="Description : Description : Description :
Description :
cid:image004.jpg@01CF9B55.53DAD710" height="53"
width="10" border="0"><o:p></o:p></span></p>
</td>
<td style="width:219.7pt;border-top:solid #767171
1.0pt;border-left:none;border-bottom:solid #767171
1.0pt;border-right:none;padding:2.85pt 0cm 0cm
0cm;height:48.1pt" valign="top" width="293">
<p class="MsoNormal" style="text-align:right"
align="right"><a moz-do-not-send="true"
href="http://www.pentasonic.net/"><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:FR;text-decoration:none"><img
id="Image_x0020_2"
src="cid:part3.00070003.00030805@boden.cx"
alt="Description : Description : Description :
Description :
cid:image005.png@01CF9B55.53DAD710"
height="24" width="91" border="0"></span></a><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR"> <b>Siège :
</b>10 rue du Petit Châtelier 44300 NANTES<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:right"
align="right"><b><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR">
Agence Paris :</span></b><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR">
Resadia, 35 rue victor Hugo 93500 PANTIN<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:right"
align="right"><b><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR">Standard :
</span></b><span
style="font-size:9.0pt;color:#262626;mso-fareast-language:FR">+33
(0)2 40 89 89 30
<b>Fax : </b>+33 (0)2 40 89 89 39</span><span
style="font-size:9.0pt;color:#404040;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:FR">De :</span></b><span
style="color:windowtext;mso-fareast-language:FR">
Naemon-users
[<a class="moz-txt-link-freetext" href="mailto:naemon-users-bounces+aurelien.clavier=pentasonic.net@monitoring-lists.org">mailto:naemon-users-bounces+aurelien.clavier=pentasonic.net@monitoring-lists.org</a>]<b>De
la part de</b> Magnus<br>
<b>Envoyé :</b> lundi 15 juin 2015 22:25<br>
<b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:naemon-users@monitoring-lists.org">naemon-users@monitoring-lists.org</a><br>
<b>Objet :</b> Re: [naemon-users] [NAEMON] :
Authentication on Naemon - Nagvis - Nagvis - Pnp4nagios<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello,<br>
<br>
If you have your users in a file (like this line in apache
config AuthUserFile /etc/nagios3/htpasswd.users) then just
make sure the config file for pnp44nagios and so on use the
same file.<br>
<br>
Personally I connect them to and active directory ldap tree
so then they are also the same.<br>
<br>
If you use the same AuthName in all the apache config files
you wont be prompted for each either.<br>
<br>
Regards<br>
Magnus<br>
<br>
On 2015-06-15 14:54, Aurélien CLAVIER wrote:<span
style="font-size:12.0pt;mso-fareast-language:FR"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Hi
all,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">I
installed Naemon since 2 weeks in a fesh Centos 7. I
installed Nagvis and PNP4nagios wich run like a charm.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">But
I have a problem with basic authentication of Naemon,
Thruk, PNP4nagios and Nagvis. In fact, I want to
PNP4nagios and Nagvis use same credentials that
Naemon/Thruk is using.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">How
to do this ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Thanks
in advance</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Aurélien</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>