摘要: 作者:SRE运维博客 博客地址: https://www.cnsre.cn/ 相关话题:https://www.cnsre.cn/tags/zabbix/ 大概思路 交换机日志 > 服务器 >服务器rsyslog设置指定存储路径文件 >随后就跟elk 监控本机日志一样了 huawei switch: 阅读全文
posted @ 2020-05-09 15:09 SRE运维博客 阅读(7929) 评论(2) 推荐(0) 编辑
摘要: Python 脚本内容 #!/bin/env python #coding:utf-8 import smtplib from email.mime.text import MIMEText from sys import argv mailto_list=[] mail_host="hwsmtp. 阅读全文
posted @ 2020-05-09 15:05 SRE运维博客 阅读(634) 评论(0) 推荐(1) 编辑
摘要: Tomcat配置相关说明 /usr/local/tomcat 主目录(安装目录) bin 存放windows或linux平台上启动或关闭的Tomcat的脚本文件 conf 存放Tomcat的各种全局配置文件,其中最主要的是server.xml和web.xml lib 存放Tomcat运行需要的库文件 阅读全文
posted @ 2020-05-09 14:56 SRE运维博客 阅读(802) 评论(0) 推荐(0) 编辑
摘要: telnet登录脚本 #!/usr/bin/env python #coding=utf-8 import telnetlib,sys,os,time def login_telnet(Host, username, password, finish, commands): #import teln 阅读全文
posted @ 2020-05-09 14:36 SRE运维博客 阅读(1723) 评论(0) 推荐(0) 编辑