Alex
Alex
Hi! One thold has standard 'turn bytes into bits' CDEF, and another checks exact value. ``` 24/11/2020 13:45:12 - CMDPHP X is 88891700.88 and Y is 8 24/11/2020 13:45:23 -...
BTW one graph (not thold) has this CDEF: `cdef=CURRENT_DATA_SOURCE,10,/,225,*,0.96,*`
Still same error after fixed file download: ``` 01/12/2020 14:58:43 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/thold/thold_graph.php[56]:tholds(), /plugins/thold/thold_graph.php[562]:thold_modify_values_by_cdef(), /plugins/thold/thold_functions.php[3727]:thold_build_cdef(), /plugins/thold/thold_functions.php[4078]:thold_rpn(), /plugins/thold/thold_functions.php[4117]:CactiErrorHandler()) 01/12/2020 14:58:43 - ERROR PHP WARNING in Plugin 'thold':...
Hope i did it right: ``` 02/12/2020 15:28:52 - CMDPHP X is * and Y is 0.96 02/12/2020 15:28:52 - CMDPHP Value for Data ID 6694 is not numeric:'*', Previous...
SNMP: ``` [root@cacti ~]# snmpget -v1 -c public 192.168.0.48 .1.3.6.1.4.1.2254.2.80.3.2.2.0 SNMPv2-SMI::enterprises.2254.2.80.3.2.2.0 = INTEGER: 254 ``` 
Updated, but still has errors: ``` 02/12/2020 16:45:21 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php[823]:api_plugin_hook(), /lib/plugins.php[74]:api_plugin_run_plugin_hook(), /lib/plugins.php[177]:thold_poller_bottom(), /plugins/thold/includes/polling.php[45]:thold_check_all_thresholds(), /plugins/thold/includes/polling.php[522]:thold_check_threshold(), /plugins/thold/thold_functions.php[2047]:thold_modify_values_by_cdef(), /plugins/thold/thold_functions.php[3727]:thold_build_cdef(), /plugins/thold/thold_functions.php[4087]:thold_rpn(), /plugins/thold/thold_functions.php[4126]:CactiErrorHandler()) 02/12/2020 16:45:21 - ERROR PHP WARNING in...
 
Updated. Good news - no more errors in log. Bad news - tholds get wrong values. Zero traffic on non-zero graph for example. 
Updated thold_functions.php. Tholds seems to work correct (shows correct values, sends valid emails). But i have errors in log again: ``` 14/12/2020 15:35:20 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php[823]:api_plugin_hook(),...