Monitoring URL links

%3CLINGO-SUB%20id%3D%22lingo-sub-1440809%22%20slang%3D%22en-US%22%3EMonitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440809%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20way%20%2C%20where%20we%20can%20monitor%20a%20URL%20link%20on%20azure%20monitor%2C%20if%20it%20goes%20down.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20specified%20URL%20link%20at%20the%20bottom.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fnet-web1%3A2738%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fnet-web1%3A2738%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20the%20best%20apparch%20with%20regards%20to%20this%2C%20having%20it%20in%20a%20Kusto%20query%20language%20in%20place%20or%20any%20other%20way.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1442888%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1442888%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643248%22%20target%3D%22_blank%22%3E%40Arslan11%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethe%20easiest%20way%20is%20to%20set%20up%20an%20Availability%20Test%20in%20an%20Application%20Insights%20instance%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Fmonitor-web-app-availability%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Fmonitor-web-app-availability%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20need%20to%20monitor%20the%20endpoint%20from%20a%20VM%2C%20you%20can%20also%20use%20Connection%20Monitor%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnetwork-watcher%2Fconnection-monitor-preview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnetwork-watcher%2Fconnection-monitor-preview%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20then%20create%20Azure%20Monitor%20alerts%20based%20on%20the%20results%20of%20any%20of%20the%20approaches%20above.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445044%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445044%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3EThanks%20for%20the%20response%2C%20I%20will%20update%20this%20post%2C%20if%20I%20will%20struggle%20with%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1446876%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1446876%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3EI%20had%20a%20look%20at%20the%20article%2C%20I%20would%20like%20to%20clarify%20one%20thing%2C%20the%20article%20is%20mentioning%20this%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CFONT%20color%3D%22%23000119%22%3E%3CFONT%20color%3D%22%23000025%22%3ECreate%20a%20URL%20ping%20test%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20create%20your%20first%20availability%20request%2C%20open%20the%20Availability%20pane%20and%20select%20%3CSTRONG%3ECreate%20Test%3C%2FSTRONG%3E.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3EOnce%2C%20I%20will%20create%20the%20availability%20test%20for%20the%20specified%20website%2C%20under%20application%20insights%2C%20will%20I%20get%20an%20alert%20via%20email%2C%20if%20the%20HTTP%20is%20unavailable%20for%20the%20specified%20website.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447861%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447861%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3Ecan%20I%20have%20a%20update%20please%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447902%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447902%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643248%22%20target%3D%22_blank%22%3E%40Arslan11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eas%20I%20mentioned%20earlier%2C%20after%20creating%20the%20Availability%20Test%2C%20you'll%20have%20to%20set%20up%20the%20alert%20to%20execute%20the%20required%20action%2C%20e.g.%2C%20sending%20you%20an%20e-mail.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hspinto_0-1591609577444.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F197218i11F979DE552A6F47%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22hspinto_0-1591609577444.png%22%20alt%3D%22hspinto_0-1591609577444.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOnce%20the%20test%20is%20created%2C%20you%20can%20use%20the%20context%20menu%20to%20configure%20the%20alert%20rule.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hspinto_1-1591609679138.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F197219i5C4C0E992F124C92%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22hspinto_1-1591609679138.png%22%20alt%3D%22hspinto_1-1591609679138.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20the%20alert%20configuration%20blade%2C%20you'll%20have%20to%20create%20an%20action%20group%20to%20send%20you%20an%20e-mail%20whenever%20the%20alert%20fires%2Fresolves.%20More%20details%20-ERR%3AREF-NOT-FOUND-here.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448386%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448386%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3Eone%20more%20question%2C%20to%20ask%20you%2C%20can%20I%20add%20multiple%20websites%26nbsp%3B%20under%20one%20available%20test%20or%20I%20need%20to%20create%20individual%20available%20test%20for%20individual%20websites.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1448903%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448903%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643248%22%20target%3D%22_blank%22%3E%40Arslan11%3C%2FA%3E%2C%20you%20will%20have%20a%20ping%20test%20per%20URL%20(you%20can't%20have%20multiple%20URLs%20in%20a%20single%20ping%20test).%20However%2C%20if%20the%20multiple%20URLs%20you%20are%20testing%20are%20part%20of%20a%20specific%20application%20flow%20you%20want%20to%20validate%2C%20ensuring%20the%20full%20flow%20is%20responding%20correctly%2C%20then%20you%20should%20consider%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Favailability-multistep%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Emulti-step%20web%20tests%3C%2FA%3E%20instead.%20Multi-step%20web%20tests%20are%20more%20expensive.%20See%20pricing%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fdetails%2Fmonitor%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501984%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501984%22%20slang%3D%22en-US%22%3E%3CP%3EYes%20you%20can%20use%20availability%20test%20in%20your%20case%20to%20monitor%20the%20any%20url%20%22xyz.com%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGo%20to%20Application%20insights%26nbsp%3B%20%26nbsp%3Band%20select%20Availability%20test%20from%20panel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1511104%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1511104%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F715795%22%20target%3D%22_blank%22%3E%40Srini1987%3C%2FA%3E%26nbsp%3B%20I%20did%20%2C%20that%20but%20I%20am%20afraid%20it%20didn't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20a%20website%20to%20availability%20test%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20website%20url%20link%20is%20not%20being%20monitored%2C%20the%20website%20was%20not%20loading%20today%20and%20I%20didn't%20got%20analert.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20create%20an%20alert%2C%20to%20send%20any%20an%20email%20to%20the%20team%2C%20if%20HTTP%20is%20not%20responding.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEmail%20didn't%20got%20send.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1511109%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1511109%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20%2C%20that%20but%20I%20am%20afraid%20it%20didn't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20a%20website%20to%20availability%20test%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20website%20url%20link%20is%20not%20being%20monitored%2C%20the%20website%20was%20not%20loading%20today%20and%20I%20didn't%20got%20analert.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20create%20an%20alert%2C%20to%20send%20any%20an%20email%20to%20the%20team%2C%20if%20HTTP%20is%20not%20responding.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEmail%20didn't%20got%20send.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1513008%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%20-%20screenshots%20(configuration%20of%20a%20website%20connectivity)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1513008%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3EI%20have%20attaches%20screenshots%20to%20this%20post%2C%20please%20have%20a%20look%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EScreenshots%20attached%20includes%20Availability%20test%2C%20alert%20and%20action%20group.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20review%20it%20and%20let%20me%20know%2C%20where%20I%20am%20going%20wrong.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20who%20is%20the%20best%20person%20to%20ask%20guidance%20on%20mars%20backup%20question%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1514303%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%20-%20screenshots%20(configuration%20of%20a%20website%20connectivity)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1514303%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643248%22%20target%3D%22_blank%22%3E%40Arslan11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Emaybe%20the%20alert%20had%20already%20fired%20before%20having%20e-mail%20notification%20set%20up%20and%20never%20resolved.%20Can%20you%20check%20if%20you%20have%20active%20alerts%20in%20the%20Azure%20Monitor%20alerts%20view%3F%20Change%20the%20time%20range%20filter%20to%20a%20larger%20period%20if%20needed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20also%20change%20the%20URL%20being%20monitored%20to%20a%20valid%20one%2C%20wait%20for%20a%20%22resolved%22%20notification%20and%20then%20switch%20back%20to%20the%20failing%20URL%20to%20check%20if%20a%20%22fired%22%20notification%20is%20now%20coming%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hspinto_0-1594386622904.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204592iCB472DA508259EA1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22hspinto_0-1594386622904.png%22%20alt%3D%22hspinto_0-1594386622904.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1523648%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%20-%20screenshots%20(configuration%20of%20a%20website%20connectivity)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1523648%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%20The%20reason%20for%20this%20not%20work%20is%20because%20my%20website%20is%20internal%20facing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20a%20alternative%2C%20any%20guidance%20on%20this%2C%20how%20can%20I%20get%20a%20example%20code%20to%20make%20a%20start%20on%20mine%20one%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWrite%20your%20own%20code%20to%20periodically%20test%20your%20internal%20server.%20Run%20the%20code%20as%20a%20background%20process%20on%20a%20test%20server%20behind%20your%20firewall.%20Your%20test%20process%20can%20send%20its%20results%20to%20Application%20Insights%20by%20using%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdotnet%2Fapi%2Fmicrosoft.applicationinsights.telemetryclient.trackavailability%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ETrackAvailability()%3C%2FA%3E%3CSPAN%3E%26nbsp%3BAPI%20in%20the%20core%20SDK%20package.%20This%20requires%20your%20test%20server%20to%20have%20outgoing%20access%20to%20the%20Application%20Insights%20ingestion%20endpoint%2C%20but%20that%20is%20a%20much%20smaller%20security%20risk%20than%20the%20alternative%20of%20permitting%20incoming%20requests.%20The%20results%20will%20appear%20in%20the%20availability%20web%20tests%20blades%20though%20the%20experience%20will%20be%20slightly%20simplified%20from%20what%20is%20available%20for%20tests%20created%20via%20the%20portal.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1529075%22%20slang%3D%22en-US%22%3ERe%3A%20Monitoring%20URL%20links%20-%20screenshots%20(configuration%20of%20a%20website%20connectivity)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1529075%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643248%22%20target%3D%22_blank%22%3E%40Arslan11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20thought%20the%20URL%20you%20were%20using%20was%20just%20a%20dummy%20one%20%3AD%3C%2Fimg%3E%20But%20this%20does%20not%20explain%20why%20the%20alerts%20were%20not%20firing%2C%20because%20they%20should%20fire%20no%20matter%20the%20URL%20being%20used.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegarding%20the%20sample%20you're%20asking%2C%20you%20have%20this%20one%2C%20which%20is%20meant%20to%20run%20as%20an%20Azure%20Function%2C%20but%20you%20can%20reuse%20the%20code%20and%20put%20it%20in%20your%20application.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Favailability-azure-functions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Favailability-azure-functions%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Is there any way , where we can monitor a URL link on azure monitor, if it goes down.

 

I have specified URL link at the bottom.

 

http://net-web1:2738

 

What's the best apparch with regards to this, having it in a Kusto query language in place or any other way. 

 

14 Replies

@Arslan11,

 

the easiest way is to set up an Availability Test in an Application Insights instance:

 

https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability

 

If you need to monitor the endpoint from a VM, you can also use Connection Monitor:

 

https://docs.microsoft.com/en-us/azure/network-watcher/connection-monitor-preview

 

You can then create Azure Monitor alerts based on the results of any of the approaches above.

@hspintoThanks for the response, I will update this post, if I will struggle with this.

@hspintoI had a look at the article, I would like to clarify one thing, the article is mentioning this

 

Create a URL ping test

 

To create your first availability request, open the Availability pane and select Create Test.

 
 

Once, I will create the availability test for the specified website, under application insights, will I get an alert via email, if the HTTP is unavailable for the specified website.

@hspintocan I have a update please 

 

@Arslan11 

 

as I mentioned earlier, after creating the Availability Test, you'll have to set up the alert to execute the required action, e.g., sending you an e-mail.

 

hspinto_0-1591609577444.png

Once the test is created, you can use the context menu to configure the alert rule.

hspinto_1-1591609679138.png

In the alert configuration blade, you'll have to create an action group to send you an e-mail whenever the alert fires/resolves. More details here.

@hspintoone more question, to ask you, can I add multiple websites  under one available test or I need to create individual available test for individual websites.

@Arslan11, you will have a ping test per URL (you can't have multiple URLs in a single ping test). However, if the multiple URLs you are testing are part of a specific application flow you want to validate, ensuring the full flow is responding correctly, then you should consider multi-step web tests instead. Multi-step web tests are more expensive. See pricing here.

Yes you can use availability test in your case to monitor the any url "xyz.com"

 

Go to Application insights   and select Availability test from panel.

 

@Srini1987  I did , that but I am afraid it didn't work.

 

I added a website to availability test

 

The website url link is not being monitored, the website was not loading today and I didn't got analert.

 

I did create an alert, to send any an email to the team, if HTTP is not responding.

 

Email didn't got send.

 

@hspinto 

I did , that but I am afraid it didn't work.

 

I added a website to availability test

 

The website url link is not being monitored, the website was not loading today and I didn't got analert.

 

I did create an alert, to send any an email to the team, if HTTP is not responding.

 

Email didn't got send.

@hspintoI have attaches screenshots to this post, please have a look

 

Screenshots attached includes Availability test, alert and action group.

 

Please review it and let me know, where I am going wrong.

 

And who is the best person to ask guidance on mars backup question 

 

 

@Arslan11 

 

maybe the alert had already fired before having e-mail notification set up and never resolved. Can you check if you have active alerts in the Azure Monitor alerts view? Change the time range filter to a larger period if needed.

 

Can you also change the URL being monitored to a valid one, wait for a "resolved" notification and then switch back to the failing URL to check if a "fired" notification is now coming?

 

hspinto_0-1594386622904.png

 

@hspinto  The reason for this not work is because my website is internal facing.

 

I found a alternative, any guidance on this, how can I get a example code to make a start on mine one

 

Write your own code to periodically test your internal server. Run the code as a background process on a test server behind your firewall. Your test process can send its results to Application Insights by using TrackAvailability() API in the core SDK package. This requires your test server to have outgoing access to the Application Insights ingestion endpoint, but that is a much smaller security risk than the alternative of permitting incoming requests. The results will appear in the availability web tests blades though the experience will be slightly simplified from what is available for tests created via the portal.

@Arslan11 

 

I thought the URL you were using was just a dummy one :D But this does not explain why the alerts were not firing, because they should fire no matter the URL being used.

 

Regarding the sample you're asking, you have this one, which is meant to run as an Azure Function, but you can reuse the code and put it in your application.

 

https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-azure-functions