jefffall
jefffall
Finally Success. Firstly, Thank you Travis P. I would NOT have gotten this far in two days WITHOUT YOU. Thank you... Turns out .. I was missing a comma ","....
Oh wanted to comment.. TO make this work I had to 0) Install the public: curl -L https://aka.ms/InstallAzureCli | bash 1) Install the nightly: pip3 install --pre azure-cli --extra-index-url 2)...
# Here is some python to create the JSON @condition file or inline code #But the JSON required is bad JSON as there is an extra comma "," required and...
List of Metrics to use: Percentage CPU Network In Network Out Disk Read Bytes Disk Write Bytes Disk Read Operations/Sec Disk Write Operations/Sec \Processor |nformation(_Total)\% Processor Time \Processor |nformation(_Total)\% Privileged...
really need example JSON of --action --actions JSON encoded array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. Use @{file}...
Travis Can I ask you for a current JSON --actions example For adding emails and one for adding webhooks? I have no idea how to format the JSON for --action...
Hi Travis, Do I need to specify the whole JSON each time as: |{ "odatatype": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction", "sendToServiceOwners": true, "customEmails": [ "[email protected]", "[email protected]" ] }, { "odatatype": "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction", "serviceUri": "https://your-endpoint-here", "properties":...
Excited about new changes coming. When shall extensive redesign hit the public Azure CLI 2.0.x? And - Can you please give me a working example of: "odatatype": "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction", "serviceUri": "https://your-endpoint-here",...
Trying --action 1242841962 24276 24275 0 Wed12PM ttys005 0:00.04 -csh -csh on macbook pro I can do a create metric alert just fine without the --action. Problem is we need...
Ah yes. Most importantly when I run the command: c5256381% az monitor alert-rules create --is-enabled IS_ENABLED --name JeffFallRuleTestCPU --resource-group HCM-Monitoring-RG --alert-rule-resource-name /subscriptions/my_subscription/resourceGroups/H-Monitoring-R/providers/Microsoft.Compute/virtualMachines/myvm --location westus --condition @{jeffcondition} --description 'processor time' Request...