--- /dev/null
+# Example configuration of apache.chart.py
+# YAML format
+
+local:
+ url: "http://localhost/server-status?auto"
--- /dev/null
+# Example configuration of apache_cache.chart.py
+# YAML format
+
+path: "/var/log/apache2/cache.log"
--- /dev/null
+# Example configuration of hddtemp.chart.py
+# YAML format
+
+update_every: 1
+host: 'localhost'
+port: 7634
+
--- /dev/null
+# Example configuration of nginx.chart.py
+# YAML format
+
+local:
+ url: "http://localhost/stub_status"
-#update_every: 3
+# Example configuration of phpfpm.chart.py
+# YAML format
local:
url: "http://localhost/status"
-# Example configuration of mysql.chart.py
+# Example configuration of hddtemp.chart.py
# YAML format
update_every: 1
except (KeyError, TypeError):
self.error("No port specified. Using: '" + str(self.port) + "'")
try:
- self.port = int(self.configuration['request'])
+ self.request = int(self.configuration['request'])
except (KeyError, TypeError):
self.error("No request specified. Using: '" + str(self.request) + "'")
self.request = self.request.encode()
NetSocketService.__init__(self, configuration=configuration, name=name)
self.request = ""
self.host = "localhost"
- self.port = (3128, 8080)
+ self.port = 3128
self.order = ORDER
self.definitions = CHARTS