You are here

Failure notification

59 posts / 0 new
Last post
dikodahan
Offline
Donator
Joined: 3 years
Last seen: 2 months

Hey @WGMaker,

Take a quick look at the attached images over the past few messages. I provided some sample images of notifications being sent. Indeed I provided support for multiple notification platforms to fit as many people as possible.
I did realize that when you have an issue, having a simple way to figure out what the issue is after receiving the notification is a very welcome addition, hence the additional extended web interface for investigation purposes. And with the notification, I also check and update both the app version, site.ini revision numbers and channels list comparison.

Again, the idea is: multiple simple notification platforms, and then when an issue arrises, a simple way to identify root cause. And while I was at it, I also added additional capabilities to simplify the post EPG generation processes, like gzip the file and upload to GitHub. Might as well have it automate the entire post process :)

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 14 hours
Is the support helpful?
support us

Super .. is that constructed as a postprocess plugin ?

dikodahan
Offline
Donator
Joined: 3 years
Last seen: 2 months

My initial attempt was to try to construct it as a post process plugin, but I could not get it to work.
So, it is a very simple batch script that you set in Task Scheduler to kick off your WG++ EPG generation. The batch file calls several Python code files, based on required functionality. So, it is a Handler utility that also calls WG++ for the EPG generation.

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 14 hours
Is the support helpful?
support us

I would be a plus if it can run as plugin, but for that it needs to be an exe, dll or bat file
The setting of the required functionality must be provided as arguments. But you probably figured that out ..
If you want to try that again .. I can help. Let me know.
( 5.1.1 beta and later has improved handling of it)

edit .. the logo error warnig is a bug .. not anymore in the latest version

After installing one of the later full versions (5.1 or 3.3) , a subfoler in the wg++ homefolder 'postprocess_plugins' is created, in there all the plugins that were published in GIT.
Version 5.1 will automatically locate any of the plugins in it without a full path. It also handles executables made in dotnet that can be run in Linux using the .dll ..for windows and linux :
dotnet pluginname.dll args ...
Or as exe in windows
pluginname.exe args ...

If you still have the exe, let me do some test ..

jhr1948
Offline
Donator
Joined: 6 years
Last seen: 3 days

I know this was over a year ago, any word on this being added as a plugin?

begunfx
Offline
Donator
Joined: 1 year
Last seen: 1 year
Blackbear199 wrote:

he has notifications working already.
- Sending out summary notifications are supported with: email, Telegram, Discord, Slack and WhatsApp.

Hi All. Fairly new to WebGrabPlus. I saw this thread and am very interested in setting up some sort of notification so I can get the status on a WebGrabPlus report/update/status - success or failure notification.

From what I've seen in the last few responses, there is some sort of working notification, but I can't seem to find it anywhere. Can someone please share where I might find it and info on how to implement it?

Thanks!

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 13 years
Last seen: 14 hours
Is the support helpful?
support us

This seems to be a returning wish of users. So, I challenge any one with some programming experience to write a program that more or less does the following:
1. Collect data about the just finished run e.g. at least size of the created xmltv file + anything you think is useful for the following
2. Open a file that contains the data of the previous run and compare it with 1 . Set a few criteria that raises an alarm , ep the size differs by x% and any other criterium you can think of. Save these in a setup file, see 5.
3. If alarm status , send an email to yourself (the WG++ registered email)
4. Overwrite the data of the previous run with that collected in 1.
5. It would be handy if that file also contains setup data like email address and alarm criterea that won't be overwritten by 4

If such a program is made suitable to run as postprocess plugin, I can help to get it like that.

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 42 min

At post #10 Blackbear posted some files, you may want to give a try, at least to get some feature.

Pages

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl