Cacti 0.8 Network Monitoring
()
About this ebook
Related to Cacti 0.8 Network Monitoring
Related ebooks
Lighttpd Rating: 4 out of 5 stars4/5C++ Networking 101: Unlocking Sockets, Protocols, VPNs, and Asynchronous I/O with 75+ sample programs Rating: 0 out of 5 stars0 ratingsHands-on TinyML: Harness the power of Machine Learning on the edge devices (English Edition) Rating: 5 out of 5 stars5/5Computer Networking: Enterprise Network Infrastructure, Network Security & Network Troubleshooting Fundamentals Rating: 0 out of 5 stars0 ratingsLearn Rails 6: Accelerated Web Development with Ruby on Rails Rating: 0 out of 5 stars0 ratingsBoost.Asio C++ Network Programming Cookbook Rating: 0 out of 5 stars0 ratingsAdvanced Robotic Vehicles Programming: An Ardupilot and Pixhawk Approach Rating: 0 out of 5 stars0 ratingsOpen Client/Server Computing and Middleware Rating: 0 out of 5 stars0 ratingsProfessional Assembly Language Rating: 4 out of 5 stars4/5Coding in the Real World Rating: 0 out of 5 stars0 ratingsImplementing Effective Code Reviews: How to Build and Maintain Clean Code Rating: 0 out of 5 stars0 ratingsParallel Computing Rating: 0 out of 5 stars0 ratingsBeginning PyQt: A Hands-on Approach to GUI Programming Rating: 0 out of 5 stars0 ratingsUsing Yocto Project with BeagleBone Black Rating: 0 out of 5 stars0 ratingsPthreads Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsRegex Quick Syntax Reference: Understanding and Using Regular Expressions Rating: 0 out of 5 stars0 ratings3D NAND Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsDesigning Microservices with Django: An Overview of Tools and Practices Rating: 0 out of 5 stars0 ratingsElasticsearch 5.x Cookbook - Third Edition Rating: 0 out of 5 stars0 ratingsDesign Methods for Reactive Systems: Yourdon, Statemate, and the UML Rating: 3 out of 5 stars3/5D Cookbook Rating: 0 out of 5 stars0 ratingsRust for the IoT: Building Internet of Things Apps with Rust and Raspberry Pi Rating: 0 out of 5 stars0 ratingsVMware NSX A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsTwilio Cookbook: Second Edition Rating: 0 out of 5 stars0 ratingsMastering Go Network Automation Rating: 0 out of 5 stars0 ratingsOpenVX Programming Guide Rating: 0 out of 5 stars0 ratingsAdvanced Home Automation Using Raspberry Pi: Building Custom Hardware, Voice Assistants, and Wireless Nodes Rating: 0 out of 5 stars0 ratingsLearn Java for Android Development: Java 8 and Android 5 Edition Rating: 0 out of 5 stars0 ratingsBuilding Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers Rating: 0 out of 5 stars0 ratings
Information Technology For You
Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsInkscape Beginner’s Guide Rating: 5 out of 5 stars5/5AWS Certified Cloud Practitioner: Study Guide with Practice Questions and Labs Rating: 5 out of 5 stars5/5The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5SharePoint Designer Tutorial: Working with SharePoint Websites Rating: 1 out of 5 stars1/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsAn Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5How To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Hacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5Handbook of Digital Forensics and Investigation Rating: 4 out of 5 stars4/5Codeless Data Structures and Algorithms: Learn DSA Without Writing a Single Line of Code Rating: 0 out of 5 stars0 ratingsInformation Security Best Practices: 205 Basic Rules Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5CompTIA ITF+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsThe Power of Pull (Review and Analysis of Hagel, Brown and Davison's Book) Rating: 5 out of 5 stars5/5Raspberry Pi :Raspberry Pi Guide On Python & Projects Programming In Easy Steps Rating: 3 out of 5 stars3/5Beginner's Guide to Information Security Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsCompTIA Security +: Malware and Malware Infections Rating: 0 out of 5 stars0 ratingsCOMPUTER SCIENCE FOR ROOKIES Rating: 0 out of 5 stars0 ratingsComputer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5Supercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5
Reviews for Cacti 0.8 Network Monitoring
0 ratings0 reviews
Book preview
Cacti 0.8 Network Monitoring - Dinangkur Kundu
Table of Contents
Cacti 0.8 Network Monitoring
Credits
About the Authors
About the Reviewers
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Cacti Overview
What is Cacti?
Why Cacti?
Cacti operation
Data retrieval
Data storage
Data presentation
Basic knowledge on Net-SNMP
Basic knowledge on RRDtool
How does the RRDTool work?
Summary
2. Prerequisites and Installing Cacti on Linux
Cacti's prerequisites
Installing Cacti prerequisites
Apache
PHP
MySQL
Net-SNMP
RRDTool
Installing Cacti
Installing Cacti using APT
RRDTool Binary Path
PHP Binary Path
snmpwalk Binary Path
snmpget Binary Path
snmpbulkwalk Binary Path
snmpgetnext Binary Path
Cacti Log File Path
SNMP Utility Version
RRDTool Utility Version
Installing Cacti from Source/Manual installation
Upgrading Cacti
Using APT
From source
Patch
Summary
3. Using Graphs to Manage Networks and Devices
Creating graphs
Adding a device
Device fields definition
SNMP support in Cacti
Creating a graph for the device
Organizing graphs
Summary
4. Creating and Using Templates
Types of Cacti templates
Graph templates
Creating a graph template
Graph Template Item
Graph Item Inputs
Host templates
Creating host templates
Using host templates
Importing templates
Exporting templates
Important templates
Summary
5. User Management
User Management console
Adding a user in Cacti
Editing a user
Realm permissions
Graph permissions
Graph settings
Other User Management options
Deleting users
Enabling and disabling users
Copying users
Batch copying
Summary
6. NET-SNMP
What is SNMP?
How SNMP works?
Management Information Bases (MIBs)
Comparison of SNMP versions and security
Net-SNMP
Basic Net-SNMP commands
Summary
7. Data Management
Data input method
Creating a data input method
Input fields
Output fields
Data queries
Creating a data query
Associated Graph Templates
SNMP query XML syntax
Script Query XML
Creating a graph for single SNMP OID
Summary
8. Cacti Management
Directory structure
Backup
File backup
Database backup
Restoring from a backup
Poller cache
Command Line Interface
Summary
Index
Cacti 0.8 Network Monitoring
Dinangkur Kundu
S. M. Ibrahim Lavlu
Cacti 0.8 Network Monitoring
Copyright © 2009 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2009
Production Reference: 1280709
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-847195-96-8
www.packtpub.com
Cover Image by Vinayak Chittar (<vinayak.chittar@gmail.com>)
Credits
Authors
Dinangkur Kundu
S. M. Ibrahim Lavlu
Reviewers
Andrei-Silviu Marinache
J.P. Pasnak, CD
Acquisition Editor
Rashmi Phadnis
Technical Editor
Ajay Shanker
Indexer
Hemangini Bari
Editorial Team Leader
Abhijeet Deobhakta
Project Team Leader
Lata Basantani
Project Coordinator
Neelkanth Mehta
Proofreaders
Claire Lane
Sandra Hopper
Production Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat
About the Authors
Dinangkur Kundu is currently working as an IT Support Analyst at Moriah College in Sydney, Australia. He also runs a local business directory for Bangladeshi people and in his free time, develops web sites using concrete5 CMS.
Dinangkur started his career as a Visual Basic programmer for DEN—a hospital management system development company. Later, he moved to Web programming and spent the majority of his career in the Web arena, using open source technologies that are the driving point of his technological advances. He worked as a LAMP developer for Quantumcloud—building and implementing e-commerce solutions, content management systems, helpdesk, and service oriented applications; as Chief Technical Officer, he implemented and managed Linux-based Internet gateways, mail, backup, revision control, and over all security. On rare occasions, he's away from his computer and you can find him reading books on String theory and gazing at Math books.
I dedicate this book—Dipty Rani Kundu and Ranjit Kumar Kundu, most extraordinary and beloved ones in my life, because of your love and blessing I am here and continuing my journey.
I also thank my sweet wife Suravi Sarkar for her faithful support in writing this book. Specially, my younger brother Shanku, who took care of Mum and Dad in my absence, and pushed me to reach my goal.
I want to thank Rashmi Phandis at Packt Publishing for being so patient with me.
S. M. Ibrahim Lavlu is a Linux wizard who has dedicated most of his time to Linux and open source. All the time he is busy with his technical world. He is also an expert in PHP. He is currently working as a software engineer and deployment engineer at Net Ltd. He maintains the world's largest Bangla blog community (www.somewhereinblog.net) and also the busiest site of Bangladesh. In his free time, Lavlu shares his knowledge on www.lavluda.com about his many tutorials and technical documents.
For successfully completing this book, all credit goes to my wife Tania Sabnam (www.tsabnam.com). And special thanks to the Cacti developer team for their great support.
About the Reviewers
Andrei-Silviu Marinache is 29 years old, and he has been working with computers since he was 8 years old. He began to like Linux and networks in the 9th grade, at high school. He often skipped classes just to spend a little more time on the Internet, in the high school's informatics laboratory. He has now more than 12 years of network-experience, a Master's in Informatics Security and works as a System Engineer for one of the biggest telecommunication companies in Romania.
Andrei began to use Cacti when version 0.8 appeared, and since then he continuously tweaked, bug-fixed, and improved it to suit his needs. Some of his patches were made available to the Cacti forum and to the Cacti team.
I'd like to thank to my wife, because she loves me, even though she can't understand why I sometimes go to sleep at 4 AM, to my mom because she supported me in my career, and to my dad, who built my first computer, a ZX-Spectrum clone.
J.P. Pasnak, CD is a Technical Analyst working on Operational Support Systems for a Canadian Telecommunications Company, a Senior Non-Commissioned Officer in the Canadian Forces Reserves, an avid supporter of Open Source projects, and a member of the Cacti Group.
Preface
Cacti is a web-based, PHP/MySQL graphing solution to monitor network bandwidth with SNMP using the RRDTool engine—developed by Tobi Oeticker who is already the creator of the famous MRTG. RRDtool is a program developed in C and it stores collected data on .rrd files. Cacti's strength lies in the fact that it