Broken Graph Link in non-templated Threshold

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
psmallwood
Posts: 3
Joined: Sun Nov 11, 2012 1:44 pm

Broken Graph Link in non-templated Threshold

Post by psmallwood »

Hi all,
Has anybody seen this issue?
When viewing a graph I click "create threshold".
Then in the "create threshold" screen I intentionally do not select a threshold template because I wish to set a threshold that is specific to this graph.
In the next screen I select the Data Source I am interested in and press create, set my threshold values and press save.
If I then go to the threshold screen I can see the newly created threshold.
The problem is that the "View Graph" action link in that threshold specifies a graph id of zero and when I click the link it says "Graph does not exist". Here is an example view graph URL showing the zero graph id:
http://1.2.3.4/cacti/graph.php?local_gr ... rra_id=all
If I create the graph using a threshold template I do not get the problem.
Does anybody else seen this problem and is there a solution to mend the broken graph link?
Regards,
Peter
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Broken Graph Link in non-templated Threshold

Post by gandalf »

A THOLD specific issue, moving
R.
psmallwood
Posts: 3
Joined: Sun Nov 11, 2012 1:44 pm

Re: Broken Graph Link in non-templated Threshold

Post by psmallwood »

Does anyone have any advice about my original post?
Kind regards,
Peter
psmallwood
Posts: 3
Joined: Sun Nov 11, 2012 1:44 pm

Re: Broken Graph Link in non-templated Threshold

Post by psmallwood »

Has anyone seen this issue?
rbo
Posts: 5
Joined: Mon Sep 07, 2009 3:18 pm
Location: Guadeloupe

Re: Broken Graph Link in non-templated Threshold

Post by rbo »

Hi,

Yes, currently testing 0.4.9-3 in 0.8.8.a (dev/integration) (and also 0.8.7.e - production) environments.
Problem still there.

We can find in THOLD DEBUG logs the following messages (1st seems ok, 2nd one shows that associated graph could not be retrieved)
:
12/10/2012 04:25:03 PM - THOLD: Checking Threshold: DS:SpanCurrentDataRate RRA_ID:2408 DATA_ID:5868 VALUE:768
12/10/2012 04:25:03 PM - THOLD: Checking Threshold:'mynode - 1/1/18/3 - SHDSL stats [SpanCurrentDataRate]', Graph:'0'

It seems to only occur with data templates with many data source items (except for the Interface Traffic Data Input Method).
I have the same problem with a Get Script Server Data (Indexed) and a Get SNMP Data (Indexed) Data Input Method.

Help would be appreciated even to get mantis tracking number.
If any dev version is available I can test it.

Best regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests