I am not able to get command_status as 1 for this command. I tried multiple check_commands with $ARG1$ and it seems like NRPE exporter is not able to run the check_commands with dynamic ARGS.
HELP command_duration Length of time the NRPE command took
TYPE command_duration gauge
command_duration 0.052347708
HELP command_ok Indicates whether or not the command was a success
TYPE command_ok gauge
command_ok 0
HELP command_status Indicates the status of the command
TYPE command_status gauge
command_status 3
I am trying to create a job in prometheus for the below check command in nrpe.cfg.
command[check_test]=/usr/local/bin/check_test.py -i $ARG1$
I am not able to get command_status as 1 for this command. I tried multiple check_commands with $ARG1$ and it seems like NRPE exporter is not able to run the check_commands with dynamic ARGS.
HELP command_duration Length of time the NRPE command took TYPE command_duration gauge command_duration 0.052347708 HELP command_ok Indicates whether or not the command was a success TYPE command_ok gauge command_ok 0 HELP command_status Indicates the status of the command TYPE command_status gauge command_status 3