summaryrefslogtreecommitdiffstats
path: root/config/temp_node1.cfg
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-11-14 09:41:41 +0530
committerSahina Bose <sabose@redhat.com>2014-11-17 21:37:05 -0800
commit1a9d3e25e46db64d66a6ac26b20f831608794da8 (patch)
treef887c29584b59c35c12f3c4c1780fc6608395a9d /config/temp_node1.cfg
parentaf2463b0c05d2618b1b83e82873bf0570dccf068 (diff)
Revert "packaging: install temp_node1.cfg only for the first time"
This reverts commit 11f96adbb1f8bff8cf7b385da10200a5627d980a. Bug-Url:https://bugzilla.redhat.com/1162446 Bug-Url:https://bugzilla.redhat.com/1162443 Change-Id: I831bb0c84721a0c3181a2d58421520a6fb788621 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/9122 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'config/temp_node1.cfg')
-rw-r--r--config/temp_node1.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/temp_node1.cfg b/config/temp_node1.cfg
new file mode 100644
index 0000000..e049885
--- /dev/null
+++ b/config/temp_node1.cfg
@@ -0,0 +1,20 @@
+#####################################################################
+# Configuration for dummy host temp_node1 with service check_ping #
+# This dummy host is added to avoid nagios from erroring out before #
+# auto-discovery script is run, This file will be renamed by auto- #
+# discovery script to remove this configuration. #
+#####################################################################
+
+define host{
+ use linux-server
+ host_name temp_node1
+ alias localhost
+ address 127.0.0.1
+}
+
+define service{
+ use local-service
+ host_name temp_node1
+ service_description PING
+ check_command check_ping!100.0,20%!500.0,60%
+}