File as an argument for check_oracle_health
Posted: Sat Jan 11, 2020 10:50 am
Hello,
I'm using check_oracle_health plugin [as per in the wizard] to monitor the Oracle parameters and I have around 500 servers to add. Adding each server with the services having different details is a tedious task.
I'm looking for a feasibility where the 'connect' details are provided in a file with the same format "<address>:<port>/<SID>" as the argument and grepped with the address every time the script is executed so that whenever a new server needs to be added, I just have to update the file with the connection details and it will automatically inherit the service configuration.
Is it possible to add a file as an argument to a 'connect' string which will help in configuration? Please let me know at the earliest.
Thanks in advance!
I'm using check_oracle_health plugin [as per in the wizard] to monitor the Oracle parameters and I have around 500 servers to add. Adding each server with the services having different details is a tedious task.
I'm looking for a feasibility where the 'connect' details are provided in a file with the same format "<address>:<port>/<SID>" as the argument and grepped with the address every time the script is executed so that whenever a new server needs to be added, I just have to update the file with the connection details and it will automatically inherit the service configuration.
Is it possible to add a file as an argument to a 'connect' string which will help in configuration? Please let me know at the earliest.
Thanks in advance!