Network Monitoring API or Powershell Cmdlet for adding/removing nodes to be monitored
Is it possible to use OMS - NPM with some kind of API or Poweshell Cmdlet.
I have the following example that I need to solve:
We create VMs and then sometimes they are turned off as they no longer needed for whatever reason. I do not want to still monitor network traffic to this node/VM on Azure.
Currently we have to use the NPM UI configuration to select the node and click the checkbox for 'Use for monitoring` which is open to human error for when we forgot to disable this and more likely we forget to re-enable it when we turn the VM back on.
So I was wondering if there is an API or a Powershell cmdlet we can use in an Azure Runbook to ensure that this value is set correctly.
Viny Nigam commented
We do not have this capability today, but feedback is noted