summaryrefslogtreecommitdiff
path: root/py_tools/tsg_diagnose_background.py
blob: c391ae88a2dae1188be10e38729f5e8799e3074d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# coding: utf-8
#与提供给用户执行的tsg_diagnose命令区别是:
#此文件后台周期性自动运行
#tsg_diagnose 最低级别是warning, 
import sys
import time
import json
import logging
import syslog
from common_telegraf import *
from common_logger import *
from common_args import *
from common_logger import *
from common_influxdb import *


if __name__ == '__main__':
    tsg_common_diagnose(syslog.LOG_WARNING)