~/talk

Write your own Monitoring Plugins

Talkat Icinga Summit 2024 · 2024-06-05..06-06· [python]
links:none on file
links:none on file
slides:none on file

Workshop builds a MySQL Query monitoring plugin from the example check using Linuxfabrik Python libs, adding db_mysql for DB access, the base/text libs for states and output, and a get_state_and_value function that implements Nagios ranges, single-value vs. result-set handling, perfdata and ASCII tables with shortening. Code evolves across eight iterations, produces a 500-line director basket for Icinga Director and successfully queries a real DB (returns 4 hosts returned) and exits with correct states.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:50Why write monitoring plugins
  3. 4:47Linux Fabric Python libraries overview
  4. 6:53Setting up the development environment
  5. 7:37Creating the first plugin version
  6. 11:15Enhancing plugin description and parameters
  7. 14:34Testing plugin help function
  8. 14:58Connecting to MySQL database
  9. 18:12Configuring MySQL credentials
  10. 20:21Fetching data and basic output
  11. 21:06Implementing single value checks
  12. 24:46Handling multiple row results
  13. 27:59Adding Nagios range support
  14. 28:20Improving plugin output formatting
  15. 34:24Displaying result sets in tables
  16. 39:07Validating user input and adding perf data
  17. 41:35Summary of plugin features
  18. 43:23Making plugin production ready
  19. 44:06Code quality checks with Pylint
  20. 44:49Adding icons for web interface
  21. 45:12Writing plugin documentation
  22. 49:02Configuring Icinga Director basket
  23. 51:38Deploying plugin in Icinga Director
  24. 55:07Project resources and next steps
  25. 56:12Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.