check_nrpe works from CLI, fails from server with timeout

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_nrpe works from CLI, fails from server with timeou

Post by abrist »

hmmm, this is strange. Did you have to change the timeout settings in the nrpe.cfg file? (if so, you have to restart the service)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_nrpe works from CLI, fails from server with timeou

Post by slansing »

What if you change the service definition to the following:

Code: Select all

define service {
use local-service
host_name hostname
service_description VPN:[Client Name]
check_command check_nrpe!check_VPN_[client_name]!30!
}
Fill in the client name with the correct information, then check from the nagios web interface after verifying the config changes as usual.

Have you also defined the timeout in the nagios server's nrpe.cfg?
Locked