会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
風£飛
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
18
下一页
2023年8月28日
Python查询Prometheus API
摘要: #!/bin/python # -*- coding: utf-8 -*- import pandas as pd import requests, time, re def getcolumn(status, x): if float(status) < 80: return "正常" # eli
阅读全文
posted @ 2023-08-28 17:25 風£飛
阅读(137)
评论(0)
推荐(0)
2023年8月23日
K8S pod挂载存储卷
摘要: 1、hostpath方式 # hostpath挂载方式 apiVersion: apps/v1 kind: Deployment metadata: labels: app: grafana name: grafana spec: selector: matchLabels: app: grafan
阅读全文
posted @ 2023-08-23 16:34 風£飛
阅读(106)
评论(0)
推荐(0)
2023年8月21日
K8S部署
摘要: 一、Kubeadm部署k8s单master集群1、配置hosts cat >> /etc/hosts << EOF 192.168.140.129 master 192.168.140.130 node1 192.168.140.131 node2 185.199.109.133 raw.githu
阅读全文
posted @ 2023-08-21 15:49 風£飛
阅读(324)
评论(0)
推荐(1)
2023年8月18日
Python optparse模块
摘要: #!/usr/bin/python3.8 # -*- coding:utf-8 -*- # __author__ = 'Qiushi Huang' import optparse # sys.argv的功能类似 # python ftp_client.py -h 192.168.22.33 -p 8
阅读全文
posted @ 2023-08-18 09:12 風£飛
阅读(19)
评论(0)
推荐(0)
2023年8月16日
使用grafana展示SQLite数据库表中的数据
摘要: 1、环境准备 yum -y install epel-release yum -y install sqlite sqlite-devel yum -y install python-pip pip install --upgrade setuptools yum list available py
阅读全文
posted @ 2023-08-16 13:02 風£飛
阅读(587)
评论(0)
推荐(0)
2023年7月19日
Loki部署
摘要: 一、安装grafana [root@loki ~]# yum install -y https://dl.grafana.com/enterprise/release/grafana-enterprise-10.0.0-1.x86_64.rpm二、安装loki[root@loki ~]# wget
阅读全文
posted @ 2023-07-19 14:03 風£飛
阅读(414)
评论(0)
推荐(0)
2023年6月14日
URL检测脚本
摘要: #!/usr/bin/python3.8 # -*- coding:UTF-8 -*- import os, sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from concurren
阅读全文
posted @ 2023-06-14 15:59 風£飛
阅读(45)
评论(0)
推荐(0)
2023年3月16日
Zabbix webhook配置
摘要: 5.x版本脚本 var Wechat = { token: null, to: null, message: null, parse_mode: null, sendMessage: function() { var params = { msgtype: "markdown", chat_id:
阅读全文
posted @ 2023-03-16 14:56 風£飛
阅读(160)
评论(0)
推荐(0)
2022年10月9日
Supervisor进程管理
摘要: 1、安装Pip 安装:pip install supervisoryum 安装:yum install supervisorapt 安装:apt-get install supervisor2、简单管理[root@localhost ~]# echo_supervisord_conf > /etc/
阅读全文
posted @ 2022-10-09 15:51 風£飛
阅读(29)
评论(0)
推荐(0)
2022年9月1日
配置全局路由表和VRF路由表之间的路由泄漏
摘要: 1、拓扑图 2、R1配置 R1#sho run Building configuration... Current configuration : 1360 bytes ! upgrade fpd auto version 12.4 service timestamps debug datetime
阅读全文
posted @ 2022-09-01 10:24 風£飛
阅读(1532)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
18
下一页
公告