Search found 5 matches

by jfkw
Wed Nov 30, 2016 6:14 pm
Forum: Open Source Nagios Projects
Topic: How to check if NRPE compiled with --enable-command-args?
Replies: 4
Views: 9175

Re: How to check if NRPE compiled with --enable-command-args

Yes, OK to lock thread. I didn't recompile with --enable-command-args, instead I am writing out all permutations of wanted commands with their args in /etc/nagios/nrpe_local.cfg.
by jfkw
Tue Nov 29, 2016 6:05 pm
Forum: Open Source Nagios Projects
Topic: How to check if NRPE compiled with --enable-command-args?
Replies: 4
Views: 9175

Re: How to check if NRPE compiled with --enable-command-args

Thanks. It seems nagios-nrpe-server on Ubuntu is likely compiled without --enable-command-args. I'll need to pivot to defining the remote checks explicitly without arguments. Checking the source package, this is present in the diff: in nagios-nrpe_2.15-1ubuntu1.diff: nagios-nrpe (2.15-1) unstable; u...
by jfkw
Wed Nov 23, 2016 11:05 am
Forum: Open Source Nagios Projects
Topic: nagios3 config file default and override handling
Replies: 3
Views: 1468

Re: nagios3 config file default and override handling

Thanks, This package nagios3-3.5.1.dfsg-2.1ubuntu1 on ubuntu 16.04 is from the ubuntu repository. Perhaps I can restate my questions more clearly to focus on nagios config file semantics and not packaging. 1. If a directive appears in a default nagios config file, e.g. In /etc/nagios3/nagios.cfg: cf...
by jfkw
Wed Nov 23, 2016 1:16 am
Forum: Open Source Nagios Projects
Topic: How to check if NRPE compiled with --enable-command-args?
Replies: 4
Views: 9175

How to check if NRPE compiled with --enable-command-args?

I use nagios3-3.5.1.dfsg-2.1ubuntu1 on ubuntu 16.04. I want to use NRPE with args to remote checks, but get: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Is there any way to query nrpe to learn if this package nagios3-3.5.1.dfsg-2.1ubuntu1 was compiled w...
by jfkw
Wed Nov 23, 2016 1:08 am
Forum: Open Source Nagios Projects
Topic: nagios3 config file default and override handling
Replies: 3
Views: 1468

nagios3 config file default and override handling

Questions re: nagios3 config file parser behavior, so I can better mange nagios config under version control: Do all nagios3 config files allow redefinition of config defaults using last-seen-wins? Do all default config directives need to be present in /etc/nagios* to have effect? Or are they define...