diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-06-05 09:51:55 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-06-05 09:51:55 -0500 |
commit | 85e12563d2092018f83b456f5926f2b28f9742c7 (patch) | |
tree | ed4ee62525a83b6b0eeae28ee7078fce24c23781 /packages/base/src/files/bin/monitor.sh | |
parent | 68536f36971c101150ec35d44bd445355ffd0384 (diff) |
[POLICY-8] cleaned up unused code
Change-Id: Ifebf67db574e1c4eadf9d50ca0f178ab7ddba033
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'packages/base/src/files/bin/monitor.sh')
-rw-r--r-- | packages/base/src/files/bin/monitor.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/base/src/files/bin/monitor.sh b/packages/base/src/files/bin/monitor.sh index f4fad486..1137628a 100644 --- a/packages/base/src/files/bin/monitor.sh +++ b/packages/base/src/files/bin/monitor.sh @@ -64,7 +64,6 @@ function on() { fi CONTROLLER=$1 - NAGIOS_COMPONENT_SERVICE="Check_${CONTROLLER}-AliveStatus_AP_24094" ${POLICY_HOME}/bin/${CONTROLLER} status if [[ $? != 0 ]]; then @@ -84,7 +83,6 @@ function off() { fi CONTROLLER=$1 - NAGIOS_COMPONENT_SERVICE="Check_${CONTROLLER}-AliveStatus_AP_24094" ${POLICY_HOME}/bin/${CONTROLLER} status if [[ $? != 0 ]]; then @@ -137,10 +135,6 @@ fi . ${POLICY_HOME}/etc/profile.d/env.sh -if [[ ${NAGIOS_NRDP_DISABLED} == true ]]; then - log "Nagios NRDS is disabled." -fi - if flock ${cfg} ; then process_config fi {cfg}>>${POLICY_HOME}/etc/monitor/monitor.cfg.lock |