in resource.cfg i'm storing the password for mysql nagios user. How can I encrypt the password in resource.cfg ?
A:
You can't, that is why your resource.cfg file should have permissions settings that make it unreadable by anyone except by your nagios user.
Why are you storing the password in there? You shouldn't have to unless you're doing something unique.
gnucom
2010-09-19 19:59:50