Hi Team,
I have configured the webhook for my endpoint (mattermost), we are receiving the alerts as per the JSON code, but the values are missing in the out put.
Below is my code for backup fail event.
~~~bash
{
"text": "Proxmox Backup Job Notification",
"attachments": [
{
"title": "Backup Job Failed",
"text": "Backup job for VM/CT '{{resource_name}} (ID: {{Job_ID}})' failed.",
"fields": [
{
"title": "Job Name",
"value": "{{Job_ID}}",
"short": true
},
{
"title": "Start Time",
"value": "{{start_time}}",
"short": true
},
{
"title": "Error Details",
"value": "{{error_message}}",
"short": false
}
],
"color": "#FF0000"
}
]
}
~~~
OutPut:
Can anyone help me how the values will be taken by proxmox VE.
I have configured the webhook for my endpoint (mattermost), we are receiving the alerts as per the JSON code, but the values are missing in the out put.
Below is my code for backup fail event.
~~~bash
{
"text": "Proxmox Backup Job Notification",
"attachments": [
{
"title": "Backup Job Failed",
"text": "Backup job for VM/CT '{{resource_name}} (ID: {{Job_ID}})' failed.",
"fields": [
{
"title": "Job Name",
"value": "{{Job_ID}}",
"short": true
},
{
"title": "Start Time",
"value": "{{start_time}}",
"short": true
},
{
"title": "Error Details",
"value": "{{error_message}}",
"short": false
}
],
"color": "#FF0000"
}
]
}
~~~
OutPut:
Can anyone help me how the values will be taken by proxmox VE.
Last edited: