How to creat a custom report to find out what devices are currently in SDT
I want to create a report regarding all devices that have been out into SDT in the last month. When I check the Reports secion in LM and Select Reports | Add | Report.it gives me the following Report types: Can anyone advise which would be the best Report type to use for generating which devices have been in SDT over the last month?Solved300Views14likes3CommentsAlert Suppress
Is there any feasibility do not monitor the particular process, example, there is backup job running on the server and due to on this , the CPU and memory process goes to High and getting many alerts in LM. instead of using SDT Mode, if there any possible do not monitor particular process.Solved260Views1like10CommentsDatasource SDT and REST API
I’d like to write a script to accomplish what we can do in the GUI when creating a new SDT, which is to find a datasource and create a global SDT applied to it. The REST API v3 shows me that we can only create a DeviceDatasourceSDT, which seems to require the device Id of every resource where the datasource has been applied. This doesn’t make sense. It seems in order to SDT a datasource in the same way the GUI allows us to do, we must iterate through every single resource and their respective device datasources, locate ones that match the datasource I’d ilke to SDT, then SDT each of the corresponding device datasources. This is madness. Has anyone accomplished anything useful with a datasource SDT using the REST API?181Views1like3CommentsSDT UIv4 after winter time
We are experiencing a very weird bug with the SDT function in UIv4. When selecting any date before “winter time” start, it works just fine (as long as we use 12H format… Why can’t we choose between 12 and 24?). Also UTC shouldn’t be affected by winter time. Here you see that we can easily put an SDT as expected When trying to put an SDT after winter time starts (29th of October) we are unable to directly write the time, like we did in the gif above. When trying to write 10:00 it just increases the number until it changes the date and we have to go back to select the right date. Also we get an error saying that the format must be HH:MM, which it clearly is but we are still not allowed to put an SDT on it in UIv4. All of this works just fine in UIv3.88Views1like2CommentsMultiple Device Select when setting SDT
As an MSP we also manage a number of customer patching cycles, this entails a number of servers needing to be placed into SDT individually for a customer across a number of there groups, with some of our customers this means 60+ servers at a time. (devices can be spread across several groups & not all devices within each said group will be patched at the same time, so setting at the group level is out). Can we please have the function of being able to select a group and then a number of individual devices from that group (+sub-group) at the same time - ideally being able to see a list of devices contained with group (+ sub-group) and have checkboxes alongside them so that multiple selections can be made at once. This will make life a lot easier and faster for such scenarios.78Views4likes1CommentSDT-current and upcoming report schedule
Hi Folks, i have a requirement to schedule a report or dashboard for current and upcoming SDT's. so that our NOC team see SDT details in their handover document. as of now they are taking screenshot manually from device by type. Note- i dont have access for REST API. Regards, Neelesh57Views0likes0CommentsSDT scheduling using REST API and PowerShell
Trying to schedule a new SDT for January 1, 2018 1:00 AM to 1:30 AM for a device group, but getting a Status:1007 and a blank response. <# account info #> $accessId = 'SHj6Hub8e63FUwkc5' $accessKey = 'xz37=(][{qb6ANLp}5$-S9Hvn6HV292P' $company = 'api' # stdTYpe (integer) # 1 - one time, 2 - Weekly SDT, 3 - Monthly SDT, 4 - Daily SDT # we have to use "one time" style values because LM has no concept of day of month $stdTYpe = 1 # type (string) # ServiceGroupSDT, DeviceGroupSDT, CollectorSDT $type = "DeviceGroupSDT" # deviceGroupId (string) # $deviceGroupId = 18 # dataSourceId (integer) # 0 = ALL $dataSourceId = 0 <# request details #> $httpVerb = 'POST' $resourcePath = '/sdt/sdts' #serviceGroupSDTs # data $data = '{"sdtType":'+$stdTYpe+',"type":"'+ $type +'","deviceGroupId":'+ $deviceGroupId +',"dataSourceId":'+ $dataSourceId +',"startDateTime":1514786400,"endDateTime":1514788200}' <# Construct URL #> $url = 'https://' + $company + '.logicmonitor.com/santaba/rest' + $resourcePath <# Get current time in milliseconds #> $epoch = [Math]::Round((New-TimeSpan -start (Get-Date -Date "1/1/1970") -end (Get-Date).ToUniversalTime()).TotalMilliseconds) <# Concatenate Request Details #> $requestVars = $httpVerb + $epoch + $data + $resourcePath <# Construct Signature #> $hmac = New-Object System.Security.Cryptography.HMACSHA256 $hmac.Key = [Text.Encoding]::UTF8.GetBytes($accessKey) $signatureBytes = $hmac.ComputeHash([Text.Encoding]::UTF8.GetBytes($requestVars)) $signatureHex = [System.BitConverter]::ToString($signatureBytes) -replace '-' $signature = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($signatureHex.ToLower())) <# Construct Headers #> $auth = 'LMv1 ' + $accessId + ':' + $signature + ':' + $epoch $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("Authorization",$auth) $headers.Add("Content-Type",'application/json') <# Make Request #> $response = Invoke-RestMethod -Uri $url -Method $httpVerb -Body $data -Header $headers <# Print status and body of response #> $status = $response.status $body = $response.data| ConvertTo-Json -Depth 5 Write-Host "Status:$status" Write-Host "Response:$body"52Views0likes5Comments