Custom script/metrics via Azure Monitor Agent natively #152
Unanswered
ashishkaransingh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there is a way Azure Monitor Agent can execute natively a script to collect custom metrics.
Example
`$monitor_data = Get-Printer | Where-Object {$_.JobCount -gt "2"} | Select-Object -Property Name,PrinterStatus
foreach ($printer in $monitor_data)
{
}
`
We want to avoid deploying an external agent like Telegraf etc. that pushes to (or is scraped by) Azure Monitor.
Please please help us with this.
Beta Was this translation helpful? Give feedback.
All reactions