diff options
author | Christian Hesse <mail@eworm.de> | 2018-11-27 14:08:14 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-11-28 21:19:39 +0100 |
commit | 6e4d7159378259a521e467504509de871381d078 (patch) | |
tree | 9fcf9938cbf64949f5022a268b9249e3b0cbba17 /collect-wireless-mac.capsman | |
parent | c4f8c1ad52cd629f39009848610d31b320bfda03 (diff) |
global-functions: add identity tag in $SendNotification
... and send subject in telegram message.
Diffstat (limited to 'collect-wireless-mac.capsman')
-rw-r--r-- | collect-wireless-mac.capsman | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index 2d7885f..46bf7fd 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -40,7 +40,7 @@ $datetime . " connected to SSID " . $ssid . ", interface " . $interface); / log info $message; / caps-man access-list add place-before=$"place-before" comment=$message mac-address=$mac disabled=yes; - $SendNotification ("[" . $identity . "] " . $mac . " connected to " . $ssid) \ + $SendNotification ($mac . " connected to " . $ssid) \ ("A device with unknown MAC address connected to " . $ssid . " on " . $identity . ".\n\n" . \ "Controller: " . $identity . "\n" . \ "Interface: " . $interface . "\n" . \ |