Skip to content

Commit

Permalink
NEMS Tools now auto-detects NEMS Server on subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Nov 17, 2020
1 parent 3707084 commit d9ac663
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/1.6/nagios/conf/Default_collector/services.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ define service {

define service {
service_description Root Partition
check_command check_local_disk!20%!10%!/
check_command check_local_disk!20%!10%!/!GB
host_name NEMS
check_period 24x7
notification_period 24x7
Expand Down
2 changes: 1 addition & 1 deletion data/1.6/nagios/conf/global/checkcommands.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -u $ARG4$
}

define command {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ define service {
define service {
service_description HTTP
check_command check_http
hostgroup_name NEMS,linux-servers
hostgroup_name linux-servers,NEMS
servicegroups web-services
use local-service
}
Expand Down Expand Up @@ -101,7 +101,7 @@ define service {
service_description NEMS Current Load
notes Very high load average thresholds for SBC
check_command check_local_load
hostgroup_name linux-servers,NEMS
hostgroup_name NEMS,linux-servers
use local-service
}

Expand All @@ -115,7 +115,7 @@ define service {
define service {
service_description PING
check_command check_ping
hostgroup_name linux-servers,NEMS
hostgroup_name NEMS,linux-servers
use local-service
}

Expand All @@ -140,7 +140,7 @@ define service {
define service {
service_description SSH
check_command check_ssh
hostgroup_name linux-servers,NEMS
hostgroup_name NEMS,linux-servers
use local-service
}

Expand Down
2 changes: 1 addition & 1 deletion data/1.6/nconf/confdump/global/checkcommands.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ define command {

define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -u $ARG4$
}

define command {
Expand Down

0 comments on commit d9ac663

Please sign in to comment.