A “Unable to check backup media” alarm was fired in Foglight while monitoring SQL Server backup locations on a network share.
The alarm was triggered by the following error:
Failed to get free space of disk [\\SERVER\BACKUPSHARE\] . Reason: Access is denied.
java.lang.Exception: Access is denied.
This error means Foglight cannot access the backup location to check disk space, which prevents successful monitoring and triggers the alarm.
Foglight’s Agent Manager (FglAM) service runs OS-level commands (like checking free disk space) to monitor backup shares.
The Windows account running the FglAM service is the one used for all file system and network share access.
If this account does not have proper permissions to the backup folder (both Share and NTFS), Foglight cannot check the media and will trigger the alarm.
Note:
If you’re not using a named user:
dir \\SERVER\BACKUPSHARE\
Troubleshooting Tip:
If you’re using a mapped drive (e.g., Z:\), always test with the UNC path (`\\SERVER\SHARE`). Services like FglAM cannot access mapped drives defined for user sessions.
If you change the FglAM service account:
If you change the FglAM service account, always update permissions on all relevant backup shares and folders, and coordinate with IT if managed service identities or group policies are involved.