Antony Hawkins

Idle_Days PropertySource to identify long-term down devices

Recommended Posts

This PropertySource calls the LogicMonitor API to find the latest idleInterval value and converts it to the whole number of days a device has been down for. In many cases this will be zero, obviously.

This value is written to a device property, auto.idledays, on each device.

This can then be used to create dynamic groups with rules such as, for example:

auto.idledays > 28

...to identify long-term dead devices that you should attend to, by fixing or deleting. These groups can also, naturally, be used in reporting and dashboards to easily visualise relevant device counts.Useful if you have 1,000s of devices and find it difficult to keep on top of those that no longer exist.

You will need to create an API token set (ID and Key) for a user account with (at least) view permissions to all devices in your account, and set these at the root level of your device tree as properties apiaccessid.key (the 20 character ID) and apiaccesskey.key (the 40 character key).

v1.0.0: TYTXCL

Edited by Antony Hawkins

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
Reply to this topic...

×   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.