aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes13
1 files changed, 13 insertions, 0 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 7260c0b..e313388 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -360,6 +360,19 @@ sub generate_nagios_config {
print_nagios_service_check($remote, $hostname, "kernel status",
"check_kernel_status");
+ # Detect bad DNS servers
+ print_nagios_service_check($remote, $hostname, "/etc/resolv.conf",
+ "check_etc_resolv");
+
+ # Detect hosts entries not matching DNS entries
+ print_nagios_service_check($remote, $hostname, "/etc/hosts",
+ "check_etc_hosts");
+
+ # Detect a shutdown in progress
+ print_nagios_service_check($remote, $hostname, "shutdown status",
+ "check_shutdown");
+
+
# print_nagios_service_check($remote, $hostname, "dhcp",
# "check_dhcp")
# if is_pkg_installed($hostid, "dhcp3-server");