/usr/share/puppet/modules.available/sbitio-monit/templates/system_test_resources.erb is in puppet-module-sbitio-monit 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ---
<% if @system_loadavg_1min %>
- type : 'loadavg(1min)'
operator : '>'
value : <%= @system_loadavg_1min %>
<% end %>
<% if @system_loadavg_5min %>
- type : 'loadavg(5min)'
operator : '>'
value : <%= @system_loadavg_5min %>
<% end %>
<% if @system_loadavg_15min %>
- type : 'loadavg(15min)'
operator : '>'
value : <%= @system_loadavg_15min %>
<% end %>
<% if @system_cpu_user %>
- type : 'cpu(user)'
operator : '>'
value : <%= @system_cpu_user %>
<% end %>
<% if @system_cpu_system %>
- type : 'cpu(system)'
operator : '>'
value : <%= @system_cpu_system %>
<% end %>
<% if @system_cpu_wait %>
- type : 'cpu(wait)'
operator : '>'
value : <%= @system_cpu_wait %>
<% end %>
<% if @system_memory %>
- type : 'memory'
operator : '>'
value : <%= @system_memory %>
<% end %>
<% if @system_swap %>
- type : 'swap'
operator : '>'
value : <%= @system_swap %>
<% end %>
|