Table of Contents
I. Installation...................................................................................................................................................................................1
1. Requirements .....................................................................................................................................................................1
2. Installing Under Unix .......................................................................................................................................................2
3. Installing Under Windows...............................................................................................................................................3
4. Upgrading Cacti ................................................................................................................................................................7
II. Basics ...........................................................................................................................................................................................8
5. Graph Overview ................................................................................................................................................................8
6. How to Graph Your Network..........................................................................................................................................9
6.1. Creating a Device..................................................................................................................................................9
6.2. Creating the Graphs ...........................................................................................................................................10
7. Viewing Graphs ...............................................................................................................................................................11
7.1. Graph Trees..........................................................................................................................................................11
8. User Management ...........................................................................................................................................................12
8.1. Creating a New User ..........................................................................................................................................12
8.2. Realm Permissions..............................................................................................................................................13
8.3. Graph Permissions..............................................................................................................................................13
8.4. Graph Settings.....................................................................................................................................................13
III. Advanced Topics....................................................................................................................................................................14
9. Data Input Methods ........................................................................................................................................................14
9.1. Creating a Data Input Method..........................................................................................................................14
9.2. Making Your Scripts Work With Cacti.............................................................................................................15
10. Data Queries...................................................................................................................................................................16
10.1. Creating a Data Query .....................................................................................................................................16
10.2. SNMP Query XML Syntax ..............................................................................................................................17
10.3. Script Query XML Syntax................................................................................................................................19
11. Templates........................................................................................................................................................................21
11.1. Graph Templates ...............................................................................................................................................21
11.2. Data Templates..................................................................................................................................................24
11.3. Host Templates..................................................................................................................................................26
12. PHP Script Server ..........................................................................................................................................................27
12.1. Using the Script Server.....................................................................................................................................27
12.2. Upgrade Steps for the Example HostMib Data Queries .............................................................................27
12.3. Migration of Existing PHP Scripts to Script Server .....................................................................................27
12.4. Testing Your Script in the Script Server .........................................................................................................29
IV. Using Cacti..............................................................................................................................................................................30
13. How To............................................................................................................................................................................30
13.1. Graph a Single SNMP OID..............................................................................................................................30
13.2. Simplest Method of Going from Script to Graph (Walkthrough)..............................................................30
14. Frequently Asked Questions .......................................................................................................................................35
V. Reference ..................................................................................................................................................................................38
15. Variables..........................................................................................................................................................................38
15.1. Graph Variables.................................................................................................................................................38
15.2. Host Variables....................................................................................................................................................39
16. RRDTool Specific Features ...........................................................................................................................................40
16.1. GPRINT Presets.................................................................................................................................................40
16.2. CDEFs .................................................................................................................................................................40
iii
<
New Page 1
Php Mysql Web Hosting