Todd Theoret

Members
  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Todd Theoret

  • Rank
    Community Whiz Kid

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Todd Theoret

    Meraki - NetFlow

    Has LogicMonitor made any adjustments to support how Meraki sends NetFlow traffic?
  2. Todd Theoret

    Cisco Info PropertySources

    Tom, I just started taking advantage of PropertySources. I haven't solved the switch stack (models, sn#'s and firmware) yet. I came across this post. Any chance you got the Cisco-IOS working yet? Thanks as always Tom.
  3. Todd Theoret

    Device Auto Properties - REST API

    Is it possible to pull a devices' auto.properties through the REST API?
  4. Todd Theoret

    REST API - "No Data"

    Thank you Tom (as always) Also, just fyi....I came across another post [Using PropertySources for Reporting] by Billy Yuliadi, which presented an additional option. I just shared the PropertySource M44C23. Thank you Billy!
  5. Looking to add 200+ Websites to be monitored via the Services. Has anyone created a script to read the required variables from a csv file? Thanks in advance for any assistance!
  6. Todd Theoret

    REST API - "No Data"

    Exactly what we are trying to accomplish...we are dealing with close to 5K devices and need to know quickly if devices which were working are now reporting "No Data" Thank you!
  7. Todd Theoret

    REST API - "No Data"

    Anyone know how to pull a list of ALL devices (1000s) with instances reporting "No Data" via the REST API? Thanks as always!
  8. Todd Theoret

    Cisco Prime License Manager

    Anybody created a datasource to pull "License Usage" from the Cisco Prime License Manager? Attached is a screenshot showing the metrics we are trying to capture. Any assistance is greatly appreciated!
  9. Hoping someone has suggestions on possibilities to replicate (or at least get very close) a PRTG report. LogicMonitor Engineers - this would allow us to covert another current company using PRTG over to LogicMonitor! Any assistance is much appreciated. Thank you!
  10. Todd Theoret

    REST API - Services "Properties"

    I was trying from the Group level as some of our clients (group) have 15+ Services. But you did solve the mystery. Thank you very much Sarah! } ], "serviceProperties": [ { "name": "account_name", "value": "At_Service_Level" } ],
  11. Todd Theoret

    REST API - Services "Properties"

    Sarah, unfortunately the -Depth 5 did not pull the properties. I utilized the exact PowerShell example, with our creds of course. "checkpoints": [ { "id": 282, "geoInfo": "Overall", "smgId": 0 }, { "id": 151899387, "geoInfo": "US - Los Angeles", "smgId": 1 }, { "id": 281, "geoInfo": "US - Washington DC", "smgId": 2 } ], "serviceProperties": [ ],
  12. Todd Theoret

    REST API - Services "Properties"

    Thanks for the reply Sarah. Yes, I am utilizing a PowerShell script. Almost identical to the example at: https://www.logicmonitor.com/support/rest-api-developers-guide/overview/using-logicmonitors-rest-api/ except I added: $queryParams = '?size=900' <# account info #> $accessId = 'unique' $accessKey = 'unique' $company = 'cwps' <# request details #> $httpVerb = 'GET' $resourcePath = '/service/services' $queryParams = '?size=900' <# Construct URL #> $url = 'https://' + $company + '.logicmonitor.com/santaba/rest' + $resourcePath + $queryParams <# 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 + $resourcePath + $queryParams <# 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 Get -Header $headers <# Print status and body of response #> $status = $response.status $body = $response.data| ConvertTo-Json Write-Host "Status:$status" Write-Host "Response:$body"
  13. Todd Theoret

    REST API - Services "Properties"

    Trying to get "serviceProperties" to populate when pulled via the REST API. I add a Properties entry on a Web Service Check: Name - [account_name], Value - [TheoretDevelopment] but the results always come back empty. Tried various options. Does the REST API actually support this field? Any assistance would be much appreciated. Thank you! serviceProperties The properties associated with the Service JSON Object "serviceProperties" : [ {"name" : "billing","value" : "website"}, {"name" : "team","value" : "TechOps"}, {"name" : "production","value" : "true"} ] { "type": "webservice", "id": 177, "name": "careers.zzz.org", "description": "If this site goes down, follow standard critical alert procedures per the client policy", "serviceFolderId": 247, "stopMonitoring": false, "stopMonitoringByFolder": false, "disableAlerting": false, "individualSmAlertEnable": false, "individualAlertLevel": "warn", "overallAlertLevel": "critical", "alertStatus": "none", "alertStatusPriority": 100000, "sdtStatus": "none-none-none", "alertDisableStatus": "none-none-none", "pollingInterval": 1, "transition": 9, "testLocation": "{\"all\":false,\"smgIds\":[1,2]}", "globalSmAlertCond": 0, "useDefaultLocationSetting": false, "useDefaultAlertSetting": false, "userPermission": "write", "checkpoints": " ", "serviceProperties": "", "serviceStatus": "alive", "isInternal": false, "collectors": "", "script": "", "method": "tabledriven", "ignoreSSL": true, "pageLoadAlertTimeInMS": 30000, "steps": "" },
  14. Todd Theoret

    NetFlow - Meraki MX100

    What needs to be tweaked to get NetFlow working on a Meraki MX100? The NetFlow v9 Template is failing due to missing fields. Both MX100 and LogicMonitor Collector are running the latest code. I have NetFlow running successfully on many ASA's so I am familiar with the overall NetFlow requirements. Thanks in-advance for any assistance!
  15. Todd Theoret

    LogicModule Exchange -- Public Beta

    Please count me in: Todd Theoret, ttheoret@cwps.com. Thanks!