BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
McDiddles
Obsidian | Level 7

Greetings,

I would like to automate monitoring for my SAS 9.4 environments using Ansible. I want to develop a solution but I do not want to start from scratch. 

Does anyone has some playbooks or shell scripts to share that does any of the following tasks? 

  1. Monitor sas servers status
  2. monitor storage on specified mounts
  3. check that web servers are responsive
  4. Read logs for interesting information
  5. send alert emails on the items above. 

I you have anything, I'd highly appreciate it! 

What additional monitoring tools do you use in your environment other than EVM? 😊

 

1 ACCEPTED SOLUTION

Accepted Solutions
kdebruhl
SAS Employee

My team uses Zabbix for items 1-3 in your list.  And 5.  Everything except parse log files for interesting information.  Not sure what you were planning with Ansible... periodic queries?

Zabbix handles the opsys issues and can be easily extended to do port checks and more.

 

Ansible for stop/start of servers though is a good idea.

 

View solution in original post

4 REPLIES 4
CarmineVerrell
SAS Employee

Hello,

   Are you aware of this tool, SAS Environment Manager? It will allow you to do all of the things you mentioned below and much more.

 

 

https://go.documentation.sas.com/?cdcId=bicdc&cdcVersion=9.4&docsetId=bisag&docsetTarget=p04sfotmht7...

McDiddles
Obsidian | Level 7
Wonderful tool indeed 🙂 I have been having cases where the mounts detach abruptly and gone with EVM, with 0 alerts as services immediately shut down 🙂
MarcoGhiglieri
Obsidian | Level 7
Hi!
I've seen using Zabbix with the required personalizations (ports, filesystems, etc), but it was so "deep" in as the EVM. I'd advise to use EVM exposed SNMP traps for another monitoring toos (Zabbix again, Nagios, and so on).
I'd use Ansible playbooks just for restarting complex environments.
kdebruhl
SAS Employee

My team uses Zabbix for items 1-3 in your list.  And 5.  Everything except parse log files for interesting information.  Not sure what you were planning with Ansible... periodic queries?

Zabbix handles the opsys issues and can be easily extended to do port checks and more.

 

Ansible for stop/start of servers though is a good idea.

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1171 views
  • 3 likes
  • 4 in conversation