Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Server & Application Monitor (SAM) > File Count Monitor is incorrect

File Count Monitor is incorrect

Updated November 29, 2017

Overview

The SAM file count monitor counts more files than what displays in File Explorer.

Environment

  • All SAM versions

Cause

File Explorer may be hiding the files. 

Detail

Configure File Explorer to display all hidden files.

View the number of files in the folder

  1. Log in to the server hosting SAM.
  2. Open the Control Panel and click Appearance and Personalization.
  3. Click Folder Options.
  4. Click the View tab and select show hidden files, folder, and drives.
  5. De-selct Hide protected Operating System files (Recommended), and click Apply.
  6. Open the fold and ensure the files display.

List the file names that the file monitor is counting

Perform the following wbemtest query. This query includes all files in all subdirectories. 

select Name, Path, Drive from CIM_DataFile WHERE Drive = 'C:' and path like '\\ProgramData\\Solarwinds\\Agent\\%'

List the files (and not directories) under a specific directory 

Perform the following query:

select Name, Path, Drive from CIM_DataFile WHERE Drive = 'C:' and path like '\\ProgramData\\Solarwinds\\Agent\\'

 

 

 

Last modified

Tags

Classifications

Public