Randomly Expressed

About

Welcome to my blog “randomly expressed”. I created this website to publish helpful tips. It’s mainly technology driven, but I will blog about other topics. I am a Unix sysadmin that is always looking to learn new things. My goal is to be able to share knowledge that others may find useful. xkcd.com

Continue Reading »

Contact

Connect With US

Connect with us on the following social networking sites.

Most Popular Posts.

Add Some Content to This Area

You should either deactivate this panel on the Theme Settings page, or add some content via the Widgets page in your WordPress dashboard.

Tag: Slack

Nagios Slack messages

By on February 10, 2017 in Technology with No Comments

Configure your Nagios server to post alerts in your Slack channel. Having Nagios alerts come in via Slack is faster than getting Nagios alerts via email. If you want your Slack messages formatted so they look better in your channel replace the SLACK_MESSAGE variable in the script with the line below. SLACK_MESSAGE=”\\\$1\\\” Place the following […]

Continue Reading »

Ansible Slack playbook

By on February 4, 2017 in Technology with No Comments

Creating an Ansible Slack playbook is a great way of posting messages in your slack channel from your various playbook runs. This keeps everyone else in the loop of the changes that are happening. The following is an Ansible playbook that uses the Slack module. The token is derived from your web hook URL that […]

Continue Reading »

Top