The check_ping man page makes zero mention of RTMAX and RTMIN.
https://nagios-plugins.org/doc/man/check_ping.html
However, is the below example close to what you're looking for?
./check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
-w is the WARNING status limit for $ARG1$, wherein you specify RTA,PKTLOSS percentage
-c is the CRITICAL status limit for $ARG2$, wherein you specify RTA,PKTLOSS percentage
-p is the number of packets to send. default is 5
- $ARG1$ macro would be formatted for example,"200.0,40%" (RTA,PKTLOSS%)
- $ARG2$ would be "400.0,80%" (RTA,PKTLOSS%)
To put it all together:
check_ping -H $HOSTADDRESS$ -w 200.0,40% -c 400.0,80% -p 5
In other words, have Nagios send a warning if RTA is, or exceeds 200ms and/or there is 40% packet loss.
Nagios will send a critical alert if RTA >= 400ms and/or there is 80% packet loss.