...
Plugin help tells that to use the command, we need to pass, as argument the following :
- -H : host _ address
- -w : wrta,wpl (RTA, Warning Round Trip Average, Warning Packet Loss)
- -c : crta, cpl (Critical Round Trip Average, Critical Packet Loss)
The corresponding commands should be :
| Code Block |
|---|
check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ |
In this way, Shinken Enterprise will able to replace arguments by the corresponding value, depending of HOSTADDRESS and arguments given to command.