Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MoZBX: Why Mobile Zabbix Matters

6050b4913a2f5cfb09a1cdb31ea489ed?s=47 Mattias Geniar
September 21, 2012

MoZBX: Why Mobile Zabbix Matters

A presentation on MoZBX, an unofficial mobile webfrontend designed for smartphone usage for the Zabbix Monitoring Solution.

6050b4913a2f5cfb09a1cdb31ea489ed?s=128

Mattias Geniar

September 21, 2012
Tweet

Transcript

  1. Why  Mobile   Ma,ers Oh hai graphs on your smartphone!

  2. Who  am  I? •  Geek •  Developer •  Automater • 

    DevOps at Nucleus.be •  Blogger at http://mattiasgeniar.be
  3. What  is  MoZBX?

  4. New  UI

  5. Why  mobile?

  6. Challenges

  7. Limited  resources

  8. Too  many  devices

  9. First:  UI  Framework:  jqTouch

  10. Now:  Twi,er  Bootstrap

  11. Own  PHP  API ~  750  lines  of  PHP  code  for

     the  Zabbix  Class Very  easy  PHP,  simple  OO Features  only  the  most  common  tasks •  Get  hosts  /  hostgroups •  Get  triggers,  ack  triggers •  View  graphs Why?  No  choice  back  then.
  12. Easier  navigation

  13. Pre,ier  forms

  14. Same  graphs

  15. App  vs  Mobile  Site

  16. Hacking  graphs

  17. Fetching  with  cURL

  18. Retrieve  graphs  via  API     Please.  J

  19. Zabbix  1.8  vs  2.x

  20. API  changes

  21. Double  Code

  22. Installation $  cd  /var/www/html/ $  wget  h,ps://github.com/ma,iasgeniar/MoZBX/zipball/master $  unzip  ma,iasgeniar-­‐‑MoZBX-­‐‑*.zip

    $  curl  -­‐‑I  "ʺh,p://localhost"ʺ HTTP/1.1  200  OK
  23. Hosted  version www.mozbx.net

  24. Why  I  do  it?

  25. TODO Or  more  fancy:  the  roadmap

  26. TODO Be,er  git  commits?  J

  27. Expand  host  view

  28. None
  29. Contribute? •  Issue tracker

  30. Contribute? •  Source: https://github.com/mattiasgeniar/MoZBX •  -> could use: patches, new

    features, ... It’s simple PHP!
  31. Contribute? •  More UI testing: need more phones

  32. Contribute? •  Interested? -> Twitter: @mattiasgeniar -> E-mail: m@ttias.be

  33. None