每次测试失败时,如何阻止monit运行exec语句?“我的监测”中的说明是:
check filesystem tmpfs with path /var
if space > 90% then exec "/usr/bin/logger -p daemon.crit 'MAJOR: space test'"
这似乎很奇怪,因为其他人问了一个问题,他在做一个警告,它有我想要的行为。我已经准备好开始扼杀linux盒了。
编辑:这里是相反的情况,重复monit警报
是因
无论我尝试做什么,无论是安装新软件,还是尝试sudo apt-获得升级。
有时我总是出错:(当我尝试sudo apt升级时)
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-generic-hwe
我是扎比克斯监测公司的新手。我有两个操作系统来监视windows和Linux,我已经完成了对windows服务的监视,但是我在google上没有任何结果来监视linux服务器服务。
我想监视服务状态,它的CPU和RAM的利用率。我做了一些研究,我发现了一些东西,但这是行不通的
net.tcp.service['redis-server'] // its not working
net.tcp.listen[6379] // its return the status for service but dont want to use
我希望像在windows中一样,根据服务名
我只使用redis和RDB选项。它使用2GB的内存。当它分叉时,它用了大约10秒来完全保存文件。当我查看redis.io站点时,我发现了这个延迟状态:
- Linux beefy VM on VMware 6.0GB RSS forked in 77 milliseconds (12.8 milliseconds per GB).
- Linux running on physical machine (Unknown HW) 6.1GB RSS forked in 80 milliseconds (13.1 milliseconds per GB)
- Linux running on ph