A presentation on MoZBX, an unofficial mobile webfrontend designed for smartphone usage for the Zabbix Monitoring Solution.
Why Mobile Ma,ers Oh hai graphs on your smartphone!
View Slide
Who am I? • Geek• Developer• Automater• DevOps at Nucleus.be• Blogger at http://mattiasgeniar.be
What is MoZBX?
New UI
Why mobile?
Challenges
Limited resources
Too many devices
First: UI Framework: jqTouch
Now: Twi,er Bootstrap
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.
Easier navigation
Pre,ier forms
Same graphs
App vs Mobile Site
Hacking graphs
Fetching with cURL
Retrieve graphs via API Please. J
Zabbix 1.8 vs 2.x
API changes
Double Code
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
Hosted version www.mozbx.net
Why I do it?
TODO Or more fancy: the roadmap
TODO Be,er git commits? J
Expand host view
Contribute? • Issue tracker
Contribute? • Source: https://github.com/mattiasgeniar/MoZBX• -> could use: patches, new features, ... It’s simple PHP!
Contribute? • More UI testing: need more phones
Contribute? • Interested?-> Twitter: @mattiasgeniar-> E-mail: [email protected]