Combined bandwidth threshold help

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
_sjm_
Posts: 5
Joined: Thu Jul 01, 2010 4:54 pm

Combined bandwidth threshold help

Post by _sjm_ »

I'm trying to trigger an alert on combined bandwidth (in/out) usage. I set the value for the trigger trying to use the RPN Expression of |ds:traffic_in|,|ds:traffic_out|,+ but it seems the value for the trigger is only |ds:traffic_in| . Am I missing something?
Attachments
screenshot.png
screenshot.png (80.51 KiB) Viewed 1295 times
screenshot3.png
screenshot3.png (30.42 KiB) Viewed 1296 times
screenshot2.png
screenshot2.png (15.99 KiB) Viewed 1296 times
screenshot1.png
screenshot1.png (13.68 KiB) Viewed 1296 times
nandozzi
Posts: 34
Joined: Sun Nov 25, 2012 6:44 am

Re: Combined bandwidth threshold help

Post by nandozzi »

I have encountered the same problem with the multi-cpu template.
I need to set a threshold based on the mean between two cpu, but when i use a custom cdef (a,b,+,2,/), i receive a value not correct for my purpose.
For example how i can add a third data source based on the sum of the two cpu ???
Thanks in advance for your reply and excuse me for my bad english :)
Nandozzi
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Combined bandwidth threshold help

Post by phalek »

You should try enabling the following lines from the "thold_functions.php" file ( remove the "//" in front of the cacti_log):

Code: Select all

692        //cacti_log(implode(",", array_keys($data_sources)));
693        //cacti_log(implode(",", $data_sources));
694        //cacti_log(implode(",", $expression));
then check your cacti log for some additional info.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests