How do I monitor and send alerts for status of a service running on an azure VM

Copper Contributor

How do I monitor and send alerts for status of a service running on an azure VM. 

Example I have a kafka service running as linux system daemon but I want to get notified/alert when that service is down. Is there way from azure alerts  or alternate solution ?

7 Replies
You can use alerts based on change tracking for windows services and linux daemons. More info about change tracking here : https://docs.microsoft.com/en-us/azure/automation/change-tracking/overview

@lilalexMS its seems defender is needed more costly affair. looking more alternate 

i am able to do some workaround with syslog.
could you explain would around that was done with syslogs @ankurjain0070

@Meenakshy  This article explains how to collect the monitoring data from Azure VMs. This also explains the syslog events collections. 

https://learn.microsoft.com/en-us/azure/azure-monitor/vm/monitor-virtual-machine-data-collection

@ankurjain0070 

 

I would suggest Azure monitor in terms of logs and we can start the alert, notification base on that:

 

https://learn.microsoft.com/en-us/azure/azure-monitor/overview