Telegram Notifications

Started by alexkgr, November 04, 2023, 07:32:49 AM

Previous topic - Next topic
Quote from: Fright on December 20, 2023, 07:52:53 AM
for example, if you use example 3 from docs
https://docs.opnsense.org/manual/monit.html#example-3
it will look like in the picture attached

so we have to change all service tests settings?

only those that are used (in Service Settings) and notifications for which should be received in Telegram

i am trying to trigger an alert but it is not successful.

triggered alerts should be visible in monit log

i have an error at monit logs.


did you changed message template?
is the test message sent successfully?

Quote from: Fright on December 20, 2023, 08:42:32 AM
did you changed message template?
is the test message sent successfully?

haven't changed anything.
i am trying to trigger an alert with the opn-arp pkg

i am typing this at a console

" echo "<29>1 2022-08-29T20:16:44+03:00 router.home root 59285 - [meta sequenceId=1] New IPv4/MAC pair seen: (10.1.3.22)3a:d1:ee:bc:79:2f" >> /var/log/system/latest.log"

to have triggered an alert

got it, thanks. html tags should be encoded in MONIT_DESCRIPTION text then. will make a patch today

Quote from: Fright on December 20, 2023, 08:59:45 AM
got it, thanks. html tags should be encoded in MONIT_DESCRIPTION text then. will make a patch today

thanks!


pkg delete os-monit2t
pkg add https://github.com/kulikov-a/opn-monit2t/raw/main/work/pkg/os-monit2t-1.0.pkg

Quote from: Fright on December 20, 2023, 09:45:18 AM

pkg delete os-monit2t
pkg add https://github.com/kulikov-a/opn-monit2t/raw/main/work/pkg/os-monit2t-1.0.pkg



ok it is fixed!
thanks

thanks! please, test it.
maybe I missed something else or something can be added  ;)

Any progress in the development? Just wondering!  :)

Quote from: halasizs on January 04, 2024, 07:41:31 PM
Any progress in the development? Just wondering!  :)
It is working

Sent from my SM-S916B using Tapatalk


Will it be included in the plugins?