Newbie question: Using ansible for runbook automation type of tasks

22 views
Skip to first unread message

Ravi Malghan

unread,
Jul 7, 2020, 8:36:09 PM7/7/20
to Ansible Project
I am looking for an application that can be used as a runbook automation tool from a monitoring platform (nagios). From nagios I have the ability to run scripts from the Nagios server. I need to build a simple script that ssh to a remote server, look for some log files, delete them if it exists, restart a process and bring back the results of the commands into a file on the Nagios server. I know I can implement this using Run book Automation tools like Blue Prism. I am very new to Ansible. Can Ansible be used to build something like this and called from another application? Before I spend too much time into learning Ansible, wanted to check if I should consider Ansible for this.

Thanks
Ravi

Mike Eggleston

unread,
Jul 7, 2020, 8:38:15 PM7/7/20
to ansible...@googlegroups.com
Yes, Ansible can do that. 

Mike

On Jul 7, 2020, at 19:36, Ravi Malghan <ravi.m...@gmail.com> wrote:


I am looking for an application that can be used as a runbook automation tool from a monitoring platform (nagios). From nagios I have the ability to run scripts from the Nagios server. I need to build a simple script that ssh to a remote server, look for some log files, delete them if it exists, restart a process and bring back the results of the commands into a file on the Nagios server. I know I can implement this using Run book Automation tools like Blue Prism. I am very new to Ansible. Can Ansible be used to build something like this and called from another application? Before I spend too much time into learning Ansible, wanted to check if I should consider Ansible for this.

Thanks
Ravi

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/60b1f263-e0c4-4e0d-8ecb-633329611d19o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages