Hi Gavin,
We get a lot of false alerts from Nagios. Could we not set the check_command from 5|10 to say 5|15? I suggest these numbers but I'm
sure you have a far better understanding on them so please advice if needed.
Thanks
Jacques
From: <[email protected]>
Author: gmcdonald
Date: Sat Mar 27 05:46:01 2010
New Revision: 774627
Log:
Add Ofbiz VM monitoring
Added:
infrastructure/trunk/nagios/etc/asf/vm-ofbiz.cfg
Modified:
infrastructure/trunk/nagios/etc/asf/sys-contact.cfg
Modified: infrastructure/trunk/nagios/etc/asf/sys-contact.cfg
==============================================================================
--- infrastructure/trunk/nagios/etc/asf/sys-contact.cfg (original)
+++ infrastructure/trunk/nagios/etc/asf/sys-contact.cfg Sat Mar 27 05:46:01 2010
@@ -411,6 +411,43 @@ define contact {
email [email protected]
}
+define contact {
+ contact_name hansbak
+ alias hansbak
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands service_alert_email
+ host_notification_commands host_alert_email
+ email [email protected]
+}
+
+define contact {
+ contact_name jleroux
+ alias jleroux
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands service_alert_email
+ host_notification_commands host_alert_email
+ email [email protected]
+}
+
+define contact {
+ contact_name ruppert
+ alias ruppert
+ service_notification_period 24x7
+ host_notification_period 24x7
+ service_notification_options w,u,c,r
+ host_notification_options d,u,r
+ service_notification_commands service_alert_email
+ host_notification_commands host_alert_email
+ email [email protected]
+}
+
+
# PMC-Specific Contacts
define contact {
@@ -530,3 +567,9 @@ define contactgroup {
alias Philip Gollucci's cell
members pgollucci_cell
}
+
+define contactgroup {
+ contactgroup_name ofbiz_admin_team
+ alias Ofbiz Admin Team
+ members gmcdonald,hansbak,jleroux,ruppert
+}
Added: infrastructure/trunk/nagios/etc/asf/vm-ofbiz.cfg
==============================================================================
--- infrastructure/trunk/nagios/etc/asf/vm-ofbiz.cfg (added)
+++ infrastructure/trunk/nagios/etc/asf/vm-ofbiz.cfg Sat Mar 27 05:46:01 2010
@@ -0,0 +1,68 @@
+
+# ofbiz-vm.apache.org
+define host {
+ use generic_host_checked
+ host_name ofbiz-vm.apache.org
+ alias Ofbiz VM
+ address 140.211.11.41
+ hostgroups vmware_guests
+ parents nyx.apache.org
+ contact_groups ofbiz_admin_team
+}
+
+define hostextinfo {
+ icon_image_alt VMware Guest (Linux)
+ icon_image vmware.png
+ host_name ofbiz-vm.apache.org
+}
+
+# SSH
+define service {
+ use generic_service_checked
+ service_description SSH
+ host_name ofbiz-vm.apache.org
+ check_command check_ssh
+ contact_groups ofbiz_admin_team
+}
+
+# HTTP - demo-trunk.ofbiz
+define service {
+ use generic_service_checked
+ service_description HTTP - Ofbiz Trunk
+ servicegroups sgroup_http
+ host_name demo-trunk.ofbiz.apache.org
+ check_command check_http!5!10
+ contact_groups ofbiz_admin_team
+}
+
+# HTTPS - demo-trunk.ofbiz
+define service {
+ use generic_service_checked
+ service_description HTTPS - Ofbiz Trunk
+ servicegroups sgroup_http
+ host_name demo-trunk.ofbiz.apache.org
+ check_command check_https!5!10
+ contact_groups asf_admin_team
+}
+
+# HTTP - demo-stable.ofbiz
+define service {
+ use generic_service_checked
+ service_description HTTP - Ofbiz Trunk
+ servicegroups sgroup_http
+ host_name demo-trunk.ofbiz.apache.org
+ check_command check_http!5!10
+ contact_groups ofbiz_admin_team
+}
+
+# HTTPS - demo-stable.ofbiz
+define service {
+ use generic_service_checked
+ service_description HTTPS - Ofbiz Stable
+ servicegroups sgroup_http
+ host_name demo-stable.ofbiz.apache.org
+ check_command check_https!5!10
+ contact_groups asf_admin_team
+}
+
+# need to add ofbiz-bigfiles.apache.org when working.