In Service Checks which need the definition of per-case parameters, how do we define these?
For example, when we add to a host the "Database - MySQL Server" template , we have a bunch of service checks which depend on mysql credentials. For instance, one of them, "MySQL Aborted connects" takes as parameters:-H $HOSTADDRESS$ -u %MYSQLCREDENTIALS:1% -p %MYSQLCREDENTIALS:2% --metricname=Aborted_connects -w 20 -c 30
...and we know that $HOSTADDRESS$ is taken automatically by host definition.
But where/how do we define:%MYSQLCREDENTIALS:1% %MYSQLCREDENTIALS:2%
...? Is it in a file, or in some field in the host definition? Some way must exist so that the template can operate without problems on multiple hosts with different MySQL credentials.
Can you please provide some clarifications?