Results 1 to 8 of 8

Thread: NRPE

  1. #1

    NRPE

    I'm having problems getting NRPE working with arguments

    I downloaded and setup everything and basic things work:

    [tt][shinken@server-monitor-1 plugins]$ ./check_nrpe -H server-linux -c check_users
    USERS OK - 2 users currently logged in |users=2;5;10;0
    [/tt]

    But if I try to feed any parameters, it fails:

    [tt]
    [shinken@server-monitor-1 plugins]$ ./check_nrpe -H server-linux -c check_users -a 1
    CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
    [/tt]

    To make matters worse, check_disk is just acting weird but it may be based on the parameter problem:

    [tt]
    [shinken@server-monitor-1 plugins]$ ./check_nrpe -H server-linux -c check_disk
    NRPE: Command 'check_disk' not defined
    [shinken@server-monitor-1 plugins]$
    [/tt]

    If I feed it parameters I get the same error

    [tt]
    [shinken@server-monitor-1 plugins]$ ./check_nrpe -H server-linux.dazsi.net -c check_disk -a -w 10 -c 5 /
    CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
    [/tt]

    These commands are valid on the remote host (although check_users seems to need parameters, when used remotely it does not? ??? )

    [tt]
    [shinken@server-linux libexec]$ ./check_disk -w 10 -c 5 /
    DISK OK - free space: / 4960 MB (7% inode=94%);| /=57884MB;66197;66202;0;66207
    [shinken@server-linux libexec]$ ./check_users


    Usage:
    check_users -w <users> -c <users>
    [shinken@server-linux libexec]$ ./check_users 1
    USERS CRITICAL - 2 users currently logged in |users=2;1;-1;0

    [/tt]

    I really need to be able to monitor disk space remotely.

    What am I doing wrong? :-[

    == John ==

  2. #2
    Administrator Frescha's Avatar
    Join Date
    May 2011
    Posts
    183

    Re: NRPE

    Did you define the command on the server? like command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
    You have to customize the remote host configuration i think...

  3. #3

    Re: NRPE

    Ah! I need to edit the nrpe.cfg file :-[

    Thanks! I'll fiddle with that.

    == John ==

  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: NRPE

    Yes, and if you need arguments, you will need to enable in nrpe.cfg:
    dont_blame_nrpe=1

    Without it, it will not take arguments.
    No direct support by personal message. Please open a thread so everyone can see the solution

  5. #5
    Junior Member
    Join Date
    Jul 2019
    Posts
    21
    Heaps of the organizations make the apply autonomy which encourages you in various sort of the works. Gamers should try https://lowdepositcasino.com/1-dollar-deposit-casino/ to spend their time with great casino games. Perhaps you see the robot all over the place.

  6. #6

  7. #7
    Junior Member
    Join Date
    Dec 2019
    Posts
    7
    Is there anyone who know what exactly is NRPF. I am looking forward towards https://www.topdissertations.org/une...rs-com-review/ this source soon. I have something to do with it but frankly speaking i don't know from where to start. If anyone out there has any info about this topic then kindly add some facts here with us.

  8. #8
    Junior Member
    Join Date
    Apr 2020
    Posts
    20
    Cuando no puedo levantar su órgano sexual, le recomendaría encarecidamente que intente llamar su atención aquí en este sitio comprar cialis generico online , ya que es gracias a él que siempre puedo levantar mi pene, estoy seguro de que también tendrá éxito

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •