Sha256: 1058b1fb4d316844d248df36d364212f7333e27cc573928638834921e7d4e5e3
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
# # Example mon.cf file # # Author: Dario Minnucci <midget@debian.org> # Date: Mon, 07 Sep 2009 13:57:38 +0200 # # # Global options # alertdir = <%= [ File.join(mon_plugins_path, "alert.d"), "/usr/lib/mon/alert.d" ].uniq.join(":") %> mondir = <%= [ File.join(mon_plugins_path, "mon.d"), "/usr/lib/mon/mon.d" ].uniq.join(":") %> logdir = <%= mon_log_path %> historicfile = <%= fetch(:mon_historicfile, File.join(mon_log_path, "history.log")) %> maxprocs = <%= fetch(:mon_maxprocs, 20) %> histlength = <%= fetch(:mon_histlength, 100) %> randstart = <%= fetch(:mon_randstart, "60s") %> dtlogging = <%= fetch(:mon_dtlogging, "yes") %> dtlogfile = <%= fetch(:mon_dtlogfile, "dtlog") %> # # Define groups of hosts to monitor # hostgroup <%= mon_hostgroup_name %> <%= mon_hostgroup.join(' ') %> # # Define watches # watch <%= mon_hostgroup_name %><% fetch(:mon_services, {}).each { |service_name, service_defs| %> service <%= service_name %><% service_defs.each { |monitor_name, monitor_def| %><% if Array === monitor_def %><% monitor_def.each { |d| %> <%= monitor_name %> <%= d %><% } %><% else %> <%= monitor_name %> <%= monitor_def %><% end %><% } %><% } %> # vim:set ft=eruby :
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano-mon-0.0.4 | lib/capistrano-mon/templates/mon.cf.erb |
capistrano-mon-0.0.3 | lib/capistrano-mon/templates/mon.cf.erb |