Changeset 9ec1a22 for npl


Ignore:
Timestamp:
09/26/17 13:30:13 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
2758a4b
Parents:
2e1206e
Message:

fixes

Location:
npl/syn3/syn3-scripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • npl/syn3/syn3-scripts/scripts/syn3-heartbeatcheck

    r2e1206e r9ec1a22  
    77#We want to use drbd with heartbeat at all?
    88if [ "$DRBD" == "1" ] && [ "$CLUSTER_ID" ]; then
    9 
     9        #we want to receive/send heartbeats:
     10        ifconfig $ETH up
     11       
    1012        if HEARTBEATS="`syndog $CLUSTER_ID --cat`"; then
    1113
  • npl/syn3/syn3-scripts/scripts/syn3-state

    r2e1206e r9ec1a22  
    6363        retries=3;
    6464        if ! env MIBS="+SYN3-MIB" /usr/bin/snmptrap -v 2c -Ci -r $retries -c $snmptrap_community $snmptrap_receiver "" syn3FacilityTrap syn3FacilityName s "$TRAP_FACILITY" syn3FacilityStatus s "$TRAP_STATE" syn3FacilityDescription s "$TRAP_MSG" syn3FacilityAck s "$TRAP_ACK" &>/dev/null; then
    65                 exit 3;
     65                echo "Error while sending snmptrap"
    6666        fi
    6767        return 0;
Note: See TracChangeset for help on using the changeset viewer.