You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our mmonit uses https, looking at the template http is hardcoded, you could create a toggle for http/https but all the mmonit vars are only used in this one place might I suggest just using a $mmonit_connect_string instead of trying to assemble it, it makes the template more flexible and less error prone.
also having an additional config variable stuffed in the template would prove useful
$mmonit_extra_config => ['check process apache with pidfile /usr/local/apache/logs/httpd.pid', ' start program = "/etc/init.d/httpd start"'],
<% mmonit_extra_config.each do |line| %>
<%= line %>
<% end %>
The text was updated successfully, but these errors were encountered:
I see still no updates since April. If you grant me permissions to push a branch to the repo and create a PR I could add the $mmonit_connect_string as I am in great need of it.
Or maybe add an extra parameter like $mmonit_address_https and another if statement in monitrc template.
Hi,
This repository is no longer maintained.
You can find a new compatible module with HTTPs for M/Monit here: https://forge.puppet.com/soli/monit
Regards,
Our mmonit uses https, looking at the template http is hardcoded, you could create a toggle for http/https but all the mmonit vars are only used in this one place might I suggest just using a $mmonit_connect_string instead of trying to assemble it, it makes the template more flexible and less error prone.
$mmonit_connect_string =>'https://foo:[email protected]:8083/collector',
set mmonit <%= @mmonit_connect_string %>
also having an additional config variable stuffed in the template would prove useful
$mmonit_extra_config => ['check process apache with pidfile /usr/local/apache/logs/httpd.pid', ' start program = "/etc/init.d/httpd start"'],
<% mmonit_extra_config.each do |line| %>
<%= line %>
<% end %>
The text was updated successfully, but these errors were encountered: