Search found 98 matches

by majed
Fri Jul 28, 2017 4:55 am
Forum: Open Source Nagios Projects
Topic: problem with nrpe and ubuntu
Replies: 17
Views: 13401

Re: problem with nrpe and ubuntu

Peace, I was on a long sick leave. sudo su nagios -c "/usr/lib/nagios/plugins/check_disk/check_disk -w 20% -c 10% -p /dev/sda1" :~$ cd /usr/lib/nagios/plugins/ :/usr/lib/nagios/plugins$ sudo -s -u nagios ./check_nrpe -H 127.0.0.1 -c check_disk DISK OK - free space: / 6770 MB (70% inode=82%...
by majed
Tue Jul 11, 2017 1:07 am
Forum: Open Source Nagios Projects
Topic: problem with nrpe and ubuntu
Replies: 17
Views: 13401

Re: problem with nrpe and ubuntu

:~$ cd /usr/lib/nagios/plugins/ :/usr/lib/nagios/plugins$ ./check_disk -w 20% -c 10% -p /dev/sda1 DISK OK - free space: / 6835 MB (70% inode=82%);| /=2819MB;8156;9176;0;10196 :/usr/lib/nagios/plugins$ sudo su nagios -c "/check_disk -w 20% -c 10% -p /dev/sda1" :/usr/lib/nagios/plugins$ no o...
by majed
Mon Jul 10, 2017 1:06 am
Forum: Open Source Nagios Projects
Topic: problem with nrpe and ubuntu
Replies: 17
Views: 13401

Re: problem with nrpe and ubuntu

ok i removed sudo: command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1 command[check_zombie_procs]=/usr/lib/nagios/plugins/c...
by majed
Fri Jul 07, 2017 4:12 am
Forum: Open Source Nagios Projects
Topic: problem with nrpe and ubuntu
Replies: 17
Views: 13401

Re: problem with nrpe and ubuntu

here is how it was installed:

Code: Select all

sudo apt-get install openssl nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard

Code: Select all

$ sudo  -s -u nagios ./check_nrpe -H 127.0.0.1
NRPE v2.15
by majed
Thu Jul 06, 2017 8:17 am
Forum: Open Source Nagios Projects
Topic: problem with nrpe and ubuntu
Replies: 17
Views: 13401

problem with nrpe and ubuntu

Health be upon you, today I installed an ubuntu with nrpe and it worked because I enabled the root user. On 3 previous ubuntu's, it is not working because the root is disabled. here is the error: cd /usr/lib/nagios/plugins/ @NE8:/usr/lib/nagios/plugins$ sudo -s -u nagios ./check_nrpe -H 127.0.0.1 -c...
by majed
Wed Jun 28, 2017 1:39 am
Forum: Open Source Nagios Projects
Topic: Check_http error with ssl of asa
Replies: 9
Views: 8058

Re: Check_http error with ssl of asa

Well, I read the document till the end, and configured the ssl setting. added active encryption algorithms and added the trust points to the needed interfaces and...wait for it.... it worked! Be happy :) and thanks for your tips and relentless aid.
by majed
Wed Jun 28, 2017 1:20 am
Forum: Open Source Nagios Projects
Topic: Check_http error with ssl of asa
Replies: 9
Views: 8058

Re: Check_http error with ssl of asa

Only those who love big brother use google or public search engines, Thanks for the link, it helped me see that on the older asa there was no certificate while on the newer asa there is a self-signed certificate. I generated a self signed certificate, unfortunately the same error remains for some re...
by majed
Tue Jun 27, 2017 2:11 am
Forum: Open Source Nagios Projects
Topic: Check_http error with ssl of asa
Replies: 9
Views: 8058

Re: Check_http error with ssl of asa

Good to see you again, asa is the gateway to nagios #openssl version OpenSSL 1.0.2k 26 Jan 2017 # openssl s_client -connect 10.10.12.89:443 CONNECTED(00000003) 139744942528152:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:769: --- no peer certificate ava...
by majed
Mon Jun 26, 2017 1:39 am
Forum: Open Source Nagios Projects
Topic: Check_http error with ssl of asa
Replies: 9
Views: 8058

Re: Check_http error with ssl of asa

# ./check_http -I 10.10.12.89 -S 1 CRITICAL - Cannot make SSL connection. 139926944298648:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:769: # ./check_http -I 10.10.12.891 -S 2 CRITICAL - Cannot make SSL connection. 140089038775960:error:14077410:SSL rou...
by majed
Fri Jun 23, 2017 6:43 am
Forum: Open Source Nagios Projects
Topic: Check_http error with ssl of asa
Replies: 9
Views: 8058

Check_http error with ssl of asa

Peace, I have 2 cisco asa's, on the newer one check_http is working fine: ./check_http -I 10.10.12.89 -S HTTP OK: HTTP/1.1 301 Moved Permanently - 126 bytes in 0.013 second response time |time=0.013359s;;;0.000000 size=126B;;;0 the older one is causing the problem: ./check_http -I 10.10.110.10 -S CR...