• 0
Luis L

LogicMonitor API

Question

Hi,

Just want to ask, how can we get the information on the volumes like volume size, volume available space and used space on the LogicMonitor API? I actually fetch the data source of many of our EC2 instances and EBS volume but it doesn't return the information/data regarding the volume size and space. the only data that I can get are the data from the AWS cloudwatch which monitor the performance of the disk. btw were using SNPM on our EC2 instance

Thanks,

 

Luis

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi Luis -

EBS volume size is provided as a LogicMonitor property if you've added your EBS volumes as cloud devices (by adding your AWS account into LM).  So to get size, you'll need to query the EBS device properties: https://www.logicmonitor.com/support/rest-api-developers-guide/devices/get-device-properties/

EBS volume space metrics aren't reported by CloudWatch, and typically can only be retrieved as OS level metrics for the EC2 instance the EBS volume is attached to.  If you've installed a Collector in your AWS environment and have added EC2 instances as regular LogicMonitor devices, the Disk Usage DataSource will automatically apply and enable you to see volume usage (assuming SNMP is running and the snmp.community property is set for the EC2 device in LM).  You can also see size metrics & percent usage with the Disk Usage DataSource.  You can get all of these usage metrics via the data resource: https://www.logicmonitor.com/support/rest-api-developers-guide/data/get-data/

Thanks,
Sarah

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.