install
来自「Network Administration Visualized 网络管理可」· 代码 · 共 51 行
TXT
51 行
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 + =
减小字号Ctrl + -
显示快捷键?