0

we are looking for a solution to setup the alert when OMS agent stopped on AKS machines, through azure monitor, however we could not find any query or solution which can monitor the oms agent process on VMs and generate the alert when it is stopped.

Thanks in advance for any leads.

ramesh reddy
  • 429
  • 2
  • 5
  • 12

1 Answers1

0

I Tried to reproduce the same in my environment to redirect the IIS app to Offline Page during application Maintenance :

I have created IIS Web Application in Windows Server with HTTP Redirection as below.

enter image description here

Once the IIS Setup has been completed, deploy the application code to IIS Server.

The application is running successfully.

enter image description here

Now add an HTTP redirect rule to IIS Server which will redirect user requests to the maintenance page as shown below.

Open HTTP Redirect option and add your maintenance page address.

Make sure to enable "Redirect all requests to exact destination".

enter image description here

After adding the HTTP redirect rule in IIS Web Server, whenever users hit the application. it will redirect the requests to the maintenance page automatically.

enter image description here

Refer to this Stack link created by : Paul Grimshaw

Venkat V
  • 2,197
  • 1
  • 1
  • 10