Automation Script to test Network Watcher Connectivity Check Feature - powershell

I am trying to build a automation powershell script on azurE whiCh can give me email alerts, by using network watchers new feature i.e connectivity check, the script can test out and send the alert whenever the vm is not reachable, can somebody explain mE how to do it or any article which I Can follow

For now, Azure network watcher connectivity check does not support send mail to users.
As a workaround, maybe we can set Alert rules to monitor Azure VM.
For example, we can set Metric to Network In, and the Threshold to 1, then enable Email owners, contributors and readers, and add the email address. In this way, when the VM receive network traffic less than 1 bytes over the last 5 minutes, we will get email. Settings like this screenshot:
More information about set metric alerts, please refer to this official article.

Related

How do I create a notification when a machine goes offline?

We have on-prem machines, and a bunch of them when offline, and we didn't know for several days because the pipelines just kept waiting for the machines. How can we set up an email when they go offline?
You could leverage something like the Azure Logic App, call the Azure REST API - Agents - List via the Http Action to check the TaskAgentStatus, and send some notification like send an email when the status is offline.

How to use job monitor to check whether emails have been sent by Azure DevOps

I'm facing the issue that I can't get email notification from Azure DevOps.
I have read this question and learnt that there is a job monitor that can check whether Azure DevOps has sent the emails.
If I go into the job monitor I can see that the email notification job was partially successful...
I want to know how could I get the job monitor and how to use it.
By the way, I have done some checkings following this document but the issue still exists.
I want to know how could I get the job monitor and how to use it.
The job monitor is a monitoring dashboard dedicated to TFS. If you are using the azure devops service, I am afraid you cannot use the job monitor. As far as I know, it is impossible to check whether the email is sent in the azure devops service. Please refer to this blog.
You can first go to your personal subscriptions and locate the subscription, which you feel should have produced an email and ensure it's enabled.

Tyring to run VSTS agent thru a proxy which limits sites

Have installed VSTS agent in a very locked down environment. It makes a connection to VSTS, gets job but fails when downloading artefact. Gives error
Error: in getBuild, so retrying => retries pending : 4.
It retries 4 times and fails.
The agent is going thru a proxy. Have setup the proxy using ./config --proxyurl and also set HTTP_PROXY AND HTTPS_PROXY system environment vars.
The proxy is very limiting in that URLS are locked down, there is no authentication required. Does anybody know what URLs the agent accesses? Am hoping if can get a definitive list this will solve the issue. If anybody knows how can get a list would be great. Or maybe I have misconfigured?
Any ideas?
Tyring to run VSTS agent thru a proxy which limits sites
According to the document
I'm running a firewall and my code is in Azure Repos. What URLs does the agent need to communicate with?:
To ensure your organization works with any existing firewall or IP
restrictions, ensure that dev.azure.com and dev.azure.com are open
and update your allow-listed IPs to include the following IP
addresses, based on your IP version. If you're currently allow-listing
the 13.107.6.183 and 13.107.9.183 IP addresses, leave them in place,
as you don't need to remove them.
And With just the organization's name or ID, you can get its base URL using the global Resource Areas REST API (https://dev.azure.com/_apis/resourceAreas). This API doesn't require authentication and provides information about the location (URL) of the organization as well as the base URL for REST APIs, which can live on different domains.
Please check this document Best practices for working with URLs in Azure DevOps extensions and integrations for some more details.
Hope this helps.

SCCM Client Activity Report Issue

We have a computer that may have been stolen and am trying to find the activity on the System Center Configuration Manager. I was able to see who the last person logged in was, but there are other dates showing but not sure what they are representing.
Here are my questions: When looking at the Client Activity Details under "Assets and Compliance," it's showing a "Policy Request" as 9/27/2017.
Is the policy request originating from the SCCM server or the client?
Does the client computer have to be actively connected to the network in order to process the request?
Screenshot from Configuration Console Manager
Thank you for any assistance, please let me know if you need any further details.

IBM Bluemix Workload Scheduler job failure alerts

Would like to know where do we have the option alert and send notification in case of job failure in IBM Bluemix Workload Scheduler service? I was able to successfully configure jobs and dependencies, but want to set up automatic alerting in case of failure. Also is there an option to integrate with chosen monitoring tools for generating alerts/ notifications?
Currently you have to open a ticket asking to set an alert via email in case of job failure.
In the ticket, specify the email address to send the alert to.