Giter Club home page Giter Club logo

Comments (5)

tigattack avatar tigattack commented on May 30, 2024

Has anything on your side changed recently? Veeam version, settings, etc.?

Unfortunately I no longer have access to a Teams subscription to test with.

I'd suggest enabling debug logging in the VeeamNotify config and see if there's any extra info (towards the end) as to why it can't send to Teams.

If there's no useful info, try opening https://webhook.site, note your temporary webhook URL (but leave the tab open!), replace the Teams hook with that one in the VeeamNotify config, trigger a job, and see what sort of data shows up in the webhook.site tab.

from veeamnotify.

SystemsTeam avatar SystemsTeam commented on May 30, 2024

Nothing has changed recently no, we have had it randomly succeed on occasion however most of the time it does not seem to want to send through the notification. We get the script has been run successfully on Veeam but then no notifications come through to us.

I have ran the job again using the Webhook provided and the data is as below

{
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"body": [
{
"type": "ColumnSet",
"columns": [
{
"width": "stretch",
"items": [
{
"wrap": true,
"spacing": "None",
"type": "TextBlock",
"text": "** Test Job (Incremental)**"
},
{
"isSubtle": true,
"wrap": true,
"spacing": "None",
"type": "TextBlock",
"text": "05 July 2023 15:07"
},
{
"facts": [
{
"value": "Success",
"title": "Session Result"
},
{
"value": "VM Backup",
"title": "Job Type"
}
],
"spacing": "Small",
"type": "FactSet"
}
],
"type": "Column"
},
{
"width": "auto",
"items": [
{
"height": "80px",
"url": "https://raw.githubusercontent.com/tigattack/VeeamDiscordNotifications/master/asset/thumb01.png",
"type": "Image"
}
],
"type": "Column"
}
]
},
{
"type": "ColumnSet",
"columns": [
{
"width": "stretch",
"items": [
{
"facts": [
{
"value": "30.59 GB",
"title": "Backup size"
},
{
"value": "11.15 GB",
"title": "Transferred data"
},
{
"value": "86",
"title": "Dedup ratio"
},
{
"value": "41",
"title": "Compress ratio"
},
{
"value": "91.49 MB/s",
"title": "Processing rate"
}
],
"type": "FactSet"
}
],
"type": "Column"
},
{
"width": "stretch",
"items": [
{
"facts": [
{
"value": "Source",
"title": "Bottleneck"
},
{
"value": "05 July 2023 14:45",
"title": "Start Time"
},
{
"value": "05 July 2023 15:06",
"title": "End Time"
},
{
"value": "21m 1s",
"title": "Duration"
}
],
"type": "FactSet"
}
],
"type": "Column"
}
]
},
{
"separator": true,
"columns": [
{
"width": "auto",
"items": [
{
"height": "20px",
"url": "https://avatars0.githubusercontent.com/u/10629864",
"type": "Image"
}
],
"type": "Column"
},
{
"width": "stretch",
"items": [
{
"isSubtle": true,
"wrap": true,
"type": "TextBlock",
"text": "tigattack\u0027s VeeamNotify v1.0 - Up to date."
}
],
"type": "Column"
}
],
"type": "ColumnSet"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4"
},
"contentUrl": null
}
],
"type": "message"
}

from veeamnotify.

tigattack avatar tigattack commented on May 30, 2024

Thanks @SystemsTeam. This looks fine to me, the schema appears to be valid and I don't see any glaring issues.

Could you please try taking this data and POSTing it to your Teams webhook URL manually? This will ensure that the schema is in fact valid and Teams is willing to accept it.

Please also set the logging level to debug in conf.json (here) and share the log of a job where the notification did not send, ensuring you remove any sensitive details before uploading.

Note: If sharing content such as logs, large JSON bodies, etc. directly in a comment (as opposed to a file upload), please ensure you wrap it in a Markdown code block to aid readability and avoid any formatting conflicts.

from veeamnotify.

Philenst avatar Philenst commented on May 30, 2024

I also tested this out of curiosity from my side and it seems to push the data without any issues.

image

Would be most viable in this case to see a debug log of a backup instance as Tig has advised.

from veeamnotify.

tigattack avatar tigattack commented on May 30, 2024

Closing due to inactivity.

Please feel free to update with the information detailed above if you're still experiencing issues.

from veeamnotify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.