mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #69] Feature Request: Email Task Results was Veeam Backup check #1980
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#1980
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dan578 on GitHub (Aug 25, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/69
Originally assigned to: @sadnub on GitHub.
Hi,
I'm looking to set the event checker to check for veeam status logs. However it saves them into Applications and Services Logs (Under Veeam Agent) rather than Windows logs is it possible to pull event ID's from this location?
I would be looking for event 190 which denotes a successful backup.
Thanks,
Daniel
@wh1te909 commented on GitHub (Aug 25, 2020):
yea not sure if it's possible with pywin32 cuz I know it uses the old eventviewer api which I don't think supports the applications and services logs but i'll look into it.
but this is where the script checks come in, you can just write your own bash or powershell script, upload it (Settings > Script Manager) and then choose it as a check. Maybe just copy and paste this and just modify it to your liking. Just make sure the script returns 0 if passing and any number but 0 for failing.
https://github.com/oneoffdallas/nagios_scripts/blob/master/check_veeam_eventlogs.ps1
@dan578 commented on GitHub (Aug 25, 2020):
@wh1te909 Great thanks for that managed to get it to work. Although its not working 100% as the check runs all the time could it be possible to set scheduled checks? e.g. run at 7am the check and email if it fails rather than running it every 2 mins? The problem now is if it fails but works on the retry the retry can take a while to put the success in so it triggers the probe even on 10.
@wh1te909 commented on GitHub (Aug 25, 2020):
you can change the interval for the check alerts, default is 120 seconds (right click agent > edit agent then set check interval) but it sounds like you should just add it as a Task instead of a Check. (Tab right next to Checks in the web interface).
Tasks can be set to run on a schedule or on check failure so maybe just add it as a task and have it run daily at 7am? I will need to enable email alerts for tasks though right now they are only available for checks.
@dan578 commented on GitHub (Aug 26, 2020):
I have checked the checks but that seems like changing that changes it for all checks rather than just the one?
Task would be good if it could email on fail. Or maybe if you could add the scheduler in task scheduler as an option to the checks so you can choose between every x mins or a set time.
Thanks
@dinger1986 commented on GitHub (Feb 21, 2021):
testing tasks are emailed now and then will confirm and close
@dinger1986 commented on GitHub (Feb 21, 2021):
this shows up in dashboard but doesn't send email alerts for the task @wh1te909 @sadnub can this be added so email alerts are sent?
@sadnub commented on GitHub (Feb 22, 2021):
@dinger1986 I'm still writing tests for the new alerting changes and pushed some fixes I found yesterday. I believe the email/text alerts were indeed broken for checks and tasks, but should be working now. Still writing tests though and hope to have those finished this week!