Skip to content

Commit

Permalink
Quote MySQL monitoring user password
Browse files Browse the repository at this point in the history
  • Loading branch information
bcobb committed Apr 11, 2014
1 parent baf54c3 commit f60ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/nrpe.cfg.erb
Expand Up @@ -21,7 +21,7 @@ command[check_smtp]=<%= node['nagios']['plugin_dir'] %>/check_smtp -H <%= node['
command[check_nginx]=<%= node['nagios']['plugin_dir'] %>/check_procs -w 2:3 -c 1:5 -C nginx
command[check_sphinx]=<%= node['nagios']['plugin_dir'] %>/check_procs -c 1:1 -C searchd
<% unless node[:mysql].nil? -%>
command[check_mysql_server]=<%= node['nagios']['plugin_dir'] %>/check_mysql -H localhost -u monitoring -p <%= node['mysql']['server_monitoring_password'] %>
command[check_mysql_server]=<%= node['nagios']['plugin_dir'] %>/check_mysql -H localhost -u monitoring -p "<%= node['mysql']['server_monitoring_password'] %>"
<% end -%>
#command[check_unicorn]=<%= node['nagios']['plugin_dir'] %>/check_procs -c 4:8 -C unicorn_rails
#
Expand Down

0 comments on commit f60ebe7

Please sign in to comment.