Troubleshooting remote monitoring issues
This section provides the causes and resolution of the remote monitoring issues.
If LOGCollectionStatus parameter annotates an error or if the remote monitoring is not working and the BMC PATROL for Log Management KM instances are not being discovered, then the following methods help you to troubleshoot the issue and find out the root cause.
Troubleshooting insufficient copy privileges
- Log into the remote host machine with the same user credentials that is used by the BMC PATROL for UNIX and Linux KM for remote monitoring.
- Create a file under the path $HOME/patrol/BMCPatrol/
- In case you were not able to create the file.
- Use another user for remote monitoring.
- Change the user permissions to qualify copying and executing the pmgreader file.
- In case you were not able to create the file.
Troubleshooting unsupported target
- Log into the remote host machine and run the following cat /etc/*-release command. Check if the returned value is supported by the target machine in the system requirements.
Open the KM logs and check from which folder the pmgreader file is being copied. You need to look for a debug message that matches the following:
Copying pmgreader file from source <SOURCE_PATH> to host <HOSTNAME>, directory <DESTINATION_PATH>Check if the source path folder you found at the logs exists under $PATROL_HOME/pmg/ directory.
If the folder does not exist and there are similar name conventions, this is due to compiling the pmgreader file on newer OS versions.
For example, the log represents the source path as AIX5.2 but under the pmg path you have AIX5.3. This may happen due to compiling the pmgreader file on newer version of AIX OS but it still works on the remote host.
Troubleshooting corrupted pmgreader issues
- Log into the remote machine using the following path: $HOME/patrol/BMCPatrol/
- Run the ./pmgreader –v command
You should be able to see the Log KM version (same version as in the host machine)
- In case, if the command shows an error message, it indicates that the file is corrupted.
For example, if the pmgreader file is corrupted then it throws an error message.
- In case, if the command shows an error message, it indicates that the file is corrupted.
To check if the pmgreader is corrupted by using cksum
You can check the exact file size by using the cksum pmgreader command and do a check between both the pmgreader files at the source and destination directories.
For example, checking the cksum result on remote and local pmgreader files.
Remote host

Local host
