Preston Gallwas

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Preston Gallwas

  • Rank
    Community Member
  1. Preston Gallwas

    Import Datasource via API and PowerShell

    Well, the Datasources "import" from file option pointed me in the right direction. Turns out my XML file wasn't valid (it had a wrong encoding). I fixed that and will give this another go the next time I have a datasource to import.
  2. Preston Gallwas

    Import Datasource via API and PowerShell

    Apologies to drag this old thread up, but it's relevant to Sarah Terry's reply The above example/script doesn't seem to be working for me - Only getting HTTP code 200. When I switch to v2 api (by header or query param) its authentication failed. I noticed the content-type header was a literal and $boundary wasn't being evaluated so I changed that but to no avail. Is it possible to get some assistance with this? We've got quite a few we want to import and are generating from a third party api.
  3. Preston Gallwas

    Help with dashboard/data type (snmp counter / "gauge" metric)

    With enough tinkering, you'll learn 1) Duplicated my data source with a "counter" type to interpret the data (no math required) 2) Assign to necessary device groups 3) Add data to widgets as expected.
  4. Hello, I'm currently looking to create a dashboard to show a representation of hits on a counter that are collected as "gauge" (specifically, this value is from SNMP and should only increase as it is "TotalPolicyHits"). However, I'm looking for a meaningful way to represent this total on a dashboard. Currently we have 4 principal things we're looking to visualize: Whitelisted IP hits, Blacklisted IP hits, "friendly location" IP hits, "Unfriendly location" IP hits. In terms of data, "friendly" location is a huge number relative to the others (~14x more than the next number). I was wondering what options may look the best for visualizing this. I had the idea that it may be better to instead to represent the data as a rate (i.e. 80% of the hits are from the friendly policy, 10% from unfriendly, 5% from whitelist, 5% from blacklist) over the last interval. However the current counter is stored as a gauge and comes from SNMP as counter. I've looked over the documentation and am unclear if I need to add another datapoint as 'derive' which will recalculate that for me, or if I need to do math to represent it. Since these are "Total" values that will only increase, is there a way I can do the math to calculate CurrentReading - LastReading to get the difference? I didn't see anything like that in the Datapoint expressions page. Any advice you can give would be appreciated.