Bandwidth on passive host
Re: Bandwidth on passive host
Well I tried calling a command from yee old libexec folder and get the same command not found message. This is a pickle!
Re: Bandwidth on passive host
./check_nrpe while in libexec? That's where the plugin is isn't it..?Jam1987 wrote:Well I tried calling a command from yee old libexec folder and get the same command not found message. This is a pickle!
Former Nagios Employee.
me.
me.
Re: Bandwidth on passive host
Yeppers it is
What a pickle!
Code: Select all
root@storage:/usr/local/nagios/libexec# ls
check_apt check_dhcp check_dummy check_http check_imap check_mrtg check_nt check_oracle check_real check_ssh check_ups urlize
check_breeze check_dig check_file_age check_icmp check_ircd check_mrtgtraf check_ntp check_overcr check_rpc check_swap check_uptime utils.pm
check_by_ssh check_disk check_flexlm check_ide_smart check_load check_nagios check_ntp_peer check_ping check_sensors check_tcp check_users utils.sh
check_clamd check_disk_smb check_ftp check_ifoperstatus check_log check_nntp check_ntp_time check_pop check_smtp check_time check_wave
check_cluster check_dns check_hpjd check_ifstatus check_mailq [b][i][u]check_nrpe[/u][/i][/b] check_nwstat check_procs check_snmp check_udp negate
root@storage:/usr/local/nagios/libexec# check_nrpe
check_nrpe: command not found
Re: Bandwidth on passive host
You have to use ./ to call it, you can't just use the binary name. Full path or ./ if you are in the directory.
Next time can you use ls -l, it just makes it a lot more human readable. Thanks!
Next time can you use ls -l, it just makes it a lot more human readable. Thanks!
Former Nagios Employee.
me.
me.
Re: Bandwidth on passive host
But one of you guys on here is listed as Skynet! I do not want to incur the wrath of our soon to be overlords lol.hsmith wrote:You have to use ./ to call it, you can't just use the binary name. Full path or ./ if you are in the directory.
Next time can you use ls -l, it just makes it a lot more human readable. Thanks!
Re: Bandwidth on passive host
I just ran it and woop got a different response now:
CHECK_NRPE: Error - Could not complete SSL handshake.
Got to check yee old security on Nagios and NSClient++ side.
CHECK_NRPE: Error - Could not complete SSL handshake.
Got to check yee old security on Nagios and NSClient++ side.
Re: Bandwidth on passive host
Ohhhhh boy. This is always fun.Jam1987 wrote:I just ran it and woop got a different response now:
CHECK_NRPE: Error - Could not complete SSL handshake.
Got to check yee old security on Nagios and NSClient++ side.
Let's start with the basics.
Code: Select all
./check_nrpe -H 127.0.0.1
Former Nagios Employee.
me.
me.
Re: Bandwidth on passive host
Oh great, I'm glad I can provide some fun times!
Code: Select all
./check_nrpe -H 127.0.0.1
NRPE v2.15
Re: Bandwidth on passive host
Well, this is at least a good sign. We're executing this from the server, right? If so, that part is good. We need to look at the nrpe configuration in the remote host that you're getting the SSL error when trying to check to see if the nagios server is under the allowed hosts portion.Jam1987 wrote:Oh great, I'm glad I can provide some fun times!
Code: Select all
./check_nrpe -H 127.0.0.1 NRPE v2.15
Former Nagios Employee.
me.
me.
Re: Bandwidth on passive host
Yes that was executed on the server running Nagios, I will check out the NSClient++ file on the Windows PC and let you know.