Arpwatch - Telegram notifications
-
I've configured a Telegram bot with pfSense to receive notifications. It's working. However, when I set up arpwatch there is no option to send ARP notifications to the Telegram bot.
Do you know how to actually use Telegram notifications? Thanks
-
@drumsergio Please create a feature request:
https://docs.netgate.com/pfsense/en/latest/development/feature-requests.html -
@viktor_g Done, thanks! https://redmine.pfsense.org/issues/11972
-
@drumsergio said in Arpwatch - Telegram notifications:
https://redmine.pfsense.org/issues/11972
There should be a new section on the Arpwatch service page to select whether to send notifications via e-mail or Telegram.
The destination of notifications is set up here : System > Advanced > Notifications
Notification can be mailed and/or telegrammed and/or Pushovered (whatever that might be).Btw : You can 'have it' right now :
Edit :
/usr/local/arpwatch/sendmail_proxy.phpClose to the last line :
Replace :send_smtp_message($message, "{$config['system']['hostname']}.{$config['system']['domain']} - Arpwatch Notification : {$subject[1]}");
For :
$message = $config['system']['hostname']}.{$config['system']['domain']." - Arpwatch Notification : ".$subject[1]." - "; /* or something else - I didn't test with Telegram */ notify_via_telegram($message) ;