From eade06a930c16f5cb08edd454d9e41364edf8103 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Mon, 20 Mar 2017 20:56:39 +0100 Subject: install_monitoring: added ffmyk-influx --- .../templates/ffmyk-influx/dhcp.php.j2 | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/install_monitoring/templates/ffmyk-influx/dhcp.php.j2 (limited to 'roles/install_monitoring/templates/ffmyk-influx/dhcp.php.j2') diff --git a/roles/install_monitoring/templates/ffmyk-influx/dhcp.php.j2 b/roles/install_monitoring/templates/ffmyk-influx/dhcp.php.j2 new file mode 100644 index 0000000..66371ef --- /dev/null +++ b/roles/install_monitoring/templates/ffmyk-influx/dhcp.php.j2 @@ -0,0 +1,23 @@ + $dend) $clients++; + } + + $data = 'clients,host={{ ansible_hostname }},type=backend value='.$clients; + sendflux($data); + +?> -- cgit v1.2.3-54-g00ecf