This file is indexed.

/usr/share/lsm/group_script is in lsm 1.0.4-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
#
# Copyright (C) 2012,2015 Tuomo Soini <tis@foobar.fi>
#
# License: GPLv2
#

#
# event handling script for use with lsm groups
#

STATE=${1}
NAME=${2}
CHECKIP=${3}
DEVICE=${4}
WARN_EMAIL=${5}
REPLIED=${6}
WAITING=${7}
TIMEOUT=${8}
REPLY_LATE=${9}
CONS_RCVD=${10}
CONS_WAIT=${11}
CONS_MISS=${12}
AVG_RTT=${13}
SRCIP=${14}
PREVSTATE=${15}
TIMESTAMP=${16}

if [ -z "${WARN_EMAIL}" ] ; then
    exit 0
fi

DATE=$(date --date=@${TIMESTAMP})

cat <<EOM | mail -s "LSM: ${NAME} ${STATE}" ${WARN_EMAIL}

Hi,

Your group ${NAME} has changed its state to ${STATE} at ${DATE}.

Following parameters were passed:
prevstate    = ${PREVSTATE}
newstate     = ${STATE}
name         = ${NAME}
warn_email   = ${WARN_EMAIL}

Packet statuses are not available for groups.

BR,
Your LSM installation

EOM

exit 0
#