[ZBX-7597] Some item parameters are not supported for test by agent Created: 2013 Dec 29 Updated: 2017 May 30 Resolved: 2014 Feb 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Documentation (D) |
Affects Version/s: | 2.0.10 |
Fix Version/s: | 2.0.12rc1, 2.2.3rc1, 2.3.0 |
Type: | Incident report | Priority: | Minor |
Reporter: | Marc | Assignee: | Martins Valkovskis |
Resolution: | Fixed | Votes: | 0 |
Labels: | manpages, testing | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux 2.6 |
Issue Links: |
|
Description |
Parameter 'sps' and 'ops' in item keys vfs.dev.read and vfs.dev.write are not supported for test by Zabbix agent:
The item key system.cpu.util is not supported at all for test by Zabbix agent:
|
Comments |
Comment by richlv [ 2013 Dec 29 ] |
this is normal, all of these item keys/param combos are counter ones (they require persistent data collection). although documentation on it seems to be lacking - we should probably add it to the manpages for agent & agentd |
Comment by Marc [ 2013 Dec 29 ] |
i suspected that - but was to lazy to take a look at the source |
Comment by Oleksii Zagorskyi [ 2013 Dec 30 ] |
this question already discussed in |
Comment by Oleksii Zagorskyi [ 2013 Dec 30 ] |
If we are going to update man pages as well, then Agent component should be returned back. |
Comment by richlv [ 2014 Feb 04 ] |
fixed in dev branch svn://svn.zabbix.com/branches/dev/ZBX-7597 |
Comment by richlv [ 2014 Feb 06 ] |
(1) currently says "Text. Maximum length not limited.", which is probably not completely correct. can we be more specific here, is it the same for all platforms ? asaveljevs Labels "s" and "t" come from C code and correspond to GET_STR_RESULT() and GET_TEXT_RESULT(). The difference might be historical, but nowadays both are unlimited in length and do not correspond to "Character" and "Text" item value types. asaveljevs The only difference, according to sasha, seems to be that when a TEXT result is converted into STR result, we only take the first line (see function get_result_str_value()). This feature, however, might not be actually used and in the future we might consider leaving just one of them. asaveljevs As an example, the result of "vfs.fs.discovery" is of "s" type and it is longer than 255 characters. REOPENED. <richlv> thanks for the info. changed description for s & t accordingly in r42444. asaveljevs Looks good, but please see r42456. RESOLVED. <richlv> duh. nice circular reference that was... thanks |
Comment by Aleksandrs Saveljevs [ 2014 Feb 07 ] |
(2) Please take a look at two formatting fixes in r42436. <richlv> oops, sorry for missing that - looks good |
Comment by richlv [ 2014 Feb 13 ] |
merged for pre-2.0.12rc1 r42631, pre-2.2.3rc1 r42632, pre-2.3.0 r42633 |