Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/nagios/templates/nrpe.cfg.erb

Issue 29825576: #12998 - Increase current load monitoring threshold (Closed)
Patch Set: Created July 9, 2018, 10:45 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 log_facility=daemon 1 log_facility=daemon
2 pid_file=/var/run/nagios/nrpe.pid 2 pid_file=/var/run/nagios/nrpe.pid
3 server_port=5666 3 server_port=5666
4 nrpe_user=nagios 4 nrpe_user=nagios
5 nrpe_group=nagios 5 nrpe_group=nagios
6 allowed_hosts=<%= @server_address %> 6 allowed_hosts=<%= @server_address %>
7 7
8 dont_blame_nrpe=0 8 dont_blame_nrpe=0
9 debug=0 9 debug=0
10 command_timeout=60 10 command_timeout=60
11 connection_timeout=300 11 connection_timeout=300
12 command[check_load]=/usr/lib/nagios/plugins/check_load -w <%= 12 command[check_load]=/usr/lib/nagios/plugins/check_load -w <%=
13 scope.function_hiera(['nagios::client::load_warning_threshold', [15,10,5]]). join(",") %> -c <%= 13 scope.function_hiera(['nagios::client::load_warning_threshold', [20,15,10]]) .join(",") %> -c <%=
14 scope.function_hiera(['nagios::client::load_critical_threshold', [30,25,20]] ).join(",") %> 14 scope.function_hiera(['nagios::client::load_critical_threshold', [30,25,20]] ).join(",") %>
15 command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 3 -c 1 15 command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 3 -c 1
16 command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w <%= 16 command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w <%=
17 scope.function_hiera(['nagios::client::total_procs_warning_threshold', 150]) .to_i %> -c <%= 17 scope.function_hiera(['nagios::client::total_procs_warning_threshold', 150]) .to_i %> -c <%=
18 scope.function_hiera(['nagios::client::total_procs_critical_threshold', 200] ).to_i %> 18 scope.function_hiera(['nagios::client::total_procs_critical_threshold', 200] ).to_i %>
19 command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z 19 command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
20 command[check_bandwidth]=/usr/lib/nagios/plugins/check_bandwidth <%= 20 command[check_bandwidth]=/usr/lib/nagios/plugins/check_bandwidth <%=
21 scope.function_hiera(['nagios::client::bandwidth_warning_threshold', 130000] ).to_i * 1000 %> <%= 21 scope.function_hiera(['nagios::client::bandwidth_warning_threshold', 130000] ).to_i * 1000 %> <%=
22 scope.function_hiera(['nagios::client::bandwidth_critical_threshold', 150000 ]).to_i * 1000 %> <%= 22 scope.function_hiera(['nagios::client::bandwidth_critical_threshold', 150000 ]).to_i * 1000 %> <%=
23 scope.function_hiera(['nagios::client::bandwidth_network_interface', 'eth0'] ).to_s %> 23 scope.function_hiera(['nagios::client::bandwidth_network_interface', 'eth0'] ).to_s %>
24 command[check_connections]=/usr/lib/nagios/plugins/check_connections 24 command[check_connections]=/usr/lib/nagios/plugins/check_connections
25 command[check_memory]=/usr/lib/nagios/plugins/check_memory 25 command[check_memory]=/usr/lib/nagios/plugins/check_memory
26 include=/etc/nagios/nrpe_local.cfg 26 include=/etc/nagios/nrpe_local.cfg
27 include_dir=/etc/nagios/nrpe.d/ 27 include_dir=/etc/nagios/nrpe.d/
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld