SlideShare a Scribd company logo
1 of 34
Download to read offline
ChatOps 
… 
a 
beginner’s 
guide 
~ 
$
Jason 
Hand 
VictorOps 
jason@victorops.com 
@jasonhand
Agenda 
• Introduc)on 
to 
ChatOps 
• Origins 
• Tools 
• Benefits 
• Examples 
• Limita)ons 
& 
Concerns 
• Ge>ng 
Started 
• Q&A
What 
do 
you 
do 
over 
and 
over 
again? 
Can 
I 
do 
that 
for 
you? 
I’ll 
think 
about 
it. 
@jasonhand 
#ChatOps
ChatOps 
“puCng 
tools 
in 
the 
middle 
of 
the 
conversaFon” 
-­‐ 
GitHub 
(2010) 
“everyone 
is 
pairing 
all 
of 
the 
Fme” 
-­‐ 
Jesse 
Newland 
(Ops 
– 
GitHub)
DevOps 
Culture 
AutomaFon 
Measurement 
Sharing 
To 
move 
fast 
and 
maintain 
stability 
it’s 
important 
to 
have 
a 
culture 
of 
automaFon, 
measurement 
and 
sharing 
@jasonhand 
#ChatOps
Tools 
• Chat 
clients 
• (with 
channels 
or 
rooms) 
• Bots 
• Scripts 
@jasonhand 
#ChatOps
HipChat 
Campfire 
Chat 
Slack 
@jasonhand 
#ChatOps
Bots 
@jasonhand 
#ChatOps
Scripts 
@jasonhand 
#ChatOps
Benefits 
• Sharing 
• Learning 
• Speed 
@jasonhand 
#ChatOps
MulF-­‐user 
terminal 
Share 
learning 
experiences 
Sharing 
Disseminate 
knowledge 
across 
everyone 
on 
the 
team 
Share 
learning 
experiences 
@jasonhand 
#ChatOps
Learning 
@jasonhand 
#ChatOps
Speed 
How 
many 
clicks 
does 
it 
take 
you?
Jason: 
Hey 
Dan 
… 
did 
you 
see 
that 
spike 
in 
CPU 
usage 
on 
Prod1.. 
~ 
3 
minutes 
ago? 
Dan: 
No. 
Let 
me 
check. 
brb 
Old 
methods 
Dan: 
Shit. 
Yeah, 
I 
see 
it. 
Looks 
ok 
now. 
I 
think 
:-­‐/ 
Jason: 
Think 
we 
should 
let 
Mike 
know? 
He 
might 
want 
to 
dig 
in 
to 
it 
later. 
Dan: 
Yeah, 
I’ll 
take 
a 
screenshot 
and 
email 
it 
to 
him. 
Jason: 
Would 
anyone 
else 
need 
to 
know 
about 
it? 
Dan: 
Prob. 
I’ll 
cc 
the 
DevOps 
team 
so 
everyone 
knows
Jason: 
Hey 
Dan. 
My 
code 
is 
ready 
to 
push 
when 
you 
are. 
Dan: 
Old 
methods 
Cool. 
I’ll 
commit 
it 
to 
the 
latest 
branch 
here 
in 
a 
minute. 
Jason: 
Great. 
Also, 
we 
should 
probably 
sit 
down 
with 
Nick 
(new 
guy) 
and 
show 
him 
how 
to 
do 
that 
soon. 
Dan: 
Yeah. 
Once 
I 
get 
some 
Fme, 
I’ll 
schedule 
something. 
:/ 
Jason: 
There’s 
probably 
a 
bunch 
more 
stuff 
to 
show 
him 
too, 
but 
I’m 
not 
sure 
I 
even 
know 
all 
of 
the 
steps 
for 
everything. 
Dan: 
We’ve 
got 
a 
wiki 
for 
most 
things, 
but 
not 
everything. 
I’ll 
see 
what 
I 
can 
find 
and 
email 
him.
Jason: 
Hey 
Dan. 
My 
code 
is 
ready 
to 
push 
when 
you 
are. 
Dan: 
Cool. 
I’ll 
commit 
it 
to 
the 
latest 
branch 
here 
in 
a 
minute. 
Jason: 
Great. 
Also, 
we 
should 
probably 
sit 
down 
with 
Nick 
(new 
guy) 
and 
show 
him 
how 
to 
do 
that 
soon. 
Dan: 
Yeah. 
Once 
I 
get 
some 
Fme, 
I’ll 
schedule 
something. 
:/ 
Jason: 
There’s 
probably 
a 
bunch 
more 
stuff 
to 
show 
him 
too, 
but 
I’m 
not 
sure 
I 
even 
know 
all 
of 
the 
steps 
for 
everything. 
Dan: 
We’ve 
got 
a 
wiki 
for 
most 
things, 
but 
not 
everything. 
I’ll 
see 
what 
I 
can 
find 
and 
email 
him. 
Old 
methods 
Chat 
with 
Jason 
& 
Dan 
If 
using 
a 
tradiFonal 
chat 
client 
Such 
as 
Gchat 
… 
Who 
else 
can 
see 
this 
conversaFon? 
Nobody 
! 
@jasonhand 
#ChatOps
What 
do 
you 
do 
over 
and 
over 
again? 
Can 
I 
do 
that 
for 
you? 
Heck 
yeah! 
:D 
@jasonhand 
#ChatOps
Examples 
• 
Run 
MySQL 
command 
(as 
read-­‐only 
user) 
• Authorize 
users 
(assign 
and 
enforce 
user-­‐based 
roles) 
• Take 
a 
server 
offline 
• Bring 
a 
server 
online 
• Deploy 
code 
to 
a 
repository 
• Displaying 
the 
status 
of 
a 
JIRA 
Fcket 
• Adding 
comments 
and 
changing 
their 
status 
on 
Fckets 
• Query 
the 
status 
of 
API's 
(internal 
& 
external) 
• VM 
interacFon 
to 
see 
host 
health 
• Monitoring 
service 
interacFon 
to 
trigger 
status 
checks 
• Hubot 
scripts 
can 
be 
wrinen 
in 
CoffeeScript 
or 
Javascript 
• NoFfy 
people 
not 
present 
in 
a 
chatroom 
that 
they 
were 
menFoned 
• Fetch 
logs 
• Rebalance 
shards 
across 
its 
file 
servers 
• List 
currently 
running 
jobs/processes 
• Kill 
jobs/processes 
• Tail 
a 
job/process 
• Track 
Customer 
signups 
• Sharing 
graphs 
for 
context 
• Store 
staFc 
links, 
mapping 
those 
links 
to 
simple, 
easy 
to 
remember 
commands 
In 
GitHub 
Opening 
issues 
Closing 
issues 
CommenFng 
on 
issues 
LisFng 
issues 
Merge 
pull 
requests 
jhand.ml/scripts 
jhand.ml/heroku 
@jasonhand 
#ChatOps
Example 
script 
Show 
current 
GitHub 
status 
and 
messages 
jhand.ml/script1 
@jasonhand 
#ChatOps
Jason: 
hubot 
github 
status 
hubot 
github 
status 
-­‐ 
Returns 
the 
current 
system 
status 
and 
Fmestamp. 
hubot 
github 
status 
last 
-­‐ 
Returns 
the 
last 
human 
communicaFon, 
status, 
and 
Fmestamp. 
hubot 
github 
status 
messages 
-­‐ 
Returns 
the 
most 
recent 
human 
communicaFons 
with 
status 
and 
Fmestamp. 
Hubot: 
github 
status: 
new 
file: 
Chatops.txt 
116 
seconds 
ago 
@jasonhand 
#ChatOps
Jason: 
Hey 
Dan. 
My 
code 
is 
ready 
to 
push 
when 
you 
are. 
Dan: 
Cool. 
I’ll 
commit 
it 
to 
the 
latest 
branch 
here 
in 
a 
minute. 
Jason: 
Great. 
Also, 
we 
should 
probably 
sit 
down 
with 
Nick 
(new 
guy) 
and 
show 
him 
how 
to 
do 
that 
soon. 
Dan: 
Yeah. 
Once 
I 
get 
some 
Fme, 
I’ll 
schedule 
something. 
:/ 
Jason: 
There’s 
probably 
a 
bunch 
more 
stuff 
to 
show 
him 
too, 
but 
I’m 
not 
sure 
I 
even 
know 
all 
of 
the 
steps 
for 
everything. 
Dan: 
We’ve 
got 
a 
wiki 
for 
most 
things, 
but 
not 
everything. 
I’ll 
see 
what 
I 
can 
find 
and 
email 
him. 
New 
and 
improved! 
Chat 
Room 
Who 
else 
can 
see 
this 
conversaFon? 
Erybody 
! 
Members 
Jason 
Dan 
Nick 
Mike 
Jeff 
Doug 
Tara 
@jasonhand 
#ChatOps
Jason: 
Hubot 
graphite 
load 
1 
min 
on 
serverABC 
Jason: 
@Dan 
… 
you 
seeing 
this? 
Dan: 
Yeah. 
New 
method 
w/ 
bots 
Hubot: 
Mike: 
That 
was 
me. 
I 
was 
running 
a 
giant 
report. 
Should 
be 
fine 
now 
Nick 
(new 
guy): 
Cool. 
Thanks 
for 
showing 
me 
how 
to 
do 
that. 
;-­‐)
Big 
Whoop 
Why 
is 
this 
important?
Graphs 
or 
it 
didn’t 
happen 
@jasonhand 
#ChatOps
@ngrieb: 
hubot 
graphite 
load 
1 
min 
on 
serverABC 
@jasonhand 
#ChatOps
@jasonhand 
#ChatOps
GeCng 
Started 
Install 
bot 
jhand.ml/installhubot 
Create 
repo 
Download 
exisFng 
scripts 
jhand.ml/scripts 
Create 
your 
own 
scripts 
Ask 
others 
what 
needs 
to 
be 
automated 
@jasonhand 
#ChatOps
Concerns
LimitaFons 
@jasonhand 
#ChatOps
What 
I’d 
like 
to 
learn 
from 
you 
: 
Are 
you 
doing 
ChatOps? 
Are 
you 
on-­‐call? 
jhand.ml/SOoncall 
@jasonhand 
#ChatOps
Automate 
! 
@jasonhand 
#ChatOps
Jason 
Hand 
VictorOps 
jason@victorops.com 
@jasonhand

More Related Content

Similar to Chat ops .. a beginner's guide

ChatOps Unplugged
ChatOps UnpluggedChatOps Unplugged
ChatOps UnpluggedVictorOps
 
3.15.17 DSpace: How to Contribute Webinar Slides
3.15.17 DSpace: How to Contribute Webinar Slides3.15.17 DSpace: How to Contribute Webinar Slides
3.15.17 DSpace: How to Contribute Webinar SlidesDuraSpace
 
User test projections
User test projectionsUser test projections
User test projectionsJames Hall
 
React Conf 17 Recap
React Conf 17 RecapReact Conf 17 Recap
React Conf 17 RecapAlex Babkov
 
Visual Rhetoric March 25th
Visual Rhetoric March 25thVisual Rhetoric March 25th
Visual Rhetoric March 25thMiami University
 
BathCamp #32 - CMS Smackdown! - Plone
BathCamp #32 - CMS Smackdown! - PloneBathCamp #32 - CMS Smackdown! - Plone
BathCamp #32 - CMS Smackdown! - PloneMatt Hamilton
 
Topsy Turvy Design: Adapting your design process for adaptive layout
Topsy Turvy Design: Adapting your design process for adaptive layoutTopsy Turvy Design: Adapting your design process for adaptive layout
Topsy Turvy Design: Adapting your design process for adaptive layoutRich Quick
 
Contributing to Pharo
 Contributing to Pharo Contributing to Pharo
Contributing to PharoESUG
 
.Net Squad. Deployments. Workflow. Namics
.Net Squad. Deployments. Workflow. Namics.Net Squad. Deployments. Workflow. Namics
.Net Squad. Deployments. Workflow. NamicsDaniel Scherrer
 
EuRuKo JRuby Talk 2008
EuRuKo JRuby Talk 2008EuRuKo JRuby Talk 2008
EuRuKo JRuby Talk 2008geraldbauer
 
OOTB Presentation
OOTB PresentationOOTB Presentation
OOTB Presentationvedawms
 
Nagios Conference 2014 - David Josephsen - Graphing Nagios
Nagios Conference 2014 - David Josephsen - Graphing NagiosNagios Conference 2014 - David Josephsen - Graphing Nagios
Nagios Conference 2014 - David Josephsen - Graphing NagiosNagios
 
Generative Testing in Clojure
Generative Testing in ClojureGenerative Testing in Clojure
Generative Testing in ClojureAlistair Roche
 
Visual Rhetoric, Monday March 10, 2014
Visual Rhetoric, Monday March 10, 2014Visual Rhetoric, Monday March 10, 2014
Visual Rhetoric, Monday March 10, 2014Miami University
 
Boxen: How to Manage an Army of Laptops and Live to Talk About It
Boxen: How to Manage an Army of Laptops and Live to Talk About ItBoxen: How to Manage an Army of Laptops and Live to Talk About It
Boxen: How to Manage an Army of Laptops and Live to Talk About ItPuppet
 
3stages Wdn08 V3
3stages Wdn08 V33stages Wdn08 V3
3stages Wdn08 V3Boris Mann
 
Node.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago MeetupNode.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago Meetuphugs
 

Similar to Chat ops .. a beginner's guide (20)

ChatOps Unplugged
ChatOps UnpluggedChatOps Unplugged
ChatOps Unplugged
 
3.15.17 DSpace: How to Contribute Webinar Slides
3.15.17 DSpace: How to Contribute Webinar Slides3.15.17 DSpace: How to Contribute Webinar Slides
3.15.17 DSpace: How to Contribute Webinar Slides
 
User test projections
User test projectionsUser test projections
User test projections
 
React Conf 17 Recap
React Conf 17 RecapReact Conf 17 Recap
React Conf 17 Recap
 
Visual Rhetoric March 25th
Visual Rhetoric March 25thVisual Rhetoric March 25th
Visual Rhetoric March 25th
 
BathCamp #32 - CMS Smackdown! - Plone
BathCamp #32 - CMS Smackdown! - PloneBathCamp #32 - CMS Smackdown! - Plone
BathCamp #32 - CMS Smackdown! - Plone
 
Tensorflow go
Tensorflow goTensorflow go
Tensorflow go
 
Topsy Turvy Design: Adapting your design process for adaptive layout
Topsy Turvy Design: Adapting your design process for adaptive layoutTopsy Turvy Design: Adapting your design process for adaptive layout
Topsy Turvy Design: Adapting your design process for adaptive layout
 
Contributing to Pharo
 Contributing to Pharo Contributing to Pharo
Contributing to Pharo
 
.Net Squad. Deployments. Workflow. Namics
.Net Squad. Deployments. Workflow. Namics.Net Squad. Deployments. Workflow. Namics
.Net Squad. Deployments. Workflow. Namics
 
Intro to Drush
Intro to DrushIntro to Drush
Intro to Drush
 
EuRuKo JRuby Talk 2008
EuRuKo JRuby Talk 2008EuRuKo JRuby Talk 2008
EuRuKo JRuby Talk 2008
 
OOTB Presentation
OOTB PresentationOOTB Presentation
OOTB Presentation
 
Nagios Conference 2014 - David Josephsen - Graphing Nagios
Nagios Conference 2014 - David Josephsen - Graphing NagiosNagios Conference 2014 - David Josephsen - Graphing Nagios
Nagios Conference 2014 - David Josephsen - Graphing Nagios
 
Generative Testing in Clojure
Generative Testing in ClojureGenerative Testing in Clojure
Generative Testing in Clojure
 
Visual Rhetoric, Monday March 10, 2014
Visual Rhetoric, Monday March 10, 2014Visual Rhetoric, Monday March 10, 2014
Visual Rhetoric, Monday March 10, 2014
 
Boxen: How to Manage an Army of Laptops and Live to Talk About It
Boxen: How to Manage an Army of Laptops and Live to Talk About ItBoxen: How to Manage an Army of Laptops and Live to Talk About It
Boxen: How to Manage an Army of Laptops and Live to Talk About It
 
Wireframing
WireframingWireframing
Wireframing
 
3stages Wdn08 V3
3stages Wdn08 V33stages Wdn08 V3
3stages Wdn08 V3
 
Node.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago MeetupNode.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago Meetup
 

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

Chat ops .. a beginner's guide

  • 1. ChatOps … a beginner’s guide ~ $
  • 2. Jason Hand VictorOps jason@victorops.com @jasonhand
  • 3. Agenda • Introduc)on to ChatOps • Origins • Tools • Benefits • Examples • Limita)ons & Concerns • Ge>ng Started • Q&A
  • 4. What do you do over and over again? Can I do that for you? I’ll think about it. @jasonhand #ChatOps
  • 5. ChatOps “puCng tools in the middle of the conversaFon” -­‐ GitHub (2010) “everyone is pairing all of the Fme” -­‐ Jesse Newland (Ops – GitHub)
  • 6. DevOps Culture AutomaFon Measurement Sharing To move fast and maintain stability it’s important to have a culture of automaFon, measurement and sharing @jasonhand #ChatOps
  • 7. Tools • Chat clients • (with channels or rooms) • Bots • Scripts @jasonhand #ChatOps
  • 8. HipChat Campfire Chat Slack @jasonhand #ChatOps
  • 10.
  • 12. Benefits • Sharing • Learning • Speed @jasonhand #ChatOps
  • 13. MulF-­‐user terminal Share learning experiences Sharing Disseminate knowledge across everyone on the team Share learning experiences @jasonhand #ChatOps
  • 15. Speed How many clicks does it take you?
  • 16. Jason: Hey Dan … did you see that spike in CPU usage on Prod1.. ~ 3 minutes ago? Dan: No. Let me check. brb Old methods Dan: Shit. Yeah, I see it. Looks ok now. I think :-­‐/ Jason: Think we should let Mike know? He might want to dig in to it later. Dan: Yeah, I’ll take a screenshot and email it to him. Jason: Would anyone else need to know about it? Dan: Prob. I’ll cc the DevOps team so everyone knows
  • 17. Jason: Hey Dan. My code is ready to push when you are. Dan: Old methods Cool. I’ll commit it to the latest branch here in a minute. Jason: Great. Also, we should probably sit down with Nick (new guy) and show him how to do that soon. Dan: Yeah. Once I get some Fme, I’ll schedule something. :/ Jason: There’s probably a bunch more stuff to show him too, but I’m not sure I even know all of the steps for everything. Dan: We’ve got a wiki for most things, but not everything. I’ll see what I can find and email him.
  • 18. Jason: Hey Dan. My code is ready to push when you are. Dan: Cool. I’ll commit it to the latest branch here in a minute. Jason: Great. Also, we should probably sit down with Nick (new guy) and show him how to do that soon. Dan: Yeah. Once I get some Fme, I’ll schedule something. :/ Jason: There’s probably a bunch more stuff to show him too, but I’m not sure I even know all of the steps for everything. Dan: We’ve got a wiki for most things, but not everything. I’ll see what I can find and email him. Old methods Chat with Jason & Dan If using a tradiFonal chat client Such as Gchat … Who else can see this conversaFon? Nobody ! @jasonhand #ChatOps
  • 19. What do you do over and over again? Can I do that for you? Heck yeah! :D @jasonhand #ChatOps
  • 20. Examples • Run MySQL command (as read-­‐only user) • Authorize users (assign and enforce user-­‐based roles) • Take a server offline • Bring a server online • Deploy code to a repository • Displaying the status of a JIRA Fcket • Adding comments and changing their status on Fckets • Query the status of API's (internal & external) • VM interacFon to see host health • Monitoring service interacFon to trigger status checks • Hubot scripts can be wrinen in CoffeeScript or Javascript • NoFfy people not present in a chatroom that they were menFoned • Fetch logs • Rebalance shards across its file servers • List currently running jobs/processes • Kill jobs/processes • Tail a job/process • Track Customer signups • Sharing graphs for context • Store staFc links, mapping those links to simple, easy to remember commands In GitHub Opening issues Closing issues CommenFng on issues LisFng issues Merge pull requests jhand.ml/scripts jhand.ml/heroku @jasonhand #ChatOps
  • 21. Example script Show current GitHub status and messages jhand.ml/script1 @jasonhand #ChatOps
  • 22. Jason: hubot github status hubot github status -­‐ Returns the current system status and Fmestamp. hubot github status last -­‐ Returns the last human communicaFon, status, and Fmestamp. hubot github status messages -­‐ Returns the most recent human communicaFons with status and Fmestamp. Hubot: github status: new file: Chatops.txt 116 seconds ago @jasonhand #ChatOps
  • 23. Jason: Hey Dan. My code is ready to push when you are. Dan: Cool. I’ll commit it to the latest branch here in a minute. Jason: Great. Also, we should probably sit down with Nick (new guy) and show him how to do that soon. Dan: Yeah. Once I get some Fme, I’ll schedule something. :/ Jason: There’s probably a bunch more stuff to show him too, but I’m not sure I even know all of the steps for everything. Dan: We’ve got a wiki for most things, but not everything. I’ll see what I can find and email him. New and improved! Chat Room Who else can see this conversaFon? Erybody ! Members Jason Dan Nick Mike Jeff Doug Tara @jasonhand #ChatOps
  • 24. Jason: Hubot graphite load 1 min on serverABC Jason: @Dan … you seeing this? Dan: Yeah. New method w/ bots Hubot: Mike: That was me. I was running a giant report. Should be fine now Nick (new guy): Cool. Thanks for showing me how to do that. ;-­‐)
  • 25. Big Whoop Why is this important?
  • 26. Graphs or it didn’t happen @jasonhand #ChatOps
  • 27. @ngrieb: hubot graphite load 1 min on serverABC @jasonhand #ChatOps
  • 29. GeCng Started Install bot jhand.ml/installhubot Create repo Download exisFng scripts jhand.ml/scripts Create your own scripts Ask others what needs to be automated @jasonhand #ChatOps
  • 32. What I’d like to learn from you : Are you doing ChatOps? Are you on-­‐call? jhand.ml/SOoncall @jasonhand #ChatOps
  • 34. Jason Hand VictorOps jason@victorops.com @jasonhand