-
Notifications
You must be signed in to change notification settings - Fork 8
Skip installation steps
If you already have an InfluxDB or Grafana installation running or set up via manual install, you might want to skip these steps in the install script. To do so, you can skip any installation step by modifying the .savefile.txt
file.
Please note that any changes are experimental, and skipping steps is untested. You are only able to skip whole sections, not individual commands. This is not required for any regular installation.
-
Execute the install script until the savepoint of the section to skip is reached.
## Safepoint: If needed, the installation can be exited for later restart ## Continue with InfluxDB installation and setup? (Yes/no) [Yes]
-
Instead of continuing, please abort the install script by typing
no
. -
Make sure your terminal is in the folder spectrum-protect-sppmon
-
Modify the savefile by using
echo "SAVEPOINT" > ./scripts/installScript/.savefile.txt
Replace the termSAVEPOINT
by one of the following savepoints:-
PYTHON_SETUP
- Python3 installation and package requirements -
INFLUX_SETUP
- InfluxDB installation and setup -
GRAFANA_SETUP
Grafana installation -
CONFIG_FILE
- Creation of a monitoring file for each SPP server -
CRONTAB
- Crontab configuration for automatic execution.
-
-
Start the install script again and confirm to continue from the last save point.
In case you do not have a firewall set up, you comment out the associated lines to stop the script from failing due to a missing firewall.
There are a total of 4 lines within two sets you have to comment out. Do so by prepending a #
sign to the line of code.
File: spectrum-protect-sppmon/scripts/installScript/grafanaSetup.sh Line 39-40:
checkReturn sudo firewall-cmd --add-port=3000/tcp --permanent
checkReturn sudo firewall-cmd --reload
and
File: spectrum-protect-sppmon/scripts/installScript/influxSetup.sh Line 190-191:
checkReturn sudo firewall-cmd --add-port=${influxPort}/tcp --permanent
checkReturn sudo firewall-cmd --reload
To continue the install process after failing due to the firewall, just execute the install script again. When prompted, continue from the last save point.
- Home
- Frequently asked Questions
- Overview of users
- Contact us
- Share Snapshots of Grafana
- SPPMon Command line arguments
- SPPCheck Command line arguments
- SPPCheck Export PDF Report
- Install Overview
- System Requirements
- Getting SPPMon Source Code
- Create dedicated user accounts in SPP server, vSnap, and VADP
- Create grafana users
- Import Grafana Dashboards