Generate two graphs each time by using self defined template

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
fzhongjie
Posts: 6
Joined: Tue Apr 28, 2009 10:17 pm

Generate two graphs each time by using self defined template

Post by fzhongjie »

Hi,

I just cannot figure out why will cacti generate two graphs each time when i use self defined graph template. Actually, I just want the one of them. Please guide me if there is someone knows this. Thank you.

For an instance:

1.
I created a new Data Template:
Data Templates [edit: Cisco Router - 1 Minute CPU (1 min step)]
See attached screenshot.

2.
I created a new Graph Template:
Graph Template Items [edit: 1 Cisco - CPU Usage (1 min step)]
Each item is using new created data template.
See attached screenshot.

3.
Then go to 'Device', generate graph. Unforturnately, cacti will create two graphs for me each time. One is for 5 mins, another is what I want.

This issue only was seen when I tried to use CPU, temperature, connections, memory template, etc. Not for the interface graph.
See attached screenshot.

Appreciate if someone knows this.

My environment:
cacti Version 0.8.7d
rrdtool: 1.2.x
Attachments
05.JPG
05.JPG (150.08 KiB) Viewed 572 times
04.JPG
04.JPG (144.68 KiB) Viewed 572 times
03.JPG
03.JPG (134 KiB) Viewed 572 times
02.JPG
02.JPG (202.26 KiB) Viewed 572 times
01.JPG
01.JPG (198.85 KiB) Viewed 572 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Generate two graphs each time by using self defined temp

Post by gandalf »

fzhongjie wrote:1.
I created a new Data Template:
Data Templates [edit: Cisco Router - 1 Minute CPU (1 min step)]
See attached screenshot.
You are using modified RRAs, then? You are aware of the fact, that simply selecting the Cacti default RRA's will not get you what you (probably) want? You will need a complete set of RRAs matching the 60 sec. step size required for 1 min polling!
2.
I created a new Graph Template:
Graph Template Items [edit: 1 Cisco - CPU Usage (1 min step)]
Each item is using new created data template.
See attached screenshot.
This was copied from the basic CPU graph template, eh? Please delete the unwanted graph item inputs (02.jpg), then and retry
r.
fzhongjie
Posts: 6
Joined: Tue Apr 28, 2009 10:17 pm

Post by fzhongjie »

Hi Gandalf,

I got it. Actually, this issue was not caused by modified template. It was a misoperation of mine.

See attached screenshot 04 in previous post, I chose an item in the table while I selected another item in the drop-down list.

hehe.... Thank you for your help! Thank you.

Jerry
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest