Search found 29 matches

by natalia.fitsyk
Fri Nov 18, 2016 6:35 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, I solved my problem: I put "Defaults:nrpe !requiretty " on the sudoers file config [root@client_nrpe ~]# grep nrpe /etc/sudoers Defaults:nrpe !requiretty [root@client_nrpe ~]# /usr/local/nagios/libexec/check_nrpe -H 10.10.10.10 -c check_jmeter OK : sum:2423 : 2.423 seconds to complete....
by natalia.fitsyk
Fri Nov 18, 2016 3:07 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, I try it but nothing, the output is same: [root@client_nrpe ~]# su nrpe bash-4.1$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_jmeter NRPE: Unable to read output [root@client_nrpe ~]# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_jmeter NRPE: Unable to read output Than...
by natalia.fitsyk
Thu Nov 17, 2016 3:20 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, [root@client_nrpe ~]# su nrpe bash-4.1$ /usr/bin/sudo /usr/local/nagios/libexec/check_site.sh -w 15 -c 20 OK : sum:2052 : 2.052 seconds to complete. bash-4.1$ /usr/local/nagios/libexec/check_site.sh -w 15 -c 20 OK : sum:2144 : 2.144 seconds to complete. bash-4.1$ sudo /usr/local/nagios/libexec/c...
by natalia.fitsyk
Wed Nov 16, 2016 7:46 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, [root@client_nrpe ~]# su nrpe bash-4.1$ /usr/bin/sudo /usr/local/nagios/libexec/check_swap -w 20% -c 10% SWAP OK - 100% free (4076 MB out of 4094 MB) |swap=4076MB;818;409;0;4094 bash-4.1$ /usr/local/nagios/libexec/check_swap -w 20% -c 10% SWAP OK - 100% free (4076 MB out of 4094 MB) |swap=4076MB...
by natalia.fitsyk
Tue Nov 08, 2016 7:54 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, 1. there are the log : Connection from localhost port 9097 Host address is in allowed_hosts Handling the connection... Host is asking for command 'check_jmeter' to be run... Running command: /usr/bin/sudo /usr/local/nagios/libexec/check_site.sh Command completed with return code 1 and output: Re...
by natalia.fitsyk
Thu Nov 03, 2016 11:03 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

[root@client_nrpe]# more /usr/local/nagios/libexec/check_site.sh #!/bin/bash sudo /usr/local/nagios/libexec/apache-jmeter-3.0/bin/jmeter.pl -j /usr/local/nagios/libexec/apache-jmeter-3.0/ -p /usr/local/nagios/libexec/apache-jmeter-3.0/bin/de_buono.jmx I attached the list "ls -al /usr/local/nagi...
by natalia.fitsyk
Thu Nov 03, 2016 3:54 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

EDIT: Please use code tags Hi, I need to monitor my website, I created a jmeter test and now with help of nrpe I need to monitor my website. Jmeter try to login and check availability from more parts of the site and check the response times. ex: [root@client_nrpe ~]# /usr/local/nagios/libexec/check...
by natalia.fitsyk
Wed Nov 02, 2016 2:55 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Any suggestions?
Thanks everyone.
Natalia.
by natalia.fitsyk
Fri Oct 21, 2016 2:36 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi,
[root@cleint_nrpe~]# more /usr/local/nagios/libexec/check_site.sh
#!/bin/bash
sudo /home/nagios/apache-jmeter-3.0/bin/jmeter.pl -j /home/nagios/apache-jmeter-3.0/ -p /home/nagios/apache-jmeter-3.0/bin/dermsl01_buono.jmx -w 15 -c 30

Thanks.
Natalia
by natalia.fitsyk
Thu Oct 20, 2016 2:29 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 36
Views: 22227

Re: NRPE: Unable to read output

Hi, -bash-4.1$ sudo /home/nagios/apache-jmeter-3.0/bin/jmeter.pl -j /home/nagios/apache-jmeter-3.0/ -p /home/nagios/apache-jmeter-3.0/bin/dermsl01_buono.jmx -w 15 -c 30 OK : sum:2309 : 2.309 seconds to complete. -bash-4.1$ pwd /var/run/nrpe -bash-4.1$ whoami nrpe -bash-4.1$ grep check_jmeter /etc/na...