Thold - A non-numeric value encountered
Moderators: Developers, Moderators
Thold - A non-numeric value encountered
Help pls.
i install clear last cacti and clear las thold.
install my old graf template (i made myself, hdd storage usage over SNMP)
I not understand what the problem .
Have data in rrd
2019/07/14 15:23:08 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /home/arkasha18/site/admin.ru.net/cacti_new/rra/default_home_win_hrstoragesize_256.rrd --skip-past-updates --template hrStorageUsed:hrStorageSize 1563106985:27380565:29048289
2019/07/14 15:23:06 - POLLER: Poller[Main Poller] Device[default_home_win] DS[ default_home_win - hrStorageTable - C: Label: Serial Number 3e6f2391] Graphs[ default_home_win - C: Label: Serial Number 3e6f2391] SNMP: v2: , dsname: hrStorageUsed, oid: .1.3.6.1.2.1.25.2.3.1.6.1, output: 27380565
2019/07/14 15:23:06 - POLLER: Poller[Main Poller] Device[default_home_win] DS[ default_home_win - hrStorageTable - C: Label: Serial Number 3e6f2391] Graphs[ default_home_win - C: Label: Serial Number 3e6f2391] SNMP: v2: , dsname: hrStorageSize, oid: .1.3.6.1.2.1.25.2.3.1.5.1, output: 29048289
but thold not correct read value :
2019/07/14 15:03:15 - THOLD: Threshold HI / Low check is normal HI:b,a,/,100,* LOW:b,a,/,100,* VALUE:b,a,/,100,*
2019/07/14 15:03:15 - THOLD: Checking Threshold: Name: 'hrStorageUsed', local_data_id: '256', data_template_rrd_id: '713', value: 'b,a,/,100,*'
I do not understand how debug thold data
my graf template use 2xCDEFs
cdef=CURRENT_DATA_SOURCE,|query_hrStorageAllocationUnits|,*
and second
cdef=b,a,/,100,*
when i delete second (cdef=b,a,/,100,*) all work..
but i not understand why.
how get sourse data THOLD ?
i install clear last cacti and clear las thold.
install my old graf template (i made myself, hdd storage usage over SNMP)
I not understand what the problem .
Have data in rrd
2019/07/14 15:23:08 - POLLER: Poller[Main Poller] CACTI2RRD: /usr/bin/rrdtool update /home/arkasha18/site/admin.ru.net/cacti_new/rra/default_home_win_hrstoragesize_256.rrd --skip-past-updates --template hrStorageUsed:hrStorageSize 1563106985:27380565:29048289
2019/07/14 15:23:06 - POLLER: Poller[Main Poller] Device[default_home_win] DS[ default_home_win - hrStorageTable - C: Label: Serial Number 3e6f2391] Graphs[ default_home_win - C: Label: Serial Number 3e6f2391] SNMP: v2: , dsname: hrStorageUsed, oid: .1.3.6.1.2.1.25.2.3.1.6.1, output: 27380565
2019/07/14 15:23:06 - POLLER: Poller[Main Poller] Device[default_home_win] DS[ default_home_win - hrStorageTable - C: Label: Serial Number 3e6f2391] Graphs[ default_home_win - C: Label: Serial Number 3e6f2391] SNMP: v2: , dsname: hrStorageSize, oid: .1.3.6.1.2.1.25.2.3.1.5.1, output: 29048289
but thold not correct read value :
2019/07/14 15:03:15 - THOLD: Threshold HI / Low check is normal HI:b,a,/,100,* LOW:b,a,/,100,* VALUE:b,a,/,100,*
2019/07/14 15:03:15 - THOLD: Checking Threshold: Name: 'hrStorageUsed', local_data_id: '256', data_template_rrd_id: '713', value: 'b,a,/,100,*'
I do not understand how debug thold data
my graf template use 2xCDEFs
cdef=CURRENT_DATA_SOURCE,|query_hrStorageAllocationUnits|,*
and second
cdef=b,a,/,100,*
when i delete second (cdef=b,a,/,100,*) all work..
but i not understand why.
how get sourse data THOLD ?
Re: Thold - A non-numeric value encountered
Just use the percentage Data Type. The Data Source to use is the numerator, and then when you select Data Type Percentage, the total size is the denominator. If you want a threshold > 95%, just enter a hi threshold of 95. You should ensure that you trigger not immediately, but say after 3 polling cycles to avoid issues with timeouts.
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
i use
percentage Data Type
percentage Data Type
- Attachments
-
- FireShot Capture 031 - Console -} Threshold Templates_ - https___admin.ru.net_cacti_new_plu.jpg (203.31 KiB) Viewed 1797 times
Re: Thold - A non-numeric value encountered
Your template does not look like the standard one. Where did you get it from?
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
I'm also interested in what version of thold you are running cause the RPN expression should not be showing when you have Percentage as the data type. Can you look at your browsers debug console for JavaScript errors?
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
you can see for yourself (last cacti & cast thold)Osiris wrote:I'm also interested in what version of thold you are running cause the RPN expression should not be showing when you have Percentage as the data type. Can you look at your browsers debug console for JavaScript errors?
http://test.admin.ru.net/cacti_test/
Arkasha18
@Arkasha18
if i change in graf (hrStorageSize Item # 9) "CDEF Function:Host MIB - hrStorageTable Units" all work ok, but with "CDEF Function:Make a percentage b/a" - not work
http://test.admin.ru.net/cacti_test/gra ... late_id=68
http://test.admin.ru.net/cacti_test/gra ... edit&id=68
Re: Thold - A non-numeric value encountered
As you can see, Item 9 does not include any cdef, not should it.
- Attachments
-
- Item9.PNG (31.79 KiB) Viewed 1781 times
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
look template graph
- Attachments
-
- 1.jpg (220.91 KiB) Viewed 1780 times
-
- 2.jpg (101.42 KiB) Viewed 1780 times
Re: Thold - A non-numeric value encountered
Ope, sorry, now that I've logged in, I believe I see the bug. Can you please open a thold bug on Github?
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
I do not know howOsiris wrote:Ope, sorry, now that I've logged in, I believe I see the bug. Can you please open a thold bug on Github?
Re: Thold - A non-numeric value encountered
Before history, there was a paradise, now dust.
Re: Thold - A non-numeric value encountered
Osiris wrote:https://www.github.com/cacti/plugin_thold
Sign up for an account, goto Issues, and log a new one.
https://github.com/Cacti/plugin_thold/issues/347
Who is online
Users browsing this forum: No registered users and 0 guests