nagios conference 2007
DESCRIPTION
A presentation I gave at NagiosKonferenz in Nuremberg in October, 2007. Here I discussed using Nagios as a framework for hardware-based monitoring and the necessary community interactions between proprietary hardware vendors and the open source Nagios community.TRANSCRIPT
![Page 1: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/1.jpg)
Kevin MenardServprise International, [email protected]
+1 508.892.3823 x308
Nagios: A Framework for Hardware-based Monitoring
October 11, 2007
®
![Page 2: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/2.jpg)
Nagios Out-of-the-box
• Only monitors part of network– Software-based services– Hardware via SNMP
![Page 3: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/3.jpg)
Structure of Modern Networks
![Page 4: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/4.jpg)
Need for Hardware Plugins
• Necessary for total network coverage
• Monitor non-network services
• Take corrective action with hardware
![Page 5: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/5.jpg)
SNMP isn’t Enough
• Difficult for complex operations
• MIB management can be a hassle
• Security– Non-existent security until SNMPv3– May require holes in firewall
• Need hardware-specific plugins
![Page 6: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/6.jpg)
Nagios as Mediator
• Register event handlers with checks
• Execute event handlers due to checks
• Schedule checks based on event handlers
• Simple checks, simple event handlers
![Page 7: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/7.jpg)
Hardware-based Plugins
• Handle complex interactions
• Provide semantic meaning
• Provide hardware-specific error messages
![Page 8: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/8.jpg)
Web Service-enabled Hardware
• Standards-defined interface (W3C)
• Supports most modern programming languages
• Lower cost of client support
• Lower cost for client development
![Page 9: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/9.jpg)
Web Service Security
• Use SSL channel (HTTPS)
• Use HTTP authentication methods
• No special firewall rules needed
![Page 10: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/10.jpg)
Vendor Value Proposition
• Push complex monitoring to 3rd party
• Support widely deployed monitoring app
• Potential for community contributions
![Page 11: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/11.jpg)
Nagios Value Proposition
• Total network coverage
• Push development off to vendor
• Competitive advantage against other monitoring applications
![Page 12: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/12.jpg)
What Can Nagios Do?
• Can’t develop plugins for everything
• Register support with vendors
• Perhaps ship packaged up plugins– Simpler for end users
• Develop an ontology of actions
![Page 13: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/13.jpg)
Example Ontology of Actions
![Page 14: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/14.jpg)
Ontology Benefits
• Common set of checks
• Common set of corrective actions
• Materialized by command definitions
• Vendor interoperability
• Minimized configuration
![Page 15: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/15.jpg)
Ontology Representation
• Use W3C’s OWL standard
• XSL transformation to command definitions
• Vendors “plug-in” command, keep command name the same
![Page 16: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/16.jpg)
What Can Vendors Do?
• Embrace open source
• Use open interface– Can still shield proprietary internals
• Produce open source plugins using interface
![Page 17: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/17.jpg)
Working with Nagios Community
• Users– Know what they want to use– Can offer great suggestions
• Developers– Know Nagios internals– Can offer technical support
• Neither are obligated– Quid pro quo
![Page 18: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/18.jpg)
Plugin Licensing
• Nagios is GPL
• Plugins are not necessarily derived works
• Plugins that do not use GPL code do not need to be GPL
• Non-open source unlikely to succeed, but doable
![Page 19: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/19.jpg)
Conclusion
• Lot of value for Nagios, vendors
• Symbiotic relationship between them
• Nagios can technically support vendors, needs to support them at higher level
• Vendors need to work with Nagios community
• End users win
![Page 20: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/20.jpg)
ReferencesErnesto Damiani, Sabrina De Capitani di Vimercati,
Stefano Paraboschi, and Pierangela Samarati. Fine grained access control for soap e-services. In WWW ’01: Proceedings of the 10th international conference on World Wide Web, pages 504–513, New York, NY, USA, 2001. ACM Press.
The Apache Software Foundation. Apache license, version 2.0, 2004.
Free Software Foundation Inc. Gnu general public license, version 2, 1991.
Paul Fremantle, Sanjiva Weerawarana, and Rania Khalaf. Enterprise services. Commun. ACM, 45(10):77–82, 2002.
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, 1995.
Bruce Perens. Open standards: Principles and practices.
Khoi Anh Phan, Zahir Tari, and Peter Bertok. A benchmark on soap’s transport protocols performance for mobile applications. In SAC ’06: Proceedings of the 2006 ACM symposium on Applied computing, pages 1139–1144, New York, NY, USA, 2006. ACM Press.
John Soldatos and Dimitris Alexopoulos. Web services-based network management: approaches and the wsnet system. Int. J. Netw. Manag., 17(1):33–50, 2007.
Douglas B. Terry and Venugopalan Ramasubramanian. Caching xml web services for mobility. Queue, 1(3):70–78, 2003.
Robert van Engelen. Code generation techniques for developing lightweight xml web services for embedded devices. In SAC ’04: Proceedings of the 2004 ACM symposium on Applied computing, pages 854–861, New York, NY, USA, 2004. ACM Press.
![Page 21: Nagios Conference 2007](https://reader033.vdocuments.us/reader033/viewer/2022052905/558527e0d8b42a30308b4572/html5/thumbnails/21.jpg)
Acknowledgements
• Nagios community
• Netways
• Servprise staff
• Special thanks to:– Melanie Bolduc– Ethan Galstad