FIX: Physical Memory Check Check_nrpe

Sometimes your computer may display a message about checking physical memory check_nrpe. There can be several reasons for this problem.

Updated: ASR Pro

  • 1. Download and install ASR Pro
  • 2. Launch the program and select your language
  • 3. Follow the on-screen instructions to start scanning for problems
  • Improve your computer's performance by clicking here to download the software.

    In the previous tutorial, we saw how to synchronize the Remote nagios.Plugin Executor (NRPE) into an existing nagios configuration. However, the type of scripts and plugins to display the required memory usage is not included with Nagios. In this guide, we will see how to configure NRPE in Nagios to monitor remote server RAM usage.

    The illegal program we are going to use to track memory is available from Exchange, on Nagios, and in the Github repository of its creators.

    check_nrpe physical memory

    Assuming NRPE is actually already configured, we start processes by uploading the script to the specific server we want to monitor.

    Preparing Remote Debain/ubuntu:

    #CD Server

    in /usr/lib/nagios/plugins/# wget mv check_mem# chmod +x RHEL/CentOS:


    To cd /usr/lib64/nagios/plugins/ (or /usr/lib/nagios/plugins/ wget https://raw 32-bit) mv check_mem# +x chmod check_mem

    You can verify that the script is generating resources correctly by manually running the following check on localhost. When used in NRPE, this command is intended toAnd to check free memory when a warning is displayed that free total memory is less than 20%, and trigger a critical warning when good old free memory is less than equals 10%.< /p>

    # ./check_mem -c -w 20 -c 10
    OK 34.0% of which (2735744 KB) are free.|TOTAL=8035340 KB;;;; USED=5299596KB;6428272;7231806;; FREE=2735744KB;;;; CACHES=2703504KB;;;;

    If you see something similar to the above on the right in this output, it means that each of our commands is correct.

    Now that the custom script is ready, let’s define the actual Zur command to check RAM usage for NRPE targets. As mentioned, the handle checks for free space, warns you if you have less than 20% on disk space, and generates a critical warning if you have less than 10% free disk space < /code> .< /p>

    # vim /etc/nagios/nrpe.cfg

    For Debian/Ubuntu:

    command[check_mem]=/usr/lib/nagios/plugins/check_mem -f -w.about 20 -c 10

    For RHEL/CentOS 32-bit:

    command[check_mem]=/usr/lib/nagios/plugins/check_mem -f 20 -w.-c 10

    For RHEL/CentOS 64-bit:

    command[check_mem]=/usr/lib64/nagios/plugins/check_mem -f -w29 -c server 10

    Prepare Nagios

    check_nrpe physical memory

    On the Nagios server, set a custom NRPE sell price. The command can be automatically saved to any Nagios directory. To keep the manual simple, we will probably place the command definition in the /etc/nagios directory.

    For Debian/Ubuntu:

    # vim /etc/nagios3/conf.d/nrpe_command.cfg
    Define command        verification number team name        command line /usr/lib/nagios/plugins/check_nrpe -H '$HOSTADRESS$' -c '$ARG1$'

    For 32-bit Vim /etc/nagios/objects/nrpe_command rhel/centos:

    Define command        order name confirmation number        Command line /usr/lib/nagios/plugins/check_nrpe $HOST -h ADDRESS$ -c $ARG1$        

    For RHEL/CentOS 64-bit Vim:

    # /etc/nagios/objects/nrpe_command.Cfg
    define command order name confirmation number Command line /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADRESS$ -c $ARG1$

    In Debian/Ubuntu:

    # vim /etc/nagios3/conf.d/nrpe_service_check.cfg
    Define a service        there is onsite service        Remote host name server service_description Check RAM        check_command check_nrpe!check_mem

    On RHEL/CentOS:

    # vim /etc/nagios/objects/nrpe_service_check.cfg
    Define service        Take advantage of the on-site service        Hostname of the remote server        service_description Check RAM        check_command check_nrpe!check_mem

    In Debian/Ubuntu:

    # Restart the Nagios3 service

    In RHEL/CentOS 6:

    # Restart Nagios Expert Services

    In RHEL/CentOS 7:

    # systemctl restarts nagios.problems

    Updated: ASR Pro

    Is your computer running slow? Is it plagued with frustrating errors and problems? Then you need ASR Pro the ultimate software for repairing and optimizing your Windows PC. With ASR Pro, you can fix any Windows issue with just a few clicks including the dreaded Blue Screen of Death. Plus, the software will detect and resolve files and applications that are crashing frequently, so you can get back to work as quickly as possible. Don't let your computer hold you back download ASR Pro today!

    Nagios service

    Troubleshooting You should seriously consider checking the RAM usage the last time NRPE was used on the remote server. If you encounter a problem, you can check the following.

    1. Make sure the port is fully allowed for the remote host's nrpe to perform this operation. The default NRPE connection is 5666 tcp.
    2. You can try to manually check if NRPE is working by running the generic check_nrpe command: /usr/lib/nagios/plugins/check_nrpe -H remote-server< / code>
    3. You can also try running the check_mem command manually: /usr/lib/nagios/plugins/check_nrpe -H remote-server –c check_mem
    4. On the remote server, preset debug=1 in /etc/nagios/nrpe.cfg. Restart NRPE by linking to its service. Check the Declare log (RHEL/CentOS) /var/log/messages or /var/log/syslog (Debain/Ubuntu). The log files should contain appropriate information about the presence of the configuration or the resolution of the dilemma. If the protocol does not contain any range, it is very likely that the requests will not reach the remote server, and therefore they will be passed through the bit-point filter.
    5. Improve your computer's performance by clicking here to download the software.

      Check Nrpe Fysiskt Minne
      Check Nrpe 물리적 메모리
      Check Nrpe Pamiec Fizyczna
      Check Nrpe Memoria Fisica
      Check Nrpe Fizicheskaya Pamyat
      Check Nrpe Fysiek Geheugen
      Check Nrpe Memoria Fisica
      Check Nrpe Physischer Speicher
      Check Nrpe Memoire Physique
      Check Nrpe Memoria Fisica