angoca / monitor-db2-with-nagios

Set of plugins / scripts to monitor DB2 from Nagios.
Apache License 2.0
20 stars 8 forks source link

pass credentials #48

Closed zimzimmma closed 7 years ago

zimzimmma commented 7 years ago

is there a way to run one of the check commands but use a user/password in the service command line?

angoca commented 7 years ago

The scripts are not implemented that way. One reason is because there are multiple commands called in the scripts, and the password would be saved in a variable to pass it several times. This could lead a security problem, and instead of that, the scripts rely on a strong db2 security schema.