Skip to content

Commit

Permalink
Make uniq command about process
Browse files Browse the repository at this point in the history
  • Loading branch information
claneys committed Aug 30, 2016
1 parent fdb0b8d commit e1f3f98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pack/commands.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ define command {
}

define command {
command_name check_process_max_memory_usage
command_line $PLUGINSDIR$/check_snmp_process.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITYREAD$ -n ".*" -m $_HOSTPROCESS_MAX_MEM_WARN$,$_HOSTPROCESS_MAX_MEM_CRIT$ -w-1 -c-1
command_name check_linux_process_max_memory_usage
command_line $PLUGINSDIR$/check_snmp_process.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITYREAD$ -n ".*" -m $_HOSTPROCESS_MAX_MEM_WARN$,$_HOSTPROCESS_MAX_MEM_CRIT$ -w-1 -c-1 -F
}

define command {
command_name check_process_usage
command_line $PLUGINSDIR$/check_snmp_process.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITYREAD$ -n ".*" -w$_HOSTNB_PROCESS_MIN_WARN$,$_HOSTNB_PROCESS_MAX_WARN$ -c$_HOSTNB_PROCESS_MIN_CRIT$,$_HOSTNB_PROCESS_MAX_CRIT$
command_name check_linux_process_usage
command_line $PLUGINSDIR$/check_snmp_process.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITYREAD$ -n ".*" -w$_HOSTNB_PROCESS_MIN_WARN$,$_HOSTNB_PROCESS_MAX_WARN$ -c$_HOSTNB_PROCESS_MIN_CRIT$,$_HOSTNB_PROCESS_MAX_CRIT$ -F
}
2 changes: 1 addition & 1 deletion pack/services/process-max-mem-usage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define service{
use 1hour_short,linux-service
register 0
host_name linux-snmp
check_command check_process_max_memory_usage
check_command check_linux_process_max_memory_usage

_DETAILLEDESC Checks max processus memory usage.
_IMPACT Critical: Lowered application performances. Can lead to host unavailibity.
Expand Down
2 changes: 1 addition & 1 deletion pack/services/process-usage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define service{
use 1hour_short,linux-service
register 0
host_name linux-snmp
check_command check_process_usage
check_command check_linux_process_usage

_DETAILLEDESC Checks processus number usage.
_IMPACT Critical: Lowered application performances. Can lead to host unavailibity.
Expand Down

0 comments on commit e1f3f98

Please sign in to comment.