• 0
WillFulmer

File / Database Size Monitoring

Question

Is there a good datasource out there to monitor the size on disk of a specific file or folder? I would love the Microsoft Exchange datasource (or other) to be able to deliver and track the total size of the database.

Thoughts?

Will

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

@WillFulmer - the *best* way to do this is probably going to be a PowerShell datasource (I have one that I need to clean up and then I can share it out here.) In the meantime, you can use the built-in UNC path monitoring to keep an eye on the database directory and track the total size of that folder.

For example - I went to my Exchange server, selected 'Add Other Monitoring' and plugged in a UNC path to a hidden share that's accessible to the collector account:

image.png.d75437ad4cee3ae201713ad3b72abbb1.png

Which yields the following results:

image.thumb.png.223d087112dc0037dfb84740b9ff6b41.png

Give me a little bit of time to try and cook up the PowerShell version of an Exchange database size datasource - and I'll circle back and publish it here. 

Cheers,

Kerry

Share this post


Link to post
Share on other sites
  • 0
16 minutes ago, Kerry DeVilbiss said:

@WillFulmer - the *best* way to do this is probably going to be a PowerShell datasource (I have one that I need to clean up and then I can share it out here.) In the meantime, you can use the built-in UNC path monitoring to keep an eye on the database directory and track the total size of that folder.

For example - I went to my Exchange server, selected 'Add Other Monitoring' and plugged in a UNC path to a hidden share that's accessible to the collector account:

image.png.d75437ad4cee3ae201713ad3b72abbb1.png

Which yields the following results:

image.thumb.png.223d087112dc0037dfb84740b9ff6b41.png

Give me a little bit of time to try and cook up the PowerShell version of an Exchange database size datasource - and I'll circle back and publish it here. 

Cheers,

Kerry

Yes!!

Share this post


Link to post
Share on other sites
  • 0

Hey @WillFulmer,

Here's a DataSource that uses the PowerShell 'Get-MailboxDatabase' command to retrieve the size of the Exchange mailbox databases. I've tested it against both Exchange 2013 and Exchange 2016, but as usual, this is "officially unsupported" by LogicMonitor. The script should detect wmi.user and wmi.pass if set, otherwise it will attempt to use the Windows service account that the collector runs as.

MicrosoftExchange_DatabaseSize should be available (our DataSource team will need to approve it first) via locator code: M2D7ZY

image.thumb.png.3e13d9768c1c7d5c2984017b7c2b976f.png

Cheers,

Kerry

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.