logmon probe can't see files in folder / path
search cancel

logmon probe can't see files in folder / path

book

Article ID: 438328

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

  • I'm using logmon and while browsing through the folders in the logmon UI there are some folders that empty.

  • Although there are files in the folders, I don't see any files in it. 

  • The logmon probe is unable to show the content of a specific path in the system where it is deployed. 

  • logmon is unable to see files within a specific folder, resulting in an "empty folder" view. This occurs despite the robot being installed with a user that has sudo root access and that same user being able to see the files when logged into the server manually. Why could this occur? 

Environment

  • DX UIM 23.4.*
  • logmon
  • linux

 

Cause

In linux, the user running the robot where logmon is installed or the specific user that is running logmon, to access a folder must have the Execute (x) permission on every single directory in the path leading to the target. If any of the folder don't have this permission, the target folder will show an empty folder view. 

Resolution

  • Check the permissions on the folder structure and verify if you have the permission to show the file within the probe. 
  • Run the following command and look for any directories where the robot user lacks x permissions. 

    namei -m /full/path/to/target/folder