Chapter 13. How To
Click Create
Should see "Save Successful.", Item #1 listed and a graph under debug (probably with nothing in it yet)
To add a legend, click Add by Graph Items again
Data Source: No Host random2ds (random_number)
Color: None
Graph Item Type: GPRINT
Consolidation Function: LAST
CDEF Function: None
Value: blank
GPRINT Type: Normal
Text Format: Cur:
Insert Hard Return: unchecked
Click Create
Should see "Save Successful." and the graph will have a legend showing the current value. Note: your integer
random number has been averaged over the past 5 minutes. At the bottom of the page, click save.
At the bottom of the page, click Save.
Should see "Save Successful." and your graph listed.
4. Add graph to the graph view
Click Graph Trees under Management
We'll create a tree called "test" to place our graph
Click Add
Name: test
Should see "Save Successful"
Click Add beside Tree Items (to add our graph to this tree)
Under Tree Items [graph]...
Graph: RANDOM NUMBERS (we named this in step 3)
Round Robin Archive: Daily (5 Minute Average)
Click Create
Should see "Save Successful." and RANDOM NUMBERS listed under Tree Items
Click Save
Should see "Save Successful." and test listed under Graph Trees
5. View Graph
Select Graphs tab
Select tree view (Tree beside settings tab)
Select test tree on left
You may see "Random Graph" but no graph. It takes two or three polls (10 15 minutes) to see a graph. I
believe poll 1 to create the rrd, poll 2 to get the first data point and poll 3 to have graphable points.
While waiting, you can click the RANDOM NUMBERS graph. You'll see place holders for 4 graphs. Select
[source] under Daily (5 Minute Average). You'll see the source for the call to rrdtool graph. Give it a sanity
check.
Now be patient. Hit your refresh button every few minutes. After the first poll I got a few empty graphs. A
few minutes later data started showing up.
33
<
New Page 1
Php Mysql Web Hosting