|
|
|
@ -581,13 +581,13 @@ sudo git clone https://gitlab.com/hp3icc/FDMR-Monitor.git
|
|
|
|
cd FDMR-Monitor
|
|
|
|
cd FDMR-Monitor
|
|
|
|
sudo git checkout Self_Service
|
|
|
|
sudo git checkout Self_Service
|
|
|
|
sudo chmod +x install.sh
|
|
|
|
sudo chmod +x install.sh
|
|
|
|
chmod 777 /opt/FDMR-Monitor/data
|
|
|
|
chmod -R 777 /opt/FDMR-Monitor/*
|
|
|
|
|
|
|
|
chmod -R +x /opt/FDMR-Monitor/*
|
|
|
|
sudo chmod 644 /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg
|
|
|
|
########
|
|
|
|
####
|
|
|
|
sudo apt-get install rrdtool -y
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
|
|
|
|
####
|
|
|
|
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/cpu.sh
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/cpu.sh
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/graph.sh
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/graph.sh
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh
|
|
|
|
sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh
|
|
|
|
@ -595,11 +595,7 @@ sudo chmod +x /opt/FDMR-Monitor/sysinfo/rrd-db.sh
|
|
|
|
cd /opt/FDMR-Monitor/
|
|
|
|
cd /opt/FDMR-Monitor/
|
|
|
|
#sudo rm /opt/FDMR-Monitor/install.sh
|
|
|
|
#sudo rm /opt/FDMR-Monitor/install.sh
|
|
|
|
################
|
|
|
|
################
|
|
|
|
sudo apt-get install rrdtool -y
|
|
|
|
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/html/*.*
|
|
|
|
|
|
|
|
sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.*
|
|
|
|
|
|
|
|
# Install the required support programs
|
|
|
|
# Install the required support programs
|
|
|
|
|
|
|
|
|
|
|
|
#sudo pip install -U -r requirements.txt
|
|
|
|
#sudo pip install -U -r requirements.txt
|
|
|
|
cd /opt/FDMR-Monitor/
|
|
|
|
cd /opt/FDMR-Monitor/
|
|
|
|
cp /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
cp /opt/FDMR-Monitor/fdmr-mon_SAMPLE.cfg /opt/FDMR-Monitor/fdmr-mon.cfg
|
|
|
|
|