Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cacti 0.8 Beginner's Guide

You're reading from   Cacti 0.8 Beginner's Guide Learn Cacti and design a robust Network Operations Center

Arrow left icon
Product type Paperback
Published in Mar 2011
Publisher Packt
ISBN-13 9781849513920
Length 348 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Thomas Urban Thomas Urban
Author Profile Icon Thomas Urban
Thomas Urban
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Cacti 0.8Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing Cacti FREE CHAPTER 2. Using Graphs to Monitor Networks and Devices 3. Creating and Using Templates 4. User Management 5. Data Management 6. Cacti Maintenance 7. Network and Server Monitoring 8. Plugin Architecture 9. Plugins 10. Threshold Monitoring with Thold 11. Enterprise Reporting 12. Cacti Automation for NOC Mobile Access / Administration Online Resources Further Information Pop Quiz Answers
Index

Defining a graph template


Remember the "Have a go hero" challenge from Chapter 2? The graph showed a yellow area reaching a defined threshold and a red one once the threshold was breached. Now you're going to define the same type of graph template for a running processes graph template.

CDEF definition

As a prerequisite you're first going to create your two CDEFs, one for the green area and one for the yellow area. The threshold is set at 50, but you can change this to fit your needs. Let's have a look at the two CDEFs you're going to create shortly:

CDEF:isGreen=intspeed,0,44,LIMIT
CDEF:isYellow=intspeed,45,50,LIMIT

Cacti does not use named variables like intspeed but defines them according to the alphabet from a to z, so your definition from a Cacti view actually looks like:

CDEF:cdefa=a,0,44,LIMIT
CDEF:cdefb=a,45,50,LIMIT

isGreen and isYellow have also been changed. Don't worry, Cacti takes care of this automatically. Just remember that your green area will go from 0 to 44, the yellow...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image