Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - vrabac

#1
23.7 Legacy Series / Re: Telegram Notifications
January 09, 2024, 08:44:29 PM
Quote from: kozistan on January 07, 2024, 08:28:51 PM
Hi Fright, this is working for me. As i press apply on MONIT setting i get message regarding CPUUsage, but just once after apply. No other messages regarding CPUUsage are coming, even the load is more that 15%

I was able to configure like in example on link you provided and Notification are working as expected, great work indeed.
I am not sure if there is possibility somehow to setup monit to use Telegram and not SMTP, would save us work to setup everything to execute and your script, but I personal can live with that, I don't have that much Notifications.
#2
23.7 Legacy Series / Re: Telegram Notifications
January 05, 2024, 08:28:26 PM
@Fright
That would even be better, to use values from Form and not from config, as in initial setup there is no values in config, and I guess because of that there is that error then trying to test.

Do you know the way to trigger some test in CLI to see this in action. I changed all monit Services Test Settings  (11 by default) to Execute and that path, but would like to see this in real action :). I am also loking for some more monit Services Test.
#3
23.7 Legacy Series / Re: Telegram Notifications
January 05, 2024, 09:04:41 AM
I was looking for this, and seems it works, at least the Test is working. I am not sure how to trigger some alarms manually over cli.

One thing maybe to consider, when entering the Token and Chat ID and pressing Test, without saving settings firstly, will trow an error message, not sure is this by design or it should say please save first then do test messages.