-->

DEVOPSZONES

  • Recent blogs

    NRPE: Unable to read output

    NRPE: Unable to read output


    Solution:

    1. Check if you have plugins for the right arch, i.e. if your client is x86_64 your plugins should be of 64 bit arch.
    2. The plugin should be executable.
    3. The nrpe user (nagios) should have execute permission for the plugins.




     [root@nagiosClient plugins]# ls -la check_swap
    -rwxr-xr-x 1 root root 54025 Aug 30  2012 check_swap
    [root@nagiosClient plugins]# file check_swap
    check_swap: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
    [root@nagiosClient plugins]# uname -a
    Linux nagiosClient 2.6.18-164.6.1.el5 #1 SMP Tue Oct 27 11:30:06 EDT 2009 i686 i686 i386 GNU/Linux
    [root@nagiosClient plugins]#





      
      

    No comments