Richard,<br> resource.cfg is on nagios server. I have implemented as Peter suggested with resource.cfg and it works fine for me. <br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 9:23 AM, White, Richard L <span dir="ltr"><<a href="mailto:rlwhite@illinois.edu">rlwhite@illinois.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I’m new so forgive a dumb question…</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Is the resource.cfg on the monitored
system or on the Nagios server?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If it is on the Nagios server, will the
information be sent in plain text to the monitored system?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Rich White<br>
Service Manager -- Illinois
Compass<br>
University of Illinois at Urbana-Champaign</span></font></p>
</div>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Peter Lecki
[mailto:<a href="mailto:plecki@eagency.com" target="_blank">plecki@eagency.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, March 06, 2009 11:19
AM<br>
<b><span style="font-weight: bold;">To:</span></b> shadih rahman;
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users]
encrypting or protecting nagios config files</span></font></p>
</div><div><div></div><div class="h5">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font color="blue" face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana; color: blue;">You can use the
resource.cfg file to store credentials, which is a secured file.
Credentials can then be passed as variables to service definitions such as
$PASSWORD1$ and it will pull the actual password string from the secured
resource file.</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<p><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Peter.</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p style="margin-bottom: 12pt;"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> shadih
rahman [mailto:<a href="mailto:shadhin71@gmail.com" target="_blank">shadhin71@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, March 06, 2009 8:55
AM<br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [Nagios-users] encrypting
or protecting nagios config files</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">All,<br>
in commands.cfg or in service definition file we have
to enter password community string and such. I was wondering if there is
any way to encrypt that or setup a system where those information relayed to
nagios process in the memory and there is no way to access them? Please
advise on this. Thanks<br clear="all">
<br>
-- <br>
Cordially,<br>
Shadhin Rahman<br>
-- ea926h </span></font></p>
</div></div></div>
</div>
<br>------------------------------------------------------------------------------<br>
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>
-Strategies to boost innovation and cut costs with open source participation<br>
-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>