Cactiusers.org


It is currently Thu May 17, 2012 8:47 am




Post new topic Reply to topic  [ 4 posts ] 
 [Thold]: Associated Graph bug 
Author Message
User

Joined: Wed Jan 04, 2006 2:17 am
Posts: 28
Post [Thold]: Associated Graph bug
Short Description:
Thold always displays and assigns only one associated graph with the lowest graph_id.

Long Description:
I have configured multiple graphs per data source. Each graph is showing a subset of the data source items. For example, one graph showing traffic_in and the other showing traffic_out.

Now, when creating a threshold, thold offers only one graph in "Associated Graphs" field. The graph offered is always the graph with the lowest graph_id.
When an alarm is triggered, the Email contains always the graph with the lowest graph_id. So, if traffic_out is triggered by thold, the graph for traffic_in will be sent by Email.

I can fix it by manually changing the field "element" in the "thold" table to the proper graph_id. But this change is not consistent, since next time I edit the thereshold, the wrong graph_id is stored to DB again.

System Info:
Cacti 0.8.6h
Thold 0.2.7


Fri Jan 06, 2006 6:58 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: [Thold]: Associated Graph bug
ralfk wrote:
Short Description:
Thold always displays and assigns only one associated graph with the lowest graph_id.

Long Description:
I have configured multiple graphs per data source. Each graph is showing a subset of the data source items. For example, one graph showing traffic_in and the other showing traffic_out.

Now, when creating a threshold, thold offers only one graph in "Associated Graphs" field. The graph offered is always the graph with the lowest graph_id.
When an alarm is triggered, the Email contains always the graph with the lowest graph_id. So, if traffic_out is triggered by thold, the graph for traffic_in will be sent by Email.

I can fix it by manually changing the field "element" in the "thold" table to the proper graph_id. But this change is not consistent, since next time I edit the thereshold, the wrong graph_id is stored to DB again.

System Info:
Cacti 0.8.6h
Thold 0.2.7


Good catch, I didn't even notice this happening. I'll be looking into fixing this immediately.


Fri Jan 06, 2006 10:28 am
New User

Joined: Tue May 16, 2006 2:58 am
Posts: 2
Post 
Did this get fixed? I couldn't find it in the bug tracker.

Ian


Tue May 16, 2006 3:01 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
As of a few minutes ago, the thold table no longer exists, so I am hoping to be able to squash this bug in the same swipe. I am about to do some testing to see if I can still reproduce this, and then will get back to you.


Tue Sep 12, 2006 10:56 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: