param not found error in datapoint mapping
Hello, I am new to LogicMonitor and need some help. I was working on creating a datasource where the groovy script returns line based output like: QueueDepth.Queue_Name_1=24 QueueDepth.Queue_Name_2=20 The datapoints are created like: Queue_Name_1 →Key- ##WILDVALUE##.Queue_Name_1 Queue_Name_2 →Key-##WILDVALUE##.Queue_Name_2 However, when the data gets polled, it is unable to retrieve it: NaN param not found in output - (method=namevalue, param=.Queue_Name_1) Can someone please let me know what I am missing here. Regards, Shivam210Views8likes9CommentsCan the API get the alert rule associated to a datapoint on a DS instance?
I have been hunting through the swagger docs, and I can’t seem to find a way to get the alert rule or alert routing being applied to a specific datapoint on a specific datasource instance. I’ve looked for routing, tuning, etc and I’m not seeing anything. I want to write a script that looks through every resource, snags the Host Status instance specific to that object, looks at the idleInterval datapoint, and then shows me the Alert Routing information. We found an old alert rule that was set up wrong and accidentally was letting idleInterval alerts slip through. So I want to write a script that shows me what they all are. I can drill down to the specific host status instance on the resource, but nothing actually shows me the alert routing, that I can find. There is an alertsettings and a config call one can make against the datasource, but they dont show the actual routing. Is there an API call I’ve overlooked? Or is this something you can’t pull back via API? Thanks!Solved74Views14likes5Commentshow to construct Regex datapoint statements
I am not finding much documentation on how to construct regex statements for a datapoint other than this: https://www.logicmonitor.com/support/logicmodules/datasources/datapoints/normal-datapoints My goal is to convert a string from an SNMP walk. I currently can return the OID and receive the raw value. My attempts so far have resulted in NaN: datapointName:\[^\\d]", "” datapointName:\"-.*", "" OID is .1.3.6.1.4.1.9.9.156.1.1.2.1.4.1 Raw value is 12.5.1.16900-48 Thanks for any assistance.Solved338Views8likes6CommentsLogicMonitor "Application ELB" Datasource returns NoData instead of metric for ELB 5XX
We have noticed "HTTPCode_ELB_5XX_Count” Datapoint from"AWS_Application_ELB” Datasource configured to collect"Raw Data” from AWS ELB following the Metric path "AWS/ApplicationELB>LoadBalancer:##system.aws.resourceid##>HTTPCode_ELB_5XX_Count>Sum” and whenever it detectsCloudwatch metrics has value, it returns value in Logicmonitor datapoint as well Example: (When Cloudwatch has metrics for 5XX, below displays in poll) HTTPCode_ELB_5XX_Count 18.0 (When Cloudwatch has empty/null metrics, below displays in poll) HTTPCode_ELB_5XX_Count NoData But after we resolve the5XX error, Cloudwatch metrics value will be empty/null in awsthat reflectsNoData for the Datapoint in LogicMonitor. Our Requirement: We should not get NoData even if the CloudWatch metrics empty/null Could someone please suggest a solution for this requirementSolved99Views4likes3Comments