User Profile
Arslan11
Brass Contributor
Joined 6 years ago
User Widgets
Recent Discussions
Azure monitoring alerts
I have got a custom query alert setup for disk space warning at the moment, which alerts if it is below 15%. Is there any way my alert can be more automated. For instance, if the space of the server has grown over two days. I should get both values what the value was before, and what is now. For example say it was 12 % for four days and it was grown by 3% next day.Solved1.3KViews0likes1CommentHelp with making the query work
ConfigurationChange | where ConfigChangeType == "WindowsServices" and SvcState == "Stopped" and ( Computer has "NH-P2PAPP01.networkhg.org.uk" or Computer has “NET-P2PLIVEAPP1.networkhg.org.uk" or Computer has “NET-P2PTESTAPP.networkhg.org.uk” ) and ( SvcDisplayName == "Integra eSeries FINPROD" or SvcDisplayName == "Integra SPC FINPROD” or SvcDisplayName == "Integra UAS FINPROD" or SvcDisplayName == "Integra eSeries FINDEV" or SvcDisplayName == "Integra SPC FINDEV" or SvcDisplayName == "Integra UAS FINDEV" or SvcDisplayName == "Integra eSeries Duet" or SvcDisplayName == “Integra eSeries SPTDEV" or SvcDisplayName == "Integra eSeries FINARCH" ) I am not sure, why this alert is not being configured, I can see nothing wrong, can you please assist me with this. The request had some invalid properties , it keeps on saying that, but I have another query set up like that without no problems.2.4KViews0likes10CommentsInstalling monitoring agent on linux servers
Can you please advice me on how to install monitoring agent on Linux servers. Connect to Linux server via putty, then run the command specified below Command to install the agent on linux server specified below: wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -workspaceid-s primarykey -d opinsights.azure.com11KViews0likes1CommentMonitoring URL links
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.25KViews0likes14CommentsMachine not sedning pings
Kusto query Heartbeat | where TimeGenerated > ago(24h) | where Computer != "NH-CMVMAAZ.networkhg.org.uk" and Computer != "UAT-WVD-REL86-0.networkhg.org.uk" | summarize LastCall = max(TimeGenerated) by Computer, ComputerEnvironment | where LastCall < ago(10m I need assistance with this query, I don't want to be reported for the following servers in not sending pings, those severs get shutdown at 10:00pm UK time and starts at 6:00am uk time. I don't want those servers to be reported from 10:00pm to 6:00am, how can I amend my existing query and make this possible5.3KViews0likes25CommentsReport on selected servers for a week on the memory usage
I would like a help with a Kusto query which I have almost completed but I am struggling in the last part. Kusto query Perf | where ObjectName == "Memory" and CounterName == "% Committed Bytes In Use" and Computer == "VM-WVD-REL86-5.networkhg.org.uk" | extend Used_Percent_Memory = 100- CounterValue | summarize Used_Percent_Memory = max(CounterValue) by Computer, ObjectName | where Used_Percent_Memory < 90 and Used_Percent_Memory > 70 This query shows me percent memory being used over 70% for specific server But I would like to add a extra line in this query, where it will show me the memory percent for 5 days for this relevant server I found this but I am not sure where to exactly added within this query. let start_time=startofday(datetime("2018-03-01")); let end_time=now();7KViews0likes15CommentsRe: Azure File sync: Script to delete the files, which has been modified for certain days
Thanks for recommending to use logic apps, and go with last modified date. I am afraid haven't got a script. As you have got a script, are you able to share with me. And I can have a view of it.3.2KViews0likes1CommentAzure File sync: Script to delete the files, which has been modified for certain days
I would like to have a script, where we can delete the files from the azure file share, if it is has not been modified for certain days. I know we can use logic app , but it deletes the files after certain days without looking at, when it was modified last time. Can somebody please guide me on this, as this a good automation, to save azure storage cost.3.3KViews0likes3CommentsAzure virtual desktop
I need the guiadance on how to update the Azure Virtual Desktop Image with the latest software using powershell or arm template. Please share some light. Is there a standard format to follow, I am using windows image with Windows (Windows 10 Enterprise for Virtual Desktops) session hostpool824Views0likes0CommentsSharepoint powershell script for site admin permissions
We would like to include all the sharepoint sub sides via script, in order to site admin permission. #Variables for processing $AdminURL = "" #Connect to SharePoint Online Connect-SPOService -url $AdminURL -credential (Get-Credential svcAsigra4@partnerscapitalig.onmicrosoft.com) #Get All Site Collections $Sites = Get-SPOSite -Limit ALL #Loop through each site and add site collection admin Foreach ($Site in $Sites) { Write-host "Adding Site Collection Admin for:"$Site.URL Set-SPOUser -site $Site.Url -LoginName $True Set-SPOUser -site $Site.Url -LoginName $True Set-SPOUser -site $Site.Url -LoginName $True Set-SPOUser -site $Site.Url -LoginName sv $True } How this can be modified added the current private channels and sub sites to the script1KViews0likes0CommentsOffice 365 E1 license
I have got some office 365 E1 license in our admin centre and I would like to add all of those licenses on a AD security group. Which means, whenever you add that user to the ad security group, it will assign them the license. Is there a PowerShell script that can be used any guidance.Solved1.2KViews0likes1Commentazure kql assistant
Can you please have a look at my query below and try to assist me with this // please add a list of your servers here, these ones are the ones that are *shutdown* overnight let shutdownComputers = dynamic(["machines"]); // always exclude these computers let excludeComputers = dynamic(["machines"]); // config the hours to exclude let startHour = 1900; // 07:00 PM let endHour = 06; // 06:00 Am Heartbeat // Get just the excluded Servers | where TimeGenerated > startofday(ago(24h)) | where Computer in (shutdownComputers) | summarize LastCall = arg_max( TimeGenerated, datetime_part("hour", TimeGenerated) between( startHour .. endHour) ) by Computer, sComputer = strcat("Computer goes offline between ", startHour," to ", endHour," :",Computer), ComputerEnvironment | where isnotempty(LastCall) | project Computer , LastCall, sComputer // Now join those excluded servers with the others... | join kind= fullouter ( Heartbeat | where TimeGenerated > startofday(ago(24h)) | where Computer !in (shutdownComputers) and Computer !in(excludeComputers) | summarize LastCall = arg_max(TimeGenerated,*) by Computer ) on Computer // This bit can probably be improved if I get time | extend Computer = iif(isempty(Computer),Computer1,Computer), LastCall = iif(isempty(LastCall),LastCall1,LastCall) | summarize by LastCall, Computer, sComputer | where LastCall < ago(10m) Azure vm's heartbeat alert not working as expected shown in the screenshot below. There are some machines, which are not being reported. CliveWatson helped me with this last time1KViews0likes1CommentRe: Powershell command to get a report of a specific shared mailbox
DeepakRandhawa worked, do you know, who is best at backup questions on azure. I put a post for azure backups mars but I had no response. Link to the post, 52 views but no input https://techcommunity.microsoft.com/t5/azure/mars-backup-system-state-backup-failing/m-p/15329041.8KViews0likes0CommentsPowershell command to get a report of a specific shared mailbox
I am connecting to Exchange online powershell module, and I need assistance with one thing. I have got a shared mailbox on exchange online called "Customer Service - Network Homes" and email address of the mailbox is "mailto:CustomerService@networkhomes.org.uk". I need a powershell script, which will show you who has got send as permission to the shared mailbox. I want to pull out the information from the script instead of looking at the console.1.9KViews0likes2CommentsMARS Backup - system state backup failing
I am having issues with few servers, where the system state is not getting backup. I did follow the article below and attempt it, by changing the scratch folder to different location, it did not made any difference. How do I change the cache location for the MARS agent? Run this command in an elevated command prompt to stop the Backup engine: Net stop obengine If you have configured System State backup, open Disk Management and unmount the disk(s) with names in the format "CBSSBVol_<ID>". By default, the scratch folder is located at \Program Files\Microsoft Azure Recovery Services Agent\Scratch Copy the entire \Scratch folder to a different drive that has sufficient space. Ensure the contents are copied, not moved. Update the following registry entries with the path of the newly moved scratch folder. Table 2Registry path Registry Key Value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\Config ScratchLocation New scratch folder location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Backup\Config\CloudBackupProvider ScratchLocation New scratch folder location Restart the Backup engine at an elevated command prompt: command Copy Net stop obengine Net start obengine Run an on-demand backup. After the backup finishes successfully using the new location, you can remove the original cache folder. Can I please have some advice, as I have got few servers where the system state is not being backed up.4.7KViews0likes2CommentsRe: Monitoring URL links
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 https://docs.microsoft.com/en-us/dotnet/api/microsoft.applicationinsights.telemetryclient.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.23KViews0likes1CommentRe: Monitoring URL links
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 question23KViews0likes3CommentsRe: Monitoring URL links
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.23KViews0likes4CommentsRe: Monitoring URL links
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.24KViews0likes0Comments
Recent Blog Articles
No content to show