Eolisation de la sonde prometheus Node Exporter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71_node_exporter.xml 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <creole>
  3. <files>
  4. <service servicelist='slNodeExporter'>prometheus-node-exporter</service>
  5. <service_access service='prometheus-node-expoter'>
  6. <port service_accesslist="saSndSys">9100</port>
  7. </service_access>
  8. <service_restriction service='prometheus-node-expoter'>
  9. <ip interface='auto' netmask='255.255.255.255' ip_type='SymLinkOption'>sndPrometheusServer</ip>
  10. </service_restriction>
  11. </files>
  12. <variables>
  13. <family name='services'>
  14. <variable name='activerSndNodeExpoter' type='oui/non' description="Activer la sonde de surveillance système">
  15. <value>oui</value>
  16. </variable>
  17. </family>
  18. <family name='sonde systeme'>
  19. <variable name='activer_prometheus' type='oui/non' exists='False' hidden='True'>
  20. <value>non</value>
  21. </variable>
  22. <variable name='sndPrometheusServer' type='ip' description="Adresse IP du serveur Prometheus"/>
  23. </family>
  24. </variables>
  25. <constraints>
  26. <condition name='disabled_if_in' source='activerSndNodeExpoter'>
  27. <param>non</param>
  28. <target type='family'>sonde systeme</target>
  29. <target type='servicelist'>slNodeExporter</target>
  30. <target type='service_accesslist'>saSndSys</target>
  31. </condition>
  32. <fill name='calc_multi_condition' target='sndPrometheusServer'>
  33. <param>oui</param>
  34. <param type='eole' name='condition_1'>activer_prometheus</param>
  35. <param name='match' type='eole'>adresse_ip_eth0</param>
  36. <param name='default_mismatch'>None</param>
  37. <param name='default_match'>None</param>
  38. </fill>
  39. </constraints>
  40. <help>
  41. </help>
  42. </creole>