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 Error found in the remote monitoring logs "nukremotexec.xpc: XPC error 32 -- Broken pipe" errors." | Verify the following:
To resolve the error "nukremotexec.xpc: XPC error 32 -- Broken pipe" errors.", perform the following actions: Set the SUID (Set owner User ID up on execution), change the permissions, and restart PATROL Agent. The permissions would be the following:
If the issue is still unresolved, try the following workarounds: Check for the logs in the following folder - /var/log/secure, whenever disconnect happens for this particular trace Jul 6 18:47:13 vl-pun-bpm-qa49 sshd[11873]: fatal: mm_request_receive_expect: read: rtype 125 != type 115 You can take any of the following approach:
If the issue is not resolved, contact BMC Support with the following logs:
|
Remote monitoring is not working from 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:
|