Search found 5 matches

by techtuga
Mon Nov 25, 2019 9:57 am
Forum: Nagios XI
Topic: Nagios_Nrpe
Replies: 23
Views: 2357

Re: Nagios_Nrpe

Hi, Topic can be closed, added the .ldaprc file to the application root directory and restarted the services. File got parsed and the checks are also working on the Nagios Portal now. There is a difference between the users home directory and the Nagios applications home directory: Users Home direct...
by techtuga
Thu Nov 21, 2019 7:42 am
Forum: Nagios XI
Topic: Nagios_Nrpe
Replies: 23
Views: 2357

Re: Nagios_Nrpe

The certificate´s subject CN is different then -H Hostname. That´s why it is failing with the error message: TLS: hostname does not match CN in peer certificate We already know this is a security thread, anyway by creating the file ~./ldaprc in the nagios user environment files with: TLS_REQCERT nev...
by techtuga
Wed Nov 20, 2019 6:39 am
Forum: Nagios XI
Topic: Nagios_Nrpe
Replies: 23
Views: 2357

Re: Nagios_Nrpe

Hi, Long story here, but in order to discard problems on the nrpe remote side, opened the connections to the ldap server on our Nagios Server. Now we are running the check_ldap from our Nagios Server in return we received the following: ./check_ldap -H 'xxxxxxxxxxxxx' -p 9007 -b 'cn=xxxStempelxxx,cn...
by techtuga
Mon Nov 11, 2019 10:22 am
Forum: Nagios XI
Topic: Nagios_Nrpe
Replies: 23
Views: 2357

Re: Nagios_Nrpe

Nrpe.conf command[check_ldap6]=/home/scd/Basis_Nagios/plugins/check_ldap -H 'xxxxxxxxxxxxxxx' -b '' --port=9007 -D 'cn=moni,cn=Acc' -P 'xxxxxxxxxxxxx' -3 --ssl nrpe is runnig under another user trough inti.d ps -ef | grep nrpe scd 3797 15875 0 13:39 pts/4 00:00:00 journalctl -u nrpe.service -f scd 4...
by techtuga
Mon Nov 11, 2019 8:30 am
Forum: Nagios XI
Topic: Nagios_Nrpe
Replies: 23
Views: 2357

Nagios_Nrpe

Hi Folks, Have a weird behavior on our Nagios Server. When we execute the script on the remote host, it works perfectly, but not trough the nrpe: define command { command_name Scd_check_ldap6 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 6666 -t 30 -c check_ldap6 --v2-packets-only } define ser...