当前位置:网站首页>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'"
边栏推荐
- How to access DMS database remotely? What is the IP address? What is the user name?
- Atomic 原子类
- Unexpected rollback exception analysis and transaction propagation strategy for nested transactions
- Implement anti-theft chain through referer request header
- 【5】 Page and print settings
- 【AI4Code】《CodeBERT: A Pre-Trained Model for Programming and Natural Languages》 EMNLP 2020
- Brpc source code analysis (IV) -- bthread mechanism
- 3.2.1 what is machine learning?
- scrapy 爬虫框架简介
- Resttemplate and ribbon are easy to use
猜你喜欢
随机推荐
Musk's "eternal soul": half hype, half flicker
和特朗普吃了顿饭后写下了这篇文章
R language uses LM function to build multiple linear regression model, step function to build forward stepwise regression model to screen the best subset of prediction variables, and scope parameter t
3.2.1 what is machine learning?
919. 完全二叉树插入器 : 简单 BFS 运用题
MySQL练习二
RestTemplate与Ribbon简单使用
aaaaaaaaaaA heH heH nuN
协程
Pairwise comparison of whether the mean values between R language groups are the same: pairwise hypothesis test of the mean values of multiple grouped data is performed using pairwise.t.test function
GPT plus money (OpenAI CLIP,DALL-E)
The first scratch crawler
[dark horse morning post] eBay announced its shutdown after 23 years of operation; Wei Lai throws an olive branch to Volkswagen CEO; Huawei's talented youth once gave up their annual salary of 3.6 mil
WPF项目入门1-简单登录页面的设计和开发
【二】栅格数据显示拉伸色带(以DEM数据为例)
2.1.2 application of machine learning
【三】DEM山体阴影效果
Basic concepts of NLP 1
scrapy 爬虫框架简介
Sword finger offer 22. the penultimate node in the linked list








