Search found 7 matches

by CanadianLuke
Fri Dec 20, 2019 6:48 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

Argh... Alright. I'll look at specifying the services then, and having multiple checks.

Thanks for your assistance!
by CanadianLuke
Fri Dec 20, 2019 2:47 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

# /usr/sbin/nrpe NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org) Version: 3.0.1 Last Modified: 09-08-2016 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available, OpenSSL 0.9.6 or higher required TCP Wrappers Available Usage: nrpe [-n] -c ...
by CanadianLuke
Fri Dec 20, 2019 2:18 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

# ps -ef | grep nrpe nagios 4121 1 0 11:06 ? 00:00:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f root 4424 2929 0 11:17 pts/0 00:00:00 grep nrpe Yes, it works for other checks that are in my nrpe.cfg file. However, this is the only one that accepts (or, at least, I hope accepts) arguments.
by CanadianLuke
Fri Dec 20, 2019 2:08 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

Yes, I restarted Nagios on my server, and also the Nagios-NRPE-Server service on the target. No change, same error message in both the log and the GUI as before.
by CanadianLuke
Fri Dec 20, 2019 2:04 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

On the GUI: NRPE: Command 'check_service!smbd' not defined Service Definition: define service { use local-service host_name fs1 service_description Samba Daemon check_command check_nrpe!check_service -a smbd } On the NRPE Server: Dec 20 11:03:31 fs1 nrpe[4031]: Connection from 10.32.10.12 port 33515...
by CanadianLuke
Fri Dec 20, 2019 1:56 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Re: Remotely checking Debian services failing

Code: Select all

define service {
    use                 local-service
    host_name           fs1
    service_description Samba Daemon
    check_command       check_nrpe!check_service!smbd
}
by CanadianLuke
Fri Dec 20, 2019 1:36 pm
Forum: Open Source Nagios Projects
Topic: Remotely checking Debian services failing
Replies: 13
Views: 2894

Remotely checking Debian services failing

Nagios Core 4.4.3 (I know there's an update available, I'll be updating during the holidays) NRPE Version 3.2.1. Issue: Trying to check a remote service on Debian Linux. Locally, it succeeds. I am trying to check it remotely, but it keeps failing as per below: # /usr/lib/nagios/plugins/check_nrpe -H...