Changing NRPE port on Nagios


Hello guys,

i’d like to change target NRPE port on Nagios, eg. my NRPE is listening on port different than 5666. And it needs to be host/hostgroup based change only, not global. I’ve ran through the documentation and couple of PDF’s, can’t seem to find it.

Thanks in advance.


Never mind. Solved; created a new command and passed port argument to check_nrpe.