Once one or more data sources are defined, an RRDTool graph can be created using the data. Cacti allows you to create almost any imaginable RRDTool graph using all of the standard RRDTool graph types and consolidation functions. A color selection area and automatic text padding function also aid in the creation of graphs to make the process easier.
Not only can you create RRDTool based graphs in cacti, but there are many ways to display them. Along with a standard "list view" and a "preview mode", which resembles the RRDTool frontend 14all, there is a "tree view", which allows you to put graphs onto a hierarchical tree for organizational purposes.
base on sample http://teguhth.blogspot.co.id/2018/01/monitoring-oidmib-temperature-fan-speed.html
A. Create Data Template
1. Console -> Data Template -> Add
2. Fill Data Template
Data Templates
Name : Temperature @ Ocelot
Data Source
Name : |host_description| - Temperature @ Ocelot
Data Input Method : Get SNMP Data
Associated RRA's : Daily, Weekly, Mounthly, Yearly
Data Source Item
Internal Data Source Name : Temp_ocelot
Minimum Value : Check
Maximum Value : Check
Data Source Type : Gauge
and Create
3. fill Custom Data
OID : .1.3.6.1.2.1.99.1.1.1.4.6
and save
4. for other temperature, repeate step 2 & step 3
B. Create Graph Template
1. Console -> Graph Template -> Add
2. Fill as
Template
Name : PaloAlto - Temperature
Graph Template
Title : |host_description| - PaloAlto - Temperature
Upper Limit : Check
Lower Limit : Check
Vertical Lebel : Celcius
then Create
3. Add Graph Template Item
Data Source : Temperature @ Ocelot(Temp_ocelot)
Color : FFAB00
Graph Item Type : Line1
Consolidation Function : Average
GPRINT Type : Normal
Text Format Temp@Ocelot
then Create
4. Repeate for number 3 for other hardware
5. and save
C. Add Associated Graph Templates
1. Console > Devices -> Device(IP)
2. Add Graph Template = PaloAlto - Temperature and press button Add
3. Then press button Save
4. Create Graphs for This Host
5. Select Create: PaloAlto - Temperature and create and create
D. Showing Graph on Device Tree
Not only can you create RRDTool based graphs in cacti, but there are many ways to display them. Along with a standard "list view" and a "preview mode", which resembles the RRDTool frontend 14all, there is a "tree view", which allows you to put graphs onto a hierarchical tree for organizational purposes.
base on sample http://teguhth.blogspot.co.id/2018/01/monitoring-oidmib-temperature-fan-speed.html
A. Create Data Template
1. Console -> Data Template -> Add
2. Fill Data Template
Data Templates
Name : Temperature @ Ocelot
Data Source
Name : |host_description| - Temperature @ Ocelot
Data Input Method : Get SNMP Data
Associated RRA's : Daily, Weekly, Mounthly, Yearly
Data Source Item
Internal Data Source Name : Temp_ocelot
Minimum Value : Check
Maximum Value : Check
Data Source Type : Gauge
and Create
3. fill Custom Data
OID : .1.3.6.1.2.1.99.1.1.1.4.6
and save
4. for other temperature, repeate step 2 & step 3
B. Create Graph Template
1. Console -> Graph Template -> Add
2. Fill as
Template
Name : PaloAlto - Temperature
Graph Template
Title : |host_description| - PaloAlto - Temperature
Upper Limit : Check
Lower Limit : Check
Vertical Lebel : Celcius
then Create
3. Add Graph Template Item
Data Source : Temperature @ Ocelot(Temp_ocelot)
Color : FFAB00
Graph Item Type : Line1
Consolidation Function : Average
GPRINT Type : Normal
Text Format Temp@Ocelot
then Create
4. Repeate for number 3 for other hardware
5. and save
C. Add Associated Graph Templates
1. Console > Devices -> Device(IP)
2. Add Graph Template = PaloAlto - Temperature and press button Add
3. Then press button Save
4. Create Graphs for This Host
5. Select Create: PaloAlto - Temperature and create and create
D. Showing Graph on Device Tree
No comments:
Post a Comment