Threshold sent attached with aggregate not individual graph

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Sophanith
Posts: 21
Joined: Fri Aug 08, 2014 3:38 am

Threshold sent attached with aggregate not individual graph

Post by Sophanith »

Hi All,

Threshold was added with individual graph, but the email alert is sent attached with the aggregate one.
When email alert, it should sent out with individual graph in attached.

Note: when adding threshold, it view as individual graph as normal, but when we go to thold tab and click "View Graph" on threshold it will show aggregate one.

Could anyone help or used to solve with this issue?

Thold v0.5.0
Cacti V0.8.8b

Appreciate for your help.

Thanks,
dvc
Posts: 18
Joined: Mon Apr 29, 2013 12:44 am

Re: Threshold sent attached with aggregate not individual gr

Post by dvc »

I've seen this. The relevant row in the thold_data table has been updated with the aggregate graph_id instead of the original graph_id. Don't know what the cause is, I didn't dig too deep but I fixed it by updating the thold_data table with the correct graph and graph_template ids.

Code: Select all

UPDATE thold_data SET graph_template = <template_id>, graph_id = <graph_id> WHERE id = <thold table id>;
The template id you can get from the "graph templates" page. The graph id you want to set it to you can get the the "manage graphs" page and the id is just the thold_data table row id of the row you want to edit. Do a "SELECT *" on the thold_data table to identify the right row.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests