services.cfg 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # ZooKeeper Node specific services
  15. define service {
  16. hostgroup_name zookeeper-servers
  17. use generic-service
  18. service_description ZK_Open_File_Descriptors_Count
  19. check_command check_zk_node!zk_open_file_descriptor_count!500!800
  20. }
  21. define service {
  22. hostgroup_name zookeeper-servers
  23. use generic-service
  24. service_description ZK_Ephemerals_Count
  25. check_command check_zk_node!zk_ephemerals_count!10000!100000
  26. }
  27. define service {
  28. hostgroup_name zookeeper-servers
  29. use generic-service
  30. service_description ZK_Avg_Latency
  31. check_command check_zk_node!zk_avg_latency!500!1000
  32. }
  33. define service {
  34. hostgroup_name zookeeper-servers
  35. use generic-service
  36. service_description ZK_Max_Latency
  37. check_command check_zk_node!zk_max_latency!1000!2000
  38. }
  39. define service {
  40. hostgroup_name zookeeper-servers
  41. use generic-service
  42. service_description ZK_Min_Latency
  43. check_command check_zk_node!zk_min_latency!500!1000
  44. }
  45. define service {
  46. hostgroup_name zookeeper-servers
  47. use generic-service
  48. service_description ZK_Outstanding_Requests
  49. check_command check_zk_node!zk_outstanding_requests!20!50
  50. }
  51. define service {
  52. hostgroup_name zookeeper-servers
  53. use generic-service
  54. service_description ZK_Watch_Count
  55. check_command check_zk_node!zk_watch_count!100!500
  56. }