Tom S-L

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tom S-L

  • Rank
    Community Whiz Kid

Recent Profile Visitors

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

  1. Thanks Kerry, this is a good start. As stated I need to check datapoints from multiple servers and alert if, say, 2/3 had an issue. If I can pass the result on to more steps then this will work as a website check.
  2. Hi, I have a datasource that uses a regex to pull values out of some JSON and graphs numerous values. This runs on multiple hosts and the host goes critical if a particular value hits 0. I don't want the individual servers to go critical, I'd like a service/website check to go critical if two out of three sites return the zero value in their JSON response. I can write a datasource to check the JSON from each site but then I have to apply it to a host, or multiple hosts, and that defeats the point as I don't care if a single one goes away. Is it possible to create a website check that takes in the JSON, extracts the data required, then passes it on to be used in another step which checks the next site, can I alert on values within the response? Is this even the right way to do it? It would be great if a datasource could be run from a collector group rather than tied to a specific host!
  3. I know I can't change line colours if there is a glob used, in my current case, no globs are being used. I also can't change the colour of virtual datapoints on a custom graph widget when I can change all the standard ones
  4. Just going back through some older posts...We 'solved' this by adding virtual datapoints woith static values to custom graph widgets on our dashboards. Although not ideal, and certainly doesn't turn the background a different colour, it has sufficed in our case.
  5. Can someone explain logic for when I can and can't change line colours on the custom graph widget? Some I can change quite happily but on others the 'Color' drop down option is set to auto and greyed out. this is maddening when I have multiple lines, stick a virtual datapoint in for an SLA line and can't change the colours so they all match (for example).
  6. Did this ever get any traction within LogicMonitor? it's something we really need as LM is pushed out to many departments.
  7. ...Additionally, why is the query (even the working one) giving "Statistics: [Average, Maximum, Minimum, SampleCount, Sum]" when I've specified Average/Sum? ...and how do I change the "Period: 60"? Specifying period manually for the datapoint isn't updating the query shown in Poll Now.
  8. Hi Sarah, Yes I've tried the Poll Now feature, It gives an HTTP status code of 200 with Error Code/Message both showing None. Both tried around 13:00 BST, request descriptions as follows: Not working (NaN) but returning HTTP200 and no errors: Metric Path: SBProxy>E2EMetric>Sum Req Desc: {Namespace: SBProxy,MetricName: E2EMetric,Dimensions: [],StartTime: Wed Sep 06 04:30:00 PDT 2017,EndTime: Wed Sep 06 05:00:00 PDT 2017,Period: 60,Statistics: [Average, Maximum, Minimum, SampleCount, Sum],} Working Metric Path: SBProxy>AutoScalingGroupName:##sbbroker_asg_name##>FileSize>Average Req Desc: {Namespace: SBProxy,MetricName: FileSize,Dimensions: [{Name: AutoScalingGroupName,Value: [ASG_name_here]}],StartTime: Wed Sep 06 04:30:00 PDT 2017,EndTime: Wed Sep 06 05:00:00 PDT 2017,Period: 60,Statistics: [Average, Maximum, Minimum, SampleCount, Sum],} A dimensionless example in the docs would be great thanks.
  9. I'm also not getting any data back for metrics with a resolution anything other than 1 minute
  10. I've been creating datasources to collect our custom AWS Cloudwatch metrics as per the docs: https://www.logicmonitor.com/support/monitoring/cloud/monitoring-custom-cloudwatch-metrics/ - mainly this is fine... However it can't cope with dimensionless metrics: "Namespace>Dimensions>Metric>AggregationMethod, where Dimensions should be one or more key value pairs" I've tried creating datapoints without a dimension but it returns NAN (probably because LM requires "one or more key value pairs" for dimensions). We currently use a Python script to collect most our custom metrics but it's resource intensive for our collectors and I'm trying to move away from it. Does anyone know of a way to use the 'AWS CLOUDWATCH' collector with dimensionless metrics?
  11. Sure... e.g. resourcePath = '/device/devices/73023/devicedatasources/1573061/instances/1928726/data' Two alternative queries: queryParams = '?datapoints=requests_queue_depth_priority_higher' queryParams = '?datapoints=requests_sent_to_team_last_day' Results - note the data is identical, also, "requests_queue_depth_priority_higher" should be a list of integers as per attached image: Response Status: 200 Response Body: { "status" : 200, "errmsg" : "OK", "data" : { "dataSourceName" : "[can't say sorry]", "dataPoints" : [ "requests_queue_depth_priority_higher" ], "values" : [ [ 0.0249 ], [ 0.0337 ], [ 0.0155 ], [ 0.044 ], [ 0.0476 ], [ 0.0817 ], [ 0.0646 ], [ 0.0589 ], [ 0.0201 ], [ 0.0686 ], [ 0.0589 ], [ 0.0713 ], [ 0.0926 ], [ 0.0354 ], [ 0.034 ], [ 0.0418 ], [ 0.0785 ], [ 0.06 ], [ 0.0434 ], [ 0.0998 ], [ 0.1075 ], [ 0.0537 ], [ 0.0934 ], [ 0.0964 ], [ 0.1088 ], [ 0.1086 ], [ 0.1251 ], [ 0.1058 ], [ 0.0316 ], [ 0.0932 ] ], "time" : [ 1504198000000, 1504197880000, 1504197760000, 1504197640000, 1504197520000, 1504197400000, 1504197280000, 1504197160000, 1504197040000, 1504196920000, 1504196800000, 1504196680000, 1504196560000, 1504196440000, 1504196320000, 1504196200000, 1504196080000, 1504195960000, 1504195840000, 1504195720000, 1504195600000, 1504195480000, 1504195360000, 1504195240000, 1504195120000, 1504195000000, 1504194880000, 1504194760000, 1504194640000, 1504194520000 ] }, "nextPageParams" : "" } Response Status: 200 Response Body: { "status" : 200, "errmsg" : "OK", "data" : { "dataSourceName" : "[can't say sorry]", "dataPoints" : [ "requests_sent_to_team_last_day" ], "values" : [ [ 0.0249 ], [ 0.0337 ], [ 0.0155 ], [ 0.044 ], [ 0.0476 ], [ 0.0817 ], [ 0.0646 ], [ 0.0589 ], [ 0.0201 ], [ 0.0686 ], [ 0.0589 ], [ 0.0713 ], [ 0.0926 ], [ 0.0354 ], [ 0.034 ], [ 0.0418 ], [ 0.0785 ], [ 0.06 ], [ 0.0434 ], [ 0.0998 ], [ 0.1075 ], [ 0.0537 ], [ 0.0934 ], [ 0.0964 ], [ 0.1088 ], [ 0.1086 ], [ 0.1251 ], [ 0.1058 ], [ 0.0316 ], [ 0.0932 ] ], "time" : [ 1504198000000, 1504197880000, 1504197760000, 1504197640000, 1504197520000, 1504197400000, 1504197280000, 1504197160000, 1504197040000, 1504196920000, 1504196800000, 1504196680000, 1504196560000, 1504196440000, 1504196320000, 1504196200000, 1504196080000, 1504195960000, 1504195840000, 1504195720000, 1504195600000, 1504195480000, 1504195360000, 1504195240000, 1504195120000, 1504195000000, 1504194880000, 1504194760000, 1504194640000, 1504194520000 ] }, "nextPageParams" : "" }
  12. Hi Sarah, Thank you for getting this pushed through so quickly - the Datapoint Filter shows me a reduced set of data which is a good start...unfortunately, it doesn't matter which datapoint I filter on, I always get the same data back even though "dataPoints" : [ "my_data_point" ], shows correctly in the result. Should I raise this with LM support? Thanks, Tom.
  13. Great, thanks Sarah.
  14. I've been trying to get data for individual datapoints within a single instance datasource via the REST API, in this case there are ~twenty datapoints and I only want data for one of them. Using get_data: https://www.logicmonitor.com/support/rest-api-developers-guide/data/get-data/ I can pick out my datasource, however I can't find any information on filtering by datapoint. When I get data, the datapoints are all listed in an array, then the data is presented as an array of arrays for the last hour...I could get the position of the datapoint in the first array, then pick out the data using that position for each array listed in the data but that feels like a bad road to travel. query is essentially: "resourcePath = '/device/devices/73023/devicedatasources/1573061/instances/1928726/data'" Right now I'm adding the datapoints I want to a custom graph, I can then pull out the data for that custom graph e.g. "resourcePath = '/device/devices/73023/devicedatasources/1573061/instances/1928726/graphs/3133/data'" (with multiple lines I can pick specific data by checking the line label). Although this works fine, it still feel like an additional step. What I'd really like is: "resourcePath = '/device/devices/73023/devicedatasources/1573061/instances/1928726/ [datapoint/datapointID] /data'" but I can't see an ID for datapoints or an option for putting a 'name' in. Have I missed something? Does anyone already do this in a simple way?
  15. How would one get on the beta for testing a network diagram feature? Also hoping for generic drawing area (blobs, lines, boxes, labels) for complex infrastructure systems flow!