check_mysql - how to store passwords securely

Jake Solid richardsolid at gmail.com
Mon Jul 2 22:32:49 CEST 2007


I use the NRPE deamon my Nagios server to monitor a remote mysql database.

I have the following entry in the nrpe.cfg of my remote server that runs
mysql:

command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql  -d my_database
-u root -p mypassword

It connects properly BUT Is there a way that I can have the password stored
securely, NOT in a text file.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070702/ff437785/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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