我在 VirtualBox 内的 ubuntu 14.04.3 上有 icinga 2.3.11。我正在尝试监视“https”端口 443,例如“ https://mail.google.com ”here.Below 是我来自默认 host.conf 文件的片段
object Host "mailserver-01" {
import "generic-host"
address = "74.125.136.17" /* ip for mail.google.com */
vars.os = "Linux"
vars.http_vhosts["http"] = {
http_uri = "/"
}
vars.http_ssl = "1"
vars.http_warn_time = "5"
vars.http_critical_time = "10"
vars.notification["mail"] = {
groups = [ "icingaadmins" ]
}
}
Run Code Online (Sandbox Code Playgroud)
以下是来自默认 services.conf 文件的片段
apply Service "httpS" {
import "generic-service"
check_command = "http"
assign where host.name == "mailserver-01"
}
Run Code Online (Sandbox Code Playgroud)
虽然 icingaweb2 仪表板显示正常/绿色,但我不确定它是否正确
我有一个 ubuntu 14.04.1 LTS 服务器,它具有带有逻辑卷的 LVM(由硬件 RAID5 支持)和一个名为“dbstore-lv”和“dbstore-vg”的卷组,它们具有从同一个 sdb 磁盘创建的 sdb1 sdb2 sdb3。该系统为42核和约128G内存。虽然我没有看到htop
来自uptime
~43+的负载平均输出中的CPU 峰值以及 vmstat 显示恒定的 iowait 为 20-40,其中context switches
不断在 80,000-150000 左右,在高峰时段甚至更多,但 CPU 空闲时间也徘徊在附近70-85。下面是输出iostat -xp 1
在%util
恒定为100%
avg-cpu: %user %nice %system %iowait %steal %idle
8.91 0.00 1.31 10.98 0.00 78.80
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.00 264.00 0.00 58.00 0.00 1428.00 49.24 0.02 0.28 0.00 0.28 0.21 1.20
sda1 0.00 0.00 …
Run Code Online (Sandbox Code Playgroud) 我想知道 PTR 记录的格式是否会影响邮件服务器的声誉,例如:-
例子:-1
dig -X 162.254.148.198 (this ip belongs to mail.setopati.com)
;; ANSWER SECTION:
198.148.254.162.in-addr.arpa. 21577 IN PTR 162-254-148-198.static.hvvc.us.
Run Code Online (Sandbox Code Playgroud)
示例:-2(此假设示例)
dig -X 162.254.148.198
;; ANSWER SECTION:
198.148.254.162.in-addr.arpa. 21577 IN PTR 162-254-148-198.mail.setopati.com.
Run Code Online (Sandbox Code Playgroud)
这是一些 googlemail 反向记录,但答案与“mail.google.com” dig -x 216.58.220.37 不匹配
;; ANSWER SECTION:
37.220.58.216.in-addr.arpa. 21599 IN PTR maa03s18-in-f37.1e100.net.
37.220.58.216.in-addr.arpa. 21599 IN PTR maa03s18-in-f37.1e100.net.
37.220.58.216.in-addr.arpa. 21599 IN PTR maa03s18-in-f5.1e100.net.
Run Code Online (Sandbox Code Playgroud)