Hello all,
I'm looking for a script or something else what makes possible to validate all SAS services (status check) every hour and send after each check a report.
Be example:
Day: 8/2/2018 Time: 15.15
Status SAS services:
SAS Metadata running
SAS Object Spawner running
SAS Web Server running
SAS Web App xx running
etc.
We have also configured SAS environment Manager. But an overview of all sas services in a mail makes a lot easier.
Thanks in advance.
@sergie89: You could create a simple shell script with something like this:
(date; echo; echo "Status SAS services:"; echo; /path/to/Lev1/sas.servers status) | mailx -s "SAS Status" your_name@yourcompany.com
Put that into a cron as the SAS Installer account to run every hour and you should be all set.
Cheers,
Spencer
@sergie89: You could create a simple shell script with something like this:
(date; echo; echo "Status SAS services:"; echo; /path/to/Lev1/sas.servers status) | mailx -s "SAS Status" your_name@yourcompany.com
Put that into a cron as the SAS Installer account to run every hour and you should be all set.
Cheers,
Spencer
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.