#19900: nagios nrpe daemon need to configure with '--enable-command-args' to
support 'dont_blame_nrpe=1' on nrpe.cfg
----------------------------+-----------------------------------
Reporter: ryushinhyung@… | Owner: developers
Type: enhancement | Status: new
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Trunk
Keywords: nagios nrpe |
----------------------------+-----------------------------------
I am using WZR-HP-G300NH with package 'nrpe_2.12-4_ar71xx.ipk'
check_nrpe can send command with additional arguments as follows.
/usr/local/nagios/libexec/check_nrpe -H 192.168.1.1 -c check_foo -a test1
test2 test3
remote nrpe daemon(on WRT machine) need to configure nrpe.cfg as follows.
dont_blame_nrpe=1
command[check_foo]=/usr/bin/sudo /usr/local/nagios/libexec/check_foo.sh
$ARG1$ $ARG2$ $ARG2$
but it is not working.
'--enable-command-args' is need to support 'dont_blame_nrpe=1'
I suggest to add this option on nrpe makeing file
define Build/Configure
$(call Build/Configure/Default, \
--with-ssl="$(STAGING_DIR)/usr" \
--enable-command-args \ <-- need to add
, \
)
endef
--
Ticket URL: <https://dev.openwrt.org/ticket/19900>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets