Send dynamic parameter to NRPE command
Posted: Wed Apr 07, 2021 7:18 am
Hello all,
Please advise if the below scenario is possible, currently I'm looking at the documentation and I could not find an example for this.
Nagios server is sending a 'dynamic value' in the pipe to the nrpe agent, but the value is not hard-coded in the .cfg files (checks type - active, every minute)
service.cfg
nrpe receives (e.g:) :
Please advise if the below scenario is possible, currently I'm looking at the documentation and I could not find an example for this.
Nagios server is sending a 'dynamic value' in the pipe to the nrpe agent, but the value is not hard-coded in the .cfg files (checks type - active, every minute)
service.cfg
Code: Select all
check_command check_nrpe!custom_check!!!!!!!Code: Select all
custom_check(String dynamic_value)