当前位置:网站首页>Monit installation and use
Monit installation and use
2022-07-25 12:24:00 【Tota King Li】
centos Installation and use monit
monit The main command
- install monit
# yum install monit
- start-up monit
# monit -c /etc/monitrc
- stop it monit monitor
# monit quit
- Output monit Monitor the status of the service
monit status
To configure monit monitor keepalived
[[email protected] monit.d]# ll
Total usage 28
-rw-r--r-- 1 root root 173 3 month 4 17:15 httpd
-rw-r--r-- 1 root root 183 3 month 4 17:11 keepalived
-rw-r--r-- 1 root root 51 12 month 27 2017 logging
-rw-r--r-- 1 root root 177 3 month 4 17:27 mariadb
-rw-r--r-- 1 root root 246 3 month 5 09:37 nsnrtmlicd
-rw-r--r-- 1 root root 200 3 month 5 12:16 zabbix_agent
-rw-r--r-- 1 root root 201 3 month 5 09:58 zabbix_server
[[email protected] monit.d]# pwd
/etc/monit.d
# stay keepalived In the document
The configuration is as follows
check process keepalived with matching "/usr/sbin/keepalived -D"
start program = "/usr/bin/bash -c 'systemctl start keepalived'"
stop program = "/usr/bin/bash -c 'systemctl stop keepalived'"
边栏推荐
- From cloud native to intelligent, in-depth interpretation of the industry's first "best practice map of live video technology"
- 【Flutter -- 实例】案例一:基础组件 & 布局组件综合实例
- Those young people who left Netease
- 【4】 Layout view and layout toolbar usage
- Transformer variants (routing transformer, linformer, big bird)
- The first scratch crawler
- Location analysis of recording an online deadlock
- 3.2.1 what is machine learning?
- Eureka registration center opens password authentication - record
- selenium使用———安装、测试
猜你喜欢

Eureka registration center opens password authentication - record

利用wireshark对TCP抓包分析

Ups and downs of Apple's supply chain in the past decade: foreign head teachers and their Chinese students

通信总线协议一 :UART

Word中的空白页,怎么也删不掉?如何操作?

Fiddler抓包APP

Pytorch advanced training skills

Go garbage collector Guide

【Flutter -- 实例】案例一:基础组件 & 布局组件综合实例

微软Azure和易观分析联合发布《企业级云原生平台驱动数字化转型》报告
随机推荐
容错机制记录
【3】 DEM mountain shadow effect
mysql实现一张表数据插入另一张表
MySQL练习二
R语言可视化散点图、使用ggrepel包的geom_text_repel函数避免数据点之间的标签互相重叠(设置min.segment.length参数为Inf不添加标签线段)
Communication bus protocol I: UART
Zuul网关使用
基于Caffe ResNet-50网络实现图片分类(仅推理)的实验复现
The first scratch crawler
循环创建目录与子目录
Median (二分答案 + 二分查找)
R language ggpubr package ggarrange function combines multiple images and annotates_ Figure function adds annotation, annotation and annotation information for the combined image, adds image labels fo
【5】 Page and print settings
Resttemplate and ribbon are easy to use
R语言ggplot2可视化:可视化散点图并为散点图中的部分数据点添加文本标签、使用ggrepel包的geom_text_repel函数避免数据点之间的标签互相重叠(为数据点标签添加线段、指定线段的角度
【八】取色器的巧用
【二】栅格数据显示拉伸色带(以DEM数据为例)
通过Referer请求头实现防盗链
R语言使用ggpubr包的ggarrange函数将多幅图像组合起来、使用ggexport函数将可视化图像保存为jpeg格式(width参数指定宽度、height参数指定高度、res参数指定分辨率)
苹果供应链十年浮沉:洋班主任和它的中国学生们