Search found 9 matches

by danielbcjr
Sun Feb 16, 2014 5:36 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

ATTACHMENTS:
There is the log from the nagios server (/var/log/messages) -> nagios.log
nagios.log
nagios server (/var/log/messages)
(7.45 KiB) Downloaded 464 times
There is the log from the nrpe server (/var/log/messages) -> nrpe.log
nrpe.log
nrpe server (/var/log/messages)
(21.68 KiB) Downloaded 435 times
by danielbcjr
Sun Feb 16, 2014 5:18 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

Hi guys, thank you so much for helping, I´m finnaly in the middle of the journey I think. In the machines I just did I put that configs but now is just Web Interface with erros :( : Nagios NRPE -> thundernrpe I put "allow_bash_command_substitution" to 0 Comment allow_host (Cos I´m using xi...
by danielbcjr
Sun Feb 16, 2014 2:41 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

Thank you millisa =D

I´m making 2 AWS RedHAt to test it right now.
by danielbcjr
Fri Feb 14, 2014 11:48 am
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

That are the results: [root@solitude libexec]# ./check_nrpe -H 189.125.66.9 -c check_disk -a '-w 20% -c 10% -p /' CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. [root@solitude libexec]# ./check_nrpe -H <client ip> -n -c check_disk -a '-w 20% -c 10% -p /' -...
by danielbcjr
Fri Feb 14, 2014 9:02 am
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

Hi lmiltchev Tahnk you for helping. Use the command, provided by slansing: command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$ DONE Restart nrpe. /etc/init.d/nagios-nrpe-server restart Mine is: /etc/init.d/xinetd restart DONE Note: This may vary, depending on your system... Test the chec...
by danielbcjr
Thu Feb 13, 2014 1:52 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Did you check the logs? Any errors? Can you post the "check_disk" definition from the remote box? No error =/ Feb 13 18:47:46 winterhold xinetd[8058]: EXIT: nrpe status=0 pid=8270 duration=0(sec) Fe...
by danielbcjr
Thu Feb 13, 2014 12:39 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

Just to know, NRPE was configured with --enable-command-args and --enable-bash-command-substitution.


In nrpe.cfg of client:

dont_blame_nrpe=1
allow_bash_command_substitution=1
by danielbcjr
Thu Feb 13, 2014 12:26 pm
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

Re: NRPE test ok but with args get Unknown argument -Help Pl

Thank you for aswering that ^^ That is what happens: It is telling you that you have problems with your command's syntax. You are missing your warning and critical definitions. Try running this to start with: /usr/local/nagios/libexec/check_nrpe -H 145.125.99.18 -c check_disk Also, you should have s...
by danielbcjr
Thu Feb 13, 2014 11:17 am
Forum: Open Source Nagios Projects
Topic: NRPE test ok but with args get Unknown argument -Help Please
Replies: 15
Views: 21071

NRPE test ok but with args get Unknown argument -Help Please

Hi guys, I´m brand new about nrpe, I followed the docs about install Nagios Core and NRPE. In the nagios server, when i test the NRPE from the cliente i get: [root@solitude ~]# /usr/local/nagios/libexec/check_nrpe -H 145.125.99.18 NRPE v2.15 But when I use commands and agrs I had that: [root@solitud...