Nrpe - adding custom commands
-
I want to add my own custom commands to NRPE. That is, I want to expand the list of entries in the the 'Command' dropdown list.
How can I achieve this goal?
Should I stop using the pfSense package and install my own? I'm happy to do that, but how would it be automagically started at run time?
For example, I want to add this to nrpe.cfg:
command[check_pkg_audit] =/usr/local/bin/sudo /usr/local/libexec/nagios-custom/pkg-audit.sh host
command[check_userland_kernel]=/usr/local/libexec/nagios-custom/check_userland_kernel
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.