Need a groovy script to list out the databases and their "Up Since" status.
Refer to attached get_oracle_instances_up_time.groovy. Run the groovy script either via the Foglight Script Console or command line.
Running via Foglight Script Console
1. Go to Administration | Tooling | Script Console
2. Click the Scripts tab on the lower pane | Click Add button
3. Paste the contents of the get_oracle_instances_up_time.groovy into the "Enter Script Text" | Run
Running via command line
1. Login to the Foglight Management Server (FMS)
2. Open a command prompt and change directory to <FMS installdir>\bin
3. Run the following fglcmd (ensure to change the paramters accordingly):
fglcmd -srv hostname -port 8080 -usr foguser -pwd fogpwd -cmd script:run -f get_oracle_instances_up_time.groovy