Troubleshooting PATROL for Linux KM
This section provides you information to troubleshoot the KM:
- Error messages
- Filesystems-related issues
- Process-related issues
- Debug
- Remote monitoring-related issues
- Data collection-related issues
Error messages
This section describes some common error messages that you might encounter while running PATROL for Linux, and provide suggested resolutions for the errors. The messages in the KM use a prefix to identify which application or collector sent the message. Find the prefix you are interested in for a list of the messages associated with that application or collector.
Filesystems-related issues
Issue | Solution |
|---|---|
Filesystem parameters still collect data even if the monitored filesystem has been unmounted from server | Any of the following solution might resolve your issue:
If the issue is not resolved, contact BMC Support with the following logs:
|
Filesystem instance label name is incorrect | If the FILESYSTEM instance label consists of more than 20 characters, the display name of the instance label is truncated by default. The /NUK/NUK_FileSystem_Container/dispFullName pconfig variable enables you to display the complete FILESYSTEM instance label. You can assign the following values to this variable:
Example /NUK/NUK_FileSystem_Container/dispFullName" = { REPLACE = "1" } If the issue is not resolved, contact BMC Support with the following logs:
|
Filesystem exclusion does not work or how to disable alerts for unmounted filesystem | Check the filesystems type. For example, the /run/user/* filesystems have type tmpfs. To know the filesystem type, run the following command: mount | grep <filesystemName> (example - mount | grep /run/user/*) When these filesystems get unmounted, mount command does not show entries for such file systems . Therefore, "type" of such instances is not available. Check if the below rules are present. If these rules are not present, the exclusion is not successful: "/ConfigData/NUK_FileSystem_Container/customFilterEnabled" = { REPLACE = "1" }, "/ConfigData/NUK_FileSystem_Container/customFsType" = { REPLACE= "tmpfs" }, To fix, see Configuring-FileSystems and restart PATROL Agent. If the issue is not resolved, contact BMC Support with the following logs:
|
How to enable default monitoring of all filesystems using Linux KM? How to include specific file system monitoring from TrueSight Policy? | By default, only the following filesystems are monitored:
To monitor all filesystems, add the following regular expression to the Include field “.*” while configuring the Filesystems monitor type. For more information, see Configuring-FileSystems. Including all filesystems for monitoring puts unnecessary load on PATROL Agent, but you can add regular expressions to include filesystems to monitor. You can include or exclude a filesystem from monitoring by adding comma-separated regular expressions in the Include and Exclude fields. For example, ^/scripts, ^/mnt, ^/local/utils. If the issue is not resolved, contact BMC Support with the following logs:
|
Filesystem is present in df -h but is not monitored | Perform the following actions:
|
How to exclude a specific filesystem monitoring from TrueSight policy? | If you are trying to exclude /run/user/* filesystems and still getting events, note that /run/user/* filesystems have type "tmpfs". When these filesystems get unmounted, mount command does not show entries for such file systems hence "type" of such instances is not available on server. As "type" is no more available, the following rules would not work: "/ConfigData/NUK_FileSystem_Container/customFilterEnabled" = { REPLACE = "1" }, "/ConfigData/NUK_FileSystem_Container/customFsType" = { REPLACE= "tmpfs" }, To fix this scenario, perform the following actions while configuring the FileSystems monitor type. For more information, see Configuring-FileSystems.
If the issue is not resolved, contact BMC Support with the following log: File system Debug (to check if the filesystem is discovered by the agent and KM). |
How to enable default monitoring of all filesystems using Linux KM? How to include specific file system monitoring from TrueSight Policy? | By default, only the following filesystems are monitored:
To monitor all filesystems, add the following regular expression to the Include field “.*” while configuring the Filesystems monitor type. For more information, see Configuring-FileSystems. Including all filesystems for monitoring puts unnecessary load on PATROL Agent, but you can add regular expressions to include filesystems to monitor. You can include or exclude a filesystem from monitoring by adding comma-separated regular expressions in the Include and Exclude fields. For example, ^/scripts, ^/mnt, ^/local/utils. If the issue is not resolved, contact BMC Support with the following logs:
|
Process-related issues
Issue | Solution |
|---|---|
Process monitor unable to start a process (Process Monitoring for Linux) | This issue has been fixed in PATROL for Linux version 1.2.00.04. Upgrade to the latest version of the KM to resolve the issue. For more information, see Upgrading. |
Debug
Issue | Solution |
|---|---|
How to enable debug? | The Linux Debug monitor profile enables you to configure the KM debugging. You can enable debugging for various monitor types for a particular host. For more information, see Configuring-Linux-Debug-monitor-profile. You can also perform the following actions and enable debug:
|
Remote monitoring-related issues
Issue | Solution |
|---|---|
| Remote monitoring prerequisites | To establish a stable connection between the PATROL Agent and a remote host, complete the following validation and configuration steps: Verify basic connectivity and accessPerform the following validations from the PATROL Agent server:
Validate SSH configuration on the remote hostVerify the following configuration settings in /etc/ssh/sshd_config: PAM Setting The UsePAM value must align with your security policy. To configure the UsePAM value, do the following:
Session Limits The MaxSessions parameter is appropriately configured. To configure the MaxSessions value, do the following:
Review remote host system logsIf connectivity fails, inspect the SSH logs on the remote host at /var/log/secure. (Optional) Disable privilege separation (SSH workarounds for remote host)Apply the following configuration only if all previous validations fail to resolve the issue:
This may help resolve session issues caused by privilege separation. Password‑based authentication requirementsIf the monitoring policy uses password-based authentication, you must explicitly enable password authentication on the remote host as follows:
Contact BMC SupportIf the issue persists after completing the above steps, please collect and provide the following to BMC Support:
|
Remote monitoring is not working on the Linux OS | Resolve "Broken pipe" errorThe occurrence of the message nukremotexec.xpc: XPC error 32 -- Broken pipe in the PATROL Agent error logs indicates permission or dependency issues. Perform the following steps on the PATROL Agent host:
Cipher compatibilityFor remote monitoring to work, the PATROL Agent and the remote host must support compatible SSH ciphers. Mismatched or deprecated ciphers can cause unexpected disconnects. |
| Remote monitoring is not working on Windows OS. | This issue may happen if the PATROL Agent default account directory is missing in c:\Users directory. To create this folder user can run the below command from the command prompt: For example: runas /user:win-host-name\patroluser cmd Enter the password for patroluser: Attempting to start cmd as user "win-host-name\patroluser" ... ssh client (Linux KM) will create .ssh directory under C:\Users\patroluser directory. .ssh directory is required for SSH key management. |
| MountStatus is showing Unknown status for filesystems. | This will be observed when SUDO is configured in the remote host configuration policy. Check if ‘Defaults requiretty’ is configured in /etc/sudoers file on the remote server. Add below configuration in the /etc/sudoers file to fix this issue. For example: Defaults:patroluser !requiretty |
Data collection-related issues
Issue | Solution |
|---|---|
Data is not collected for CPU and Memory Higher CPU or Memory utilization by PATROL for Linux KM | CPU Utilization
Memory Utilization
If the issue is not resolved, contact BMC Support with the following logs:
Here are the steps to obtain PATROL Agent debug logs:
|