baseline deviation - question

Support questions about the Threshold plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

baseline deviation - question

#1 Post by ahiyaz » Mon Jul 29, 2019 9:46 am

hi guys

I'm using cacti 1.2.4 with thold plugin 1.0.3 enabled.
and also the monitor plugin is enabled.
currently, I've configured some high/low thresholds templates and they work and send a notification when reached.
I've tried to configure a baseline deviation thold on one of my graphs but it didn't work (haven't been reached).
I configure it just for testing, with a time range of 15min and up/down of 5%.
I've triggered an event when the deviation is much higher than 5% the thold was not triggered.
I've attached the thold configuration screenshot.

any help is appreciated.

thank you all :o
Attachments
thold.JPG
thold.JPG (144.02 KiB) Viewed 250 times
thold.JPG
thold.JPG (144.02 KiB) Viewed 250 times

User avatar
Osiris
Cacti Pro User
Posts: 835
Joined: Mon Jan 05, 2015 10:10 am

Re: baseline deviation - question

#2 Post by Osiris » Wed Jul 31, 2019 6:58 am

I think that should have triggered. Was there anything in your Cacti log? What about the thold log?
Before history, there was a paradise, now dust.

ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

Re: baseline deviation - question

#3 Post by ahiyaz » Wed Jul 31, 2019 8:28 am

hi and thanks for responding

i see nothing relevant on logs

cacti log

2019/07/31 16:26:01 - SYSTEM THOLD STATS: Time:0.0917 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:25:02 - SYSTEM THOLD STATS: Time:0.1011 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:24:02 - SYSTEM THOLD STATS: Time:0.0794 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:23:22 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[80]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[43]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:23:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[80]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:23:20 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[49]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:23:20 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:23:02 - SYSTEM THOLD STATS: Time:0.0860 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:22:02 - SYSTEM THOLD STATS: Time:0.0821 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:21:01 - SYSTEM THOLD STATS: Time:0.0823 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:20:02 - SYSTEM THOLD STATS: Time:0.0888 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:19:41 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold.php[119]:top_header(), /lib/functions.php[3221]:include_once(), /include/top_header.php[43]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:19:41 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold.php[119]:top_header(), /lib/functions.php[3221]:include_once(), /include/top_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:19:35 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[43]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:19:35 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:19:01 - SYSTEM THOLD STATS: Time:0.0871 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:18:03 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[80]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[43]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:18:03 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[80]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:18:01 - SYSTEM THOLD STATS: Time:0.1309 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:17:44 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[49]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:17:44 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold_graph.php[54]:general_header(), /lib/functions.php[3236]:include_once(), /include/top_general_header.php[27]:draw_navigation_text(), /lib/functions.php[2587]:CactiErrorHandler())
2019/07/31 16:17:01 - SYSTEM THOLD STATS: Time:0.0852 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:16:02 - SYSTEM THOLD STATS: Time:0.1119 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:15:02 - SYSTEM THOLD STATS: Time:0.0939 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0
2019/07/31 16:14:02 - SYSTEM THOLD STATS: Time:0.0908 Tholds:39 TotalDevices:60 DownDevices:0 NewDownDevices:0


on thold log only old messages

FW 2019-07-09 12:00:57 High / Low WARNING: FW - Traffic - - port2 [traffic_in] is still above threshold of 5000000 with 10326138.1 5.00 M 10.33 M
FW 2019-07-09 11:59:53 High / Low WARNING: FW - Traffic - - port2 [traffic_in] is still above threshold of 5000000 with 10234239.0847 5.00 M 10.23 M
FW 2019-07-09 11:59:00 High / Low WARNING: FW - Traffic - - port2 [traffic_in] went above threshold of 5000000 with 7570731.7333 5.00 M 7.57 M
SW00 2019-07-09 11:11:53 High / Low ALERT: SW00 - Broadcast Packets - ethernet1/3/2 [nonunicast_out] went below threshold of 1 with 0.2034 1 0.20
SW00 2019-07-09 11:10:56 High / Low ALERT: SW00 - Broadcast Packets - ethernet1/3/2 [nonunicast_out] went below threshold of 1 with 0.2 1 0.20
FW 2019-07-09 11:10:54 High / Low ALERT: FW - Fortinet CPU Usage [fg_SysCpuUsage] went below threshold of 8 with 2 8 2
SW00 2019-07-09 11:10:54 High / Low WARNING: SW00 - Broadcast Packets - ethernet1/3/2 [nonunicast_in] went above threshold of 1 with 1.6 1 1.60
SW00 2019-07-09 10:08:52 High / Low WARNING: SW00 - Broadcast Packets - ethernet1/3/2 [nonunicast_in] went above threshold of 1 with 1.4098 1 1.41
SW00 2019-07-09 10:07:55 High / Low ALERT: SW00 - Broadcast Packets - ethernet1/3/2 [nonunicast_out] went below threshold of 1 with 0

ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

Re: baseline deviation - question

#4 Post by ahiyaz » Wed Jul 31, 2019 8:29 am

attached is current thold status


thanks
Attachments
thold2.JPG
thold2.JPG (91.3 KiB) Viewed 234 times
thold1.JPG
thold1.JPG (70.86 KiB) Viewed 234 times

User avatar
Osiris
Cacti Pro User
Posts: 835
Joined: Mon Jan 05, 2015 10:10 am

Re: baseline deviation - question

#5 Post by Osiris » Fri Aug 02, 2019 5:24 pm

Can't you update to develop and show that screen again.
Before history, there was a paradise, now dust.

ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

Re: baseline deviation - question

#6 Post by ahiyaz » Tue Aug 13, 2019 2:55 am

hi
thanks for responding.
sorry for delay answer, i was out of office for a while.
i didn't really follow that, what do you mean by "update to develop"?

netniV
Cacti Guru User
Posts: 2673
Joined: Sun Aug 27, 2017 12:05 am

Re: baseline deviation - question

#7 Post by netniV » Tue Aug 13, 2019 8:12 am

Download the latest version from GitHub but do be aware of the minimum version of cacti required for the version you download.

ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

Re: baseline deviation - question

#8 Post by ahiyaz » Thu Aug 15, 2019 5:34 am

ok thanks

so I should upgrade the Thold ver?
I cacti ver is pretty new ver 1.2.4

netniV
Cacti Guru User
Posts: 2673
Joined: Sun Aug 27, 2017 12:05 am

Re: baseline deviation - question

#9 Post by netniV » Thu Aug 15, 2019 10:05 am

You should be OK with the latest GitHub version then. Just check in the INFO file to be sure.

ahiyaz
Posts: 6
Joined: Mon Jul 29, 2019 9:31 am

Re: baseline deviation - question

#10 Post by ahiyaz » Sun Aug 18, 2019 3:31 am

is it possible to upgrade via upgrade.php?
how can I update without losing all configured thresholds (populated to templates).
thanks for your help
in pretty new to cacti

netniV
Cacti Guru User
Posts: 2673
Joined: Sun Aug 27, 2017 12:05 am

Re: baseline deviation - question

#11 Post by netniV » Sun Aug 18, 2019 9:14 am

Just copy in the new version, visit the upgrade plugin page and it should upgrade automatically.

Post Reply