This file is indexed.

/usr/bin/rrdedit is in netmrg 0.20-7.

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
#!/bin/sh

# Given a .rrd filename, edit it with vi and restore the .rrd after 
# finished editing
#
# Written by Ian Berry, idea taken from Brady Alleman
# Re-modified for NetMRG

prefix="/usr"
localstatedir="/var"
rrdtool="/usr/bin/rrdtool"
editor="vi"
RRD_DIR="$localstatedir/lib/netmrg/rrd"

if [ ! -n "$1" ]
then
  echo "Usage rrdedit [RRD_FILENAME]"
  exit
fi

if [ ! -f "$RRD_DIR/$1" ]
then
  echo "Cannot locate file: '$RRD_DIR/$1'!"
  exit
fi

workdir="$(mktemp -d rrdedit.XXXXXXXXXX)"

# dump it to temp
$rrdtool dump $RRD_DIR/$1 > "$workdir/$1.xml"

# make a backup
cp $RRD_DIR/$1 "$workdir/$1.backup"

# edit the xml
$editor "$workdir/$1.xml"

rm -f $RRD_DIR/$1

# restore the rrd
$rrdtool restore "$workdir/$1.xml" $RRD_DIR/$1