我尝试监控 MySQL 数据库:
[root@monitored.com ~]# su nagios -c /usr/lib/nagios/plugins/check_mysql Uptime: 18014 Threads: 1 Questions: 6 Slow queries: 0 Opens: 12 Flush tables: 1 Open tables: 6 Queries per second平均:0.000
但我遇到了意外错误:
[ec2-user@monitoring.com ~]$ /usr/lib/nagios/plugins/check_nrpe -H monitoring.com -c check_mysql NRPE:无法读取输出
怎么了?
哪个更适合连接两台Linux机器?
我有两台通过千兆以太网连接的服务器。一个是 iSCSI 目标,第二个是启动器。当我mkfs.ext4
在启动器上运行时,一段时间后磁盘 IO 在目标中严重减慢。在目标主机中,我可以在 syslog 中看到以下内容:
Sep 14 09:40:03 sh11 tgtd: abort_task_set(1139) found 119668c 0
Sep 14 09:40:03 sh11 tgtd: abort_cmd(1115) found 119668c 6
Sep 14 09:40:03 sh11 tgtd: abort_task_set(1139) found 119668d 0
Sep 14 09:40:03 sh11 tgtd: abort_cmd(1115) found 119668d 6
Sep 14 09:40:03 sh11 tgtd: abort_task_set(1139) found 119668e 0
Sep 14 09:40:03 sh11 tgtd: abort_cmd(1115) found 119668e 6
Sep 14 09:40:03 sh11 tgtd: abort_task_set(1139) found 1196696 0
Sep 14 09:40:03 sh11 tgtd: abort_cmd(1115) found 1196696 …
Run Code Online (Sandbox Code Playgroud)