📄 install
字号:
INSTALL OF THRESHOLDMONITOR ON NAV-V3=====================================Contact: John Magne Bredal <bredal@itea.ntnu.no>Version: ALFADOWNLOAD========The files needed for this subsystem should all be included in theNAV-v3 packageThe system currently consists of two python-scripts:- thresholdMon.py -> the main program that monitors the rrd-files and sends alerts.- fillthresholds.py -> a program that initially goes through the database and sets the correct values on the rrd-files we are going to monitorA user-interface for setting thresholds is to be made. Because of theunfinished state of this, it is not included in the ALFA-version ofNAV-v3. DEPENDENCIES============The scripts in this subsystem are dependent only on modules thatshould already be installed in NAV-v3The user of the script should have the PYTHONPATH variable set correctly.LOCATION OF INSTALL===================Both the files are to be placed in the ${NAV_PREFIX}/bin directory.RUNNING THE SCRIPTS===================fillthresholds.py is only supposed to be run at the install ofNAV-v3. This script sets the inital thresholds that are used by thethresholdMon.py script. If run more than once it will ignore all setthresholds, so there is no danger involved in that.thresholdMon.py is supposed to be run as a cron-job every 5'thminute. This will automatically happen if you do the "nav startthresholdmon" command as root.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -