NCPA For Passive Checks – Using Nagios Remote Data Processor
This article covers how to configure NCPA For Passive Checks.
This guide will help you to configure the Nagios Cross Platform Agent (NCPA) to send passive check results to Nagios XI or Nagios Core using Nagios Remote Data Processor (NRDP).
Check results received from external devices / applications is what defines a Passive check. It's the responsibility of the external devices / applications to send the check results through, all Nagios [XI / Core] does is wait for the results (as opposed to Active checks where Nagios [XI / Core] is responsible for performing the check on a schedule).
Passive checks reduce the load on your Nagios [XI / Core] server by reducing the number of active checks run. Passive checks are also useful for security-related and asynchronous events you wish to monitor.
WMI errors in Nagios – How to Troubleshoot and fix ?
This article covers methods to troubleshoot different WMI errors in Nagios.
WMI Error: Login to remote object in Nagios - Fix it Now ?
This article covers how to fix the WMI error for our customers.
Sometimes the standard permission levels defined in the Monitoring Windows Using WMI documentation do not expose all the monitoring capabilities of the WMI plugin.
In these cases you can elevate permissions by adding the WMI user to one of the two local groups:
- Performance Monitor Users
- Administrators
Need at least 2 WMI samples% - Fix it Now ?
This article covers how to tackle the error, Need at least 2 WMI samples%. The reason for the message is that the WMI user account does not have sufficient permissions. This can be resolved by adding the user account to the Performance Log Users security group on the windows computer.
- This can be performed by opening the Computer Management console (located in Administrative tools).
- Expand System Tools > Local Users and Groups > Groups.
- Edit the Performance Log Users security group and add the user account (wmiagent) to this group.
Restrict su access to Privileged Accounts in Linux - Steps to do it ?
This article covers how to restrict the su access in Linux.
Important things to note:
- Create a Linux group call sysadmins.
- Configure PAM to permit users from a group permission to use su.
- Switching as any other user with su will fail.
WMI ERROR: Retrieve result data - Fix it Now ?
This article covers process to fix WMI ERROR for our Customers. Due to a memory leak in the WMI functions in Windows 2008 and Windows 7, the system resources may be exhausted in the Windows system, resulting in the error message found above.
It has been seen that systeminfo and wmic commands executed via the command prompt fails in case this issue is present, displaying error messages such as:
The paging file is too small for this operation to complete.
Looking at the process list in the Windows system, it can be determined that the WmiPrvSE.exe process has allocated unusually large amounts of memory.