[Nagiosplug-help] check_snmp: SNMPv3 + authPriv: Best place to specify the password?

moshe sharon moshesharon at gmail.com
Tue Jan 17 06:24:53 CET 2006


Hi
the best way to keep the passwords secure is to set the right permissions
for resource.cfg files (example: chmod 700 and chown nagios)
in this file set $USERn$ as the password (you have from USER1 to USER32)
and then use the $USERn$ in your check commands

hope it helped
Moshe Sharon



On 1/8/06, Thomas Karcher <thkarcher at gmx.de> wrote:
>
> Hi,
>
> as I mentioned in my message before, I'm monitoring over the Internet
> and therefore I use SNMPv3 with authPriv.
>
> Everything works fine, nagios with check_snmp works well. But one thing
> is not very nice: With SNMPv3 with authPriv, there are passwords.
>
> What's the best place to specify the password in the nagios
> configuration?
>
> Because: If I don't want to have a common user and transport password
> for all monitored hosts, I have to specify for each host and for each
> service a check command that includes the password. The other
> possibility is to pass the password as a parameter from services.cfg -
> but both possibilities result in specifying a host depending password
> very often at different places ...
>
> (Am I asking this on the right list?)
>
>
> Thanks for your hints,
> best regards,
> Thomas
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060117/f0b115c1/attachment.html>


More information about the Users mailing list