SlideShare a Scribd company logo
1 of 45
Download to read offline
Nagios Notification Overview
Jose Luis Martinez Torres
CTO, CAPSiDE
jlmartinez@capside.com
About me
• CAPSiDE: Spanish based consulting company
• Monitoring Managed Services and Hosted
solutions
• Using Opsview
– Frontend for Nagios
– Altinity Partner
– Contributed too ☺
• Small team, highly specialized
Notifications are pluggable
• As pluggable as service checks
• Same interface
• Lots of work already done
– Ready to go
– No solution fits your needs
– But you have a good starting point
Plugins
• Email
• Telephone
• SMS
• RSS
• Support Queue
• IM
• Twitter (Jaiku)
• SMB
• Sound
• IRC
• Others
• Nagios Exchange (nagiosexchange.org)
• Google them too…
Not Plugins
• Windows tray
– Nagios Tray Monitor
– NTray
– NTrayC
– Nestor
• KTLight
• NagiosChecker
@ the office On the go
@ the office
good old email
• Well known
• Simple
• Reliable
• Robust
• Almost no configuration
• Integrations: Your mail
server should be
pluggable too…
• Mail clients poll
@ the office
good old email
@ the office
who doesn’t have a phone?
@ the office
who doesn’t have a phone?
• Interrupt mode
• Free if Nagios can
dial internal
extensions
• Can speak out the
problem (festival)
@ the office
RSS
• Web 2.0
• Feed Readers
– Mail clients now have
feed reading abilities
• Polling
@ the office
RSS
@ the office
Sound
@ the office
Sound
• Monitoring server isn’t
usually attached to
speakers
– Network sound
• H323 Call
@ the office
Instant Messaging / IRC
@ the office
Instant Messaging / IRC
• Interrupt mode
• Lots of systems
– Jabber (GTalk)
– AIM
– ICQ
– …
• Lots of clients
– Roll out your own
@ the office
Support Queue
@ the office
Support Queue
• Integrate events into
your workflow
– RT
– OTRS
• Integrate your support
system with Nagios
– Acknowledge an alert
when a ticket is taken
– Close a ticket if the
alert clears out
• Good for big teams
@ the office
SMB
@ the office
SMB
• smbclient -m
• Interrupt mode
• Ugly little windows
alert
@ the office
Tecno-Gadgets
@ the office
Tecno-Gadgets
• Cleware stoplight
@ the office
Tecno-Gadgets
• lcdproc
@ the office
Tecno-Gadgets
• Nabaztag
On the go
Phone
On the go
Phone
• New phones have
“new” capabilities
• Calling
• Texting (SMS)
• E-mailing
• Gtalk (Jabber)
On the go
Calling
On the go
Calling
• Asterisk
– Mobiles are not always
reachable
• Try many times
• Make sure that a
human answered (voice
mails answer your
phone)
• Have a backup scheme
– Don’t flood your poor
operator
– Call the right person
On the go
SMS
On the go
SMS
• 3rd party service (web
service)
• Mobile attached to
Nagios box
On the go
Twitter Jaiku
On the go
Twitter Jaiku
• They can send SMS
messages
I’ll do my own one
Programming notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Timeout
Get lock
Has he been called
Less than 15 mins ago?
Write notification succeded
Release lock
Pressed key
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Get lock
Has he been called
Less than 15 mins ago?
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeeded
Release lock
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Get lock
Has he been called
Less than 15 mins ago?
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeeded
Release lock
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Get lock
Has he been called
Less than 15 mins ago?
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeded
Release lock
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Pressed keyTimeout
Timeout
Write notification succeeded
Release lock
Programming Notifications
Call number
Make him
Press a key
Next number
Notification
succeeded
Pick up
Timeout
Get lock
Has he been called
Less than 15 mins ago?
Write notification succeded
Release lock
Pressed key
Return to Nagios
Programming Notifications
• Separate content generation from the transport
– Think UNIX style
– generate_content | transport_the_message
• echo “$MACRO$ on $MACRO$” | sendmail
• You only have one chance, so do it right
– Nagios will “timeout” your notification script (be
prepared)
• If you should not be killed, detach the process
• Think in parallel (serialize with locks or look at
Nan)
• You cannot return failure (or success)
Programming Notifications
• Language neutral
• Info about the notification
– Command Line options (macros) vs Env
Variables
• http://nagios.sourceforge.net/docs/2_0/macros.html
• http://nagios.sourceforge.net/docs/3_0/macrolist.html
• Return value
– Not used (but try to return a 0 if all goes well)
Questions

More Related Content

Similar to Nagios Notification Overview

Enterprise Plugins
Enterprise PluginsEnterprise Plugins
Enterprise Pluginsdchery
 
Vultus solution to us staffing firms
Vultus solution to us staffing firmsVultus solution to us staffing firms
Vultus solution to us staffing firmsAditya Palaparthi
 
Continuously delivering software to big brands (fullscreen edition)
Continuously delivering software to big brands (fullscreen edition)Continuously delivering software to big brands (fullscreen edition)
Continuously delivering software to big brands (fullscreen edition)Paul Boocock
 
Corona| COVID IT Tactical Security Preparedness: Threat Management
Corona| COVID IT Tactical Security Preparedness: Threat ManagementCorona| COVID IT Tactical Security Preparedness: Threat Management
Corona| COVID IT Tactical Security Preparedness: Threat ManagementRedZone Technologies
 
Using Org Charts for Multi-stakeholder Account Penetration
Using Org Charts for Multi-stakeholder Account PenetrationUsing Org Charts for Multi-stakeholder Account Penetration
Using Org Charts for Multi-stakeholder Account PenetrationDiscoverOrg
 
Internal health and safety communication with SnapComms
Internal health and safety communication with SnapCommsInternal health and safety communication with SnapComms
Internal health and safety communication with SnapCommsSnapComms
 
DataArt Innovation Showcase Omni-Channel Bots
DataArt Innovation Showcase Omni-Channel BotsDataArt Innovation Showcase Omni-Channel Bots
DataArt Innovation Showcase Omni-Channel BotsAlan Quayle
 
Lead Management System
Lead Management SystemLead Management System
Lead Management SystemManmohanSinghS
 
The Myths & Realities of Managed IT Services
The Myths & Realities of Managed IT ServicesThe Myths & Realities of Managed IT Services
The Myths & Realities of Managed IT ServicesNet at Work
 
Service Design & Service Blueprints
Service Design & Service BlueprintsService Design & Service Blueprints
Service Design & Service BlueprintsSusan Price
 
Pioneer Brochure May 2014 Final Hi Res Print Ready
Pioneer Brochure May 2014 Final Hi Res Print ReadyPioneer Brochure May 2014 Final Hi Res Print Ready
Pioneer Brochure May 2014 Final Hi Res Print ReadyGary Trudgett
 
Marketel Pursuit IP PBX
Marketel Pursuit IP PBXMarketel Pursuit IP PBX
Marketel Pursuit IP PBXMarketel
 
Endpoint Security & Why It Matters!
Endpoint Security & Why It Matters!Endpoint Security & Why It Matters!
Endpoint Security & Why It Matters!Net at Work
 
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...Scott Abel
 
Blog-how-do-i-hire-a-python-programmer-.pdf
Blog-how-do-i-hire-a-python-programmer-.pdfBlog-how-do-i-hire-a-python-programmer-.pdf
Blog-how-do-i-hire-a-python-programmer-.pdfPaidant
 
Smartfren CloudTalk Product Deck (Customer).pptx
Smartfren CloudTalk Product Deck (Customer).pptxSmartfren CloudTalk Product Deck (Customer).pptx
Smartfren CloudTalk Product Deck (Customer).pptxHaekalAufar1
 
5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project
5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project
5 Steps to Getting Organizational Buy-In for Your Enterprise Software ProjectJeff Carr
 

Similar to Nagios Notification Overview (20)

Enterprise Plugins
Enterprise PluginsEnterprise Plugins
Enterprise Plugins
 
IT SERVICES
IT SERVICESIT SERVICES
IT SERVICES
 
Vultus solution to us staffing firms
Vultus solution to us staffing firmsVultus solution to us staffing firms
Vultus solution to us staffing firms
 
Continuously delivering software to big brands (fullscreen edition)
Continuously delivering software to big brands (fullscreen edition)Continuously delivering software to big brands (fullscreen edition)
Continuously delivering software to big brands (fullscreen edition)
 
Corona| COVID IT Tactical Security Preparedness: Threat Management
Corona| COVID IT Tactical Security Preparedness: Threat ManagementCorona| COVID IT Tactical Security Preparedness: Threat Management
Corona| COVID IT Tactical Security Preparedness: Threat Management
 
Using Org Charts for Multi-stakeholder Account Penetration
Using Org Charts for Multi-stakeholder Account PenetrationUsing Org Charts for Multi-stakeholder Account Penetration
Using Org Charts for Multi-stakeholder Account Penetration
 
Comandos termux
Comandos termuxComandos termux
Comandos termux
 
Internal health and safety communication with SnapComms
Internal health and safety communication with SnapCommsInternal health and safety communication with SnapComms
Internal health and safety communication with SnapComms
 
DataArt Innovation Showcase Omni-Channel Bots
DataArt Innovation Showcase Omni-Channel BotsDataArt Innovation Showcase Omni-Channel Bots
DataArt Innovation Showcase Omni-Channel Bots
 
Lead Management System
Lead Management SystemLead Management System
Lead Management System
 
The Myths & Realities of Managed IT Services
The Myths & Realities of Managed IT ServicesThe Myths & Realities of Managed IT Services
The Myths & Realities of Managed IT Services
 
Service Design & Service Blueprints
Service Design & Service BlueprintsService Design & Service Blueprints
Service Design & Service Blueprints
 
Pioneer Brochure May 2014 Final Hi Res Print Ready
Pioneer Brochure May 2014 Final Hi Res Print ReadyPioneer Brochure May 2014 Final Hi Res Print Ready
Pioneer Brochure May 2014 Final Hi Res Print Ready
 
Marketel Pursuit IP PBX
Marketel Pursuit IP PBXMarketel Pursuit IP PBX
Marketel Pursuit IP PBX
 
Endpoint Security & Why It Matters!
Endpoint Security & Why It Matters!Endpoint Security & Why It Matters!
Endpoint Security & Why It Matters!
 
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...
Manage Your Messaging with Machine-Assisted Editing and Large Scale Sentence-...
 
Virtual selling 2020
Virtual selling 2020Virtual selling 2020
Virtual selling 2020
 
Blog-how-do-i-hire-a-python-programmer-.pdf
Blog-how-do-i-hire-a-python-programmer-.pdfBlog-how-do-i-hire-a-python-programmer-.pdf
Blog-how-do-i-hire-a-python-programmer-.pdf
 
Smartfren CloudTalk Product Deck (Customer).pptx
Smartfren CloudTalk Product Deck (Customer).pptxSmartfren CloudTalk Product Deck (Customer).pptx
Smartfren CloudTalk Product Deck (Customer).pptx
 
5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project
5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project
5 Steps to Getting Organizational Buy-In for Your Enterprise Software Project
 

Recently uploaded

MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 

Recently uploaded (20)

MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 

Nagios Notification Overview

  • 1. Nagios Notification Overview Jose Luis Martinez Torres CTO, CAPSiDE jlmartinez@capside.com
  • 2. About me • CAPSiDE: Spanish based consulting company • Monitoring Managed Services and Hosted solutions • Using Opsview – Frontend for Nagios – Altinity Partner – Contributed too ☺ • Small team, highly specialized
  • 3. Notifications are pluggable • As pluggable as service checks • Same interface • Lots of work already done – Ready to go – No solution fits your needs – But you have a good starting point
  • 4. Plugins • Email • Telephone • SMS • RSS • Support Queue • IM • Twitter (Jaiku) • SMB • Sound • IRC • Others • Nagios Exchange (nagiosexchange.org) • Google them too…
  • 5. Not Plugins • Windows tray – Nagios Tray Monitor – NTray – NTrayC – Nestor • KTLight • NagiosChecker
  • 6. @ the office On the go
  • 7. @ the office good old email
  • 8. • Well known • Simple • Reliable • Robust • Almost no configuration • Integrations: Your mail server should be pluggable too… • Mail clients poll @ the office good old email
  • 9. @ the office who doesn’t have a phone?
  • 10. @ the office who doesn’t have a phone? • Interrupt mode • Free if Nagios can dial internal extensions • Can speak out the problem (festival)
  • 12. • Web 2.0 • Feed Readers – Mail clients now have feed reading abilities • Polling @ the office RSS
  • 14. @ the office Sound • Monitoring server isn’t usually attached to speakers – Network sound • H323 Call
  • 15. @ the office Instant Messaging / IRC
  • 16. @ the office Instant Messaging / IRC • Interrupt mode • Lots of systems – Jabber (GTalk) – AIM – ICQ – … • Lots of clients – Roll out your own
  • 18. @ the office Support Queue • Integrate events into your workflow – RT – OTRS • Integrate your support system with Nagios – Acknowledge an alert when a ticket is taken – Close a ticket if the alert clears out • Good for big teams
  • 20. @ the office SMB • smbclient -m • Interrupt mode • Ugly little windows alert
  • 22. @ the office Tecno-Gadgets • Cleware stoplight
  • 26. On the go Phone • New phones have “new” capabilities • Calling • Texting (SMS) • E-mailing • Gtalk (Jabber)
  • 28. On the go Calling • Asterisk – Mobiles are not always reachable • Try many times • Make sure that a human answered (voice mails answer your phone) • Have a backup scheme – Don’t flood your poor operator – Call the right person
  • 30. On the go SMS • 3rd party service (web service) • Mobile attached to Nagios box
  • 32. On the go Twitter Jaiku • They can send SMS messages
  • 33. I’ll do my own one
  • 34. Programming notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout
  • 35. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout
  • 36. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout
  • 37. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout
  • 38. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Timeout Get lock Has he been called Less than 15 mins ago? Write notification succeded Release lock Pressed key
  • 39. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Get lock Has he been called Less than 15 mins ago? Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeeded Release lock
  • 40. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Get lock Has he been called Less than 15 mins ago? Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeeded Release lock
  • 41. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Get lock Has he been called Less than 15 mins ago? Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeded Release lock Call number Make him Press a key Next number Notification succeeded Pick up Pressed keyTimeout Timeout Write notification succeeded Release lock
  • 42. Programming Notifications Call number Make him Press a key Next number Notification succeeded Pick up Timeout Get lock Has he been called Less than 15 mins ago? Write notification succeded Release lock Pressed key Return to Nagios
  • 43. Programming Notifications • Separate content generation from the transport – Think UNIX style – generate_content | transport_the_message • echo “$MACRO$ on $MACRO$” | sendmail • You only have one chance, so do it right – Nagios will “timeout” your notification script (be prepared) • If you should not be killed, detach the process • Think in parallel (serialize with locks or look at Nan) • You cannot return failure (or success)
  • 44. Programming Notifications • Language neutral • Info about the notification – Command Line options (macros) vs Env Variables • http://nagios.sourceforge.net/docs/2_0/macros.html • http://nagios.sourceforge.net/docs/3_0/macrolist.html • Return value – Not used (but try to return a 0 if all goes well)