Browse Source

updated alert msg

pull/1073/head
Daniel Gibbs 9 years ago
parent
commit
2da3487aa5
  1. 4
      lgsm/functions/alert.sh

4
lgsm/functions/alert.sh

@ -21,13 +21,13 @@ fn_alert_restart(){
fn_alert_restart_query(){ fn_alert_restart_query(){
fn_scriptlog "Sending restart alert: ${gsquerycmd}" fn_scriptlog "Sending restart alert: ${gsquerycmd}"
alertsubject="LGSM - Restarted - ${servername}" alertsubject="LGSM - Restarted - ${servername}"
alertbody="Failed to Query: ${gsquerycmd}" alertbody="gsquery.py failed to query: ${gsquerycmd}"
} }
fn_alert_update(){ fn_alert_update(){
fn_scriptlog "Sending update alert" fn_scriptlog "Sending update alert"
alertsubject="LGSM - Updated - ${servername}" alertsubject="LGSM - Updated - ${servername}"
alertbody="${servicename} Recieved update" alertbody="${servicename} recieved update"
} }
if [ "${alert}" == "restart" ]; then if [ "${alert}" == "restart" ]; then

Loading…
Cancel
Save