Azure / azure-monitor-baseline-alerts

Azure Monitor Baseline Alerts
MIT License
171 stars 246 forks source link

VM Alerts deploy is failing #169

Closed grazianosommariva closed 8 months ago

grazianosommariva commented 8 months ago

Check for previous/existing GitHub issues

Description

Deploying VM Alerts is failing. For example: Deploy VM OS Disk Write Latency Alert Deploy Error: Status: Conflict[(Error details)] Details: [10:47] Graziano Sommariva "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "BadRequest", "message": "{\r\n \"error\": {\r\n \"code\": \"DraftClientException\",\r\n \"message\": \"The request had some invalid properties Activity ID: 3332f9c0-b4d4-464b-8ec4-44a670ba745b.\"\r\n }\r\n}" } ] }

Brunoga-MS commented 8 months ago

Hello @grazianosommariva, thanks for your feedback. We will investigate and let you know about this issue which we never seen before.

Thanks, Bruno.

Brunoga-MS commented 8 months ago

Hello @grazianosommariva , I went through some investigation, deployment and remediation and found NO issues. I used West Europe and North Europe. Which region did you use? Did you use any custom VM image?

Thanks, Bruno.

grazianosommariva commented 8 months ago

Bruno,

We are deploying in NorthItaly.

GS

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.


The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender From: Bruno Gabrielli @.> Sent: Monday, March 25, 2024 11:47 AM To: Azure/azure-monitor-baseline-alerts @.> Cc: Sommariva Graziano @.>; Mention @.> Subject: Re: [Azure/azure-monitor-baseline-alerts] VM Alerts deploy is failing (Issue #169)

Hello @grazianosommarivahttps://github.com/grazianosommariva , I went through some investigation, deployment and remediation and found NO issues. I used West Europe and North Europe. Which region did you use? Did you use any custom VM image?

Thanks, Bruno.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-monitor-baseline-alerts/issues/169#issuecomment-2017711164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHG7GER5MJM5QCOOXDTA4L3YZ76CXAVCNFSM6AAAAABFDBTVDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXG4YTCMJWGQ. You are receiving this because you were mentioned.Message ID: @.**@.>>

CAUTION: External email. Do not click links, open attachments or reply unless you recognize the sender and know the content is safe.

ATTENZIONE: Questa e-mail proviene da un dominio esterno al perimetro Leonardo. Non cliccare su collegamenti, aprire allegati o rispondere a meno che non si riconosca il mittente e si sappia che il contenuto e' sicuro.

Brunoga-MS commented 8 months ago

Is VMInsights enabled as documented at Log Alerts?

grazianosommariva commented 8 months ago

I Just enabled it on a Vm, but there is no change to errors

Graziano

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.


The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender From: Bruno Gabrielli @.> Sent: Monday, March 25, 2024 2:43 PM To: Azure/azure-monitor-baseline-alerts @.> Cc: Sommariva Graziano @.>; Mention @.> Subject: Re: [Azure/azure-monitor-baseline-alerts] VM Alerts deploy is failing (Issue #169)

Is VMInsights enabled as documented at Log Alertshttps://azure.github.io/azure-monitor-baseline-alerts/patterns/alz/Monitoring-and-Alerting/#log-alerts?

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-monitor-baseline-alerts/issues/169#issuecomment-2018036293, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHG7GEUJO3V6HIQYWHXRUCDY2ASWLAVCNFSM6AAAAABFDBTVDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYGAZTMMRZGM. You are receiving this because you were mentioned.Message ID: @.**@.>>

CAUTION: External email. Do not click links, open attachments or reply unless you recognize the sender and know the content is safe.

ATTENZIONE: Questa e-mail proviene da un dominio esterno al perimetro Leonardo. Non cliccare su collegamenti, aprire allegati o rispondere a meno che non si riconosca il mittente e si sappia che il contenuto e' sicuro.

grazianosommariva commented 8 months ago

Hallo,

After enabling VMInsight on a VM, remediation jobs are fine.

Thanks a lot

Graziano


Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.


The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender From: Phil Rice @.> Date: Lun 25 Mar 2024, 17:42 To: Azure/azure-monitor-baseline-alerts @.> CC: Sommariva Graziano @.>, Mention @.> Subject: Re: [Azure/azure-monitor-baseline-alerts] VM Alerts deploy is failing (Issue #169)

@grazianosommarivahttps://github.com/grazianosommariva just to note, that if you have just enabled VMInsights on a VM then that will have no effect on the alerts triggered before that was enabled, only on future ones as the alerts need the evaluation periods to compare against and the 'pre VMInsights' triggered ones will not have that data.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-monitor-baseline-alerts/issues/169#issuecomment-2018442084, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHG7GET3BQHB6NWQHM5ITW3Y2BHYPAVCNFSM6AAAAABFDBTVDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYGQ2DEMBYGQ. You are receiving this because you were mentioned.Message ID: @.***>

CAUTION: External email. Do not click links, open attachments or reply unless you recognize the sender and know the content is safe. ATTENZIONE: Questa e-mail proviene da un dominio esterno al perimetro Leonardo. Non cliccare su collegamenti, aprire allegati o rispondere a meno che non si riconosca il mittente e si sappia che il contenuto e' sicuro.

Brunoga-MS commented 8 months ago

Hello @grazianosommariva , based on that I am going to close this issue as resolved.

Thanks, Bruno.