[ZBXNEXT-1220] Monitoring of log files more than 2GB Created: 2012 May 14 Updated: 2012 Oct 31 Resolved: 2012 May 18 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Installation (I), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 2.0.0 |
Type: | Change Request | Priority: | Critical |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | logmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Currently monitoring of log-files is limited by 2 gigabytes since a field of a database has the 32-bbit signed integer type. The size of this field shall be increased to 64-bit integer type. |
Comments |
Comment by Alexander Vladishev [ 2012 May 14 ] |
Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1220 |
Comment by dimir [ 2012 May 15 ] |
(1) On a 32-bit system agent fails when doing stat() of the log file in a process_log() function, which results in an item becoming NOTSUPPORTED: [...] $ ls -l /tmp/big.log $ ls -lh /tmp/big.log <Sasha> RESOLVED in r27551. <dimir> CLOSED |
Comment by Alexander Vladishev [ 2012 May 16 ] |
Related issue: |
Comment by dimir [ 2012 May 16 ] |
Successfully tested. Log monitoring is working for files over 2GB on 32-bit systems. Also confirm that this fixes vfs.file.size[] report for files over 2GB (was ZBX_UNSUPPORTED before). |
Comment by dimir [ 2012 May 16 ] |
(1) This enables general support for files larger than 2GB on Zabbix side (all components), I suggest this be documented as new 2.0 feature. <richlv> documented in http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200 -> RESOLVED |
Comment by Alexander Vladishev [ 2012 May 16 ] |
(2) Should be documented DB upgrade patches from 2.0.0rc4 to 2.0.0rc5 in the release notes. IBM DB2: MySQL: Oracle: PostgreSQL: <dimir> While at it, could next info also added? When upgrading from 2.0.0rc2 to 2.0.0rc3, if proxy is used and proxy uses MySQL: <Sasha> we supports incremental patches only from version 2.0.0rc4 |
Comment by Alexander Vladishev [ 2012 May 16 ] |
Available in version pre-2.0.0 r27570. |
Comment by dimir [ 2012 May 18 ] |
Reopening because of regression. After this fix Zabbix will not compile on Solaris (SPARC) anymore. |
Comment by dimir [ 2012 May 18 ] |
(3) Disable large file support on 32-bit Solaris. On a 32-bit Solaris large file support is incompatible with procfs and swapctl. There is a way to do that though by using transitional compilation environment but this has to wait at least till 2.0 is out. See lfcompile64(5) for details. RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-1220 <Sasha> CLOSED |
Comment by richlv [ 2012 May 18 ] |
(4) document "(3)" <dimir> RESOLVED <martins-v>CLOSED |
Comment by Alexander Vladishev [ 2012 May 18 ] |
Available in version pre-2.0.0 r27637. |
[ZBXNEXT-1188] new item which represents internal agent's "hostname" Created: 2012 Apr 17 Updated: 2013 Sep 24 Resolved: 2012 Apr 28 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | 1.8.13, 2.0.0 |
Type: | New Feature Request | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Due to the ability to set the "hostname" via Hostname or HostnameItem the actual value of an agent's hostname can be ambiguous. It would be useful to have ability to know current value (defined for example by Hostname=dummy or by HostnameItem=system.run[echo dummy-dummy]) of internal "zabbix hostname" (used to perform active checks) using passive a check. So, it's an ask to implement new feature - add new key like "agent.hostname" This would help for troubleshooting when setting up active checks for new monitored hosts. |
Comments |
Comment by richlv [ 2012 Apr 18 ] |
to clarify, this is about returning "whatever the agent would use as the 'Hostname' for active checks" |
Comment by Alexander Vladishev [ 2012 Apr 27 ] |
Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1188 |
Comment by Alexander Vladishev [ 2012 Apr 28 ] |
(1) updated documentation: Please review. <martins-v>ok, with small grammar fixes here: <Sasha> Thanks! CLOSED |
Comment by dimir [ 2012 Apr 28 ] |
(2) Error compiling server: $ make >/dev/null <Sasha> RESOLVED in r27184:27186 <dimir> CLOSED |
Comment by dimir [ 2012 Apr 28 ] |
Successfully tested. Please review my small changes in r27189. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Apr 28 ] |
Available in versions pre-1.8.13rc1 r27196 and pre-2.0.0rc4 r27198. |
Comment by Oleksii Zagorskyi [ 2013 Sep 24 ] |
We forgot to include the new key to item selection helper. |
[ZBXNEXT-863] Rename "profile" to "inventory" for host inventories Created: 2011 Jul 26 Updated: 2011 Dec 22 Resolved: 2011 Aug 05 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Frontend (F), Server (S) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Minor |
Reporter: | dimir | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Rename "profile" to "inventory" for host inventories in:
Document API changes. We agreed not to apply any changes to XML Export/Import as it's currently broken and would require a somewhat re-write. |
Comments |
[ZBXNEXT-780] passive agents should be able to send empty strings Created: 2011 May 09 Updated: 2012 Jul 09 Resolved: 2012 Jan 26 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Documentation (D), Server (S) |
Affects Version/s: | 1.9.3 (alpha) |
Fix Version/s: | 1.9.5 (alpha), 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
With the current protocol, when a server requests a value for a particular item, passive agent is expected to send a raw value in return. That is, if the result value is "abcdef", the agent will only put "abcdef" into the socket and nothing else (not even protocol headers). If the server does not get anything from the agent (which is also the case with an empty string), it assumes the agent dropped connection. |
Comments |
Comment by Aleksandrs Saveljevs [ 2011 May 09 ] |
One of the possible solutions is to make the agent (always or only in case of empty string) send Zabbix protocol headers. It will be understood by older servers, proxies, and zabbix_get. Another possible solution is to introduce a special return value, say, ZBX_EMPTY, in addition to ZBX_NOTSUPPORTED and ZBX_ERROR. The first solution seems to be more preferred, because someday we will have to introduce Zabbix protocol headers into the passive agent protocol anyway. |
Comment by richlv [ 2011 May 09 ] |
how would this affect a userparameter command returning empty string ? would that be supported after this change ? |
Comment by Rudolfs Kreicbergs [ 2011 May 13 ] |
Available in dev branch: svn://svn.zabbix.com/branches/dev/ZBXNEXT-780 1) Empty strings are now supported as valid values for both passive and active items |
Comment by Rudolfs Kreicbergs [ 2011 May 19 ] |
Available in pre-1.9.5 r19734. |
Comment by Oleksii Zagorskyi [ 2012 Jan 12 ] |
additionally noted here: http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200#ability_to_send_empty_strings |
Comment by Oleksii Zagorskyi [ 2012 Jan 12 ] |
(7) [Documentation] Some phrases like: <zalex> CLOSED |
Comment by Martins Valkovskis [ 2012 Jan 26 ] |
The notes about empty strings accepted have been modified to say that it applies to textual items: http://www.zabbix.com/documentation/2.0/manual/installation/upgrade_notes <zalex> Reviewed. Great! Thanks. CLOSED |
Comment by Matteo Cerutti [ 2012 Jul 07 ] |
I upgraded zabbix to 2.0.1 but I missed to see this feature which actually broke part of my production monitoring. Is it possible to have the old behavior back by an option in zabbix agent config? Otherwise I will have to keep the old agent on the machines or keep patching the new one. Thanks. |
Comment by Matteo Cerutti [ 2012 Jul 07 ] |
For who is interested in reverting this behavior for UserParameters, just change under src/libs/zbxsysinfo/sysinfo.c line94 from EXECUTE_USER_PARAMETER& to EXECUTE_STR& I think Zabbix Agent should be a bit smarter when handling scripts in UserParameters. I like the fact the you can return empty strings and I see applications where I could take advantage of this feature. But if one doesn't want to report any data because none is available and simply exit the code without any data to stdout, I would expect Zabbix to throw an ZBX_NOTSUPPORTED error. The reason why I need the old behavior is that I rely on the fact that some plugins cannot provide certain information at a certain time. Because of some logic in the triggers I cannot afford to have an empty item and I'm happy to retain the last valid data received for the item until the information is available again and the items get updated. I think the best solution is for Zabbix Agent to handle the exit code for the scripts executed via the UserParameters. I guess that if one exit -1, Zabbix could throw the ZBX_NOTSUPPORTED. Thank you for your understanding. Keep up the good work! M |
Comment by Matteo Cerutti [ 2012 Jul 09 ] |
There's also another big change that broke my monitoring.. which is how the MACROS are passed to the zabbix agent. I had a few macros which contained "" since Zabbix would not allow me to have an empty macros. proc.num[{$APP_NAME},{$APP_USER},,{$APP_FILTER}] when $APP_FILTER is "", it's passed to the agent as \"\" and since the command line does not contain that it will always report a count of 0 processes. The old zabbix-agentd would not behave like this. As a result, I cannot re-define macros as empty in a link of templates. M |
Comment by richlv [ 2012 Jul 09 ] |
ability to return error state is ZBXNEXT-152 |
[ZBXNEXT-673] Support of users scripts on Zabbix Agent and IPMI-based remote commands Created: 2011 Feb 24 Updated: 2011 Dec 22 Resolved: 2011 Mar 08 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Frontend (F), Server (S) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Alexander Vladishev | Assignee: | Alexei Vladishev |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Currently Zabbix supports execution of user scripts (defined in WEB GUI) on Zabbix Server or IPMI only. Also it would be nice to have an option for execution of the scripts on monitored hosts by Zabbix agents. |
Comments |
Comment by Alexander Vladishev [ 2011 Feb 24 ] |
The following changes must be implemented: 1) Database changes for table 'scripts', new fields must be added: FIELD |type |t_integer |'0' |NOT NULL |ZBX_SYNC type: 0 - script, 1 - IPMI 2) User script configuration form must be modified according to provided sketch. 3) Database patch for converting existing IPMI commands to new DB structure 4) Server side must be modified to support execution of scripts by Zabbix agents. 5) Commands executed by Zabbix Agents will be based on system.run[], which can be enabled or disabled by EnableRemoteCommands 6) Server must validate Host Group defined for a Script. If a host is not in the specified host group, the command will not be executed on the host. 7) API methods script.get, script.create and script.update will be updated to support new fields 'type' and 'execute_on'. |
Comment by richlv [ 2011 Feb 24 ] |
does 6 mean ability to specify single group only or multiple groups ? |
Comment by Alexander Vladishev [ 2011 Feb 25 ] |
Just one host group. (6) fixed. |
Comment by Alexey Fukalov [ 2011 Mar 08 ] |
trunk 18311 |
[ZBXNEXT-672] Advanced options for remote commands Created: 2011 Feb 24 Updated: 2011 Dec 22 Resolved: 2011 May 13 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Frontend (F), Server (S) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Alexander Vladishev | Assignee: | Alexey Fukalov |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | bug_1.png bug_11.png bug_13.png bug_2.png bug_3.png bug_3b.png bug_5.png bug_6.png |
Description |
Remote command should be extended to support number of additional options:
|
Comments |
Comment by Alexander Vladishev [ 2011 Feb 24 ] |
The following changes must be implemented: 1) Database changes for tables opcommand_hst and opcommand_grp. New fields: FIELD |type |t_integer |'0' |NOT NULL |ZBX_SYNC type: 0 - script, 1 - IPMI, 2 - SSH, 3 - Telnet, 4 - user script During development process, we decided to change schema requirements: other fields have same definition as for table 'items' 2) User script cannot be removed if used for actions. A clear error message should be given. 3) Action permissions must take into account user scripts.If no RW permissions for a user script, the action is not accessible in the GUI. 4) Selection of user scripts in action form should respect permissions. Can be a security issue if a script is for execution on RW hosts. 5) Action form must be modified according to provided sketch. 6) Database patch for converting existing IPMI commands to new DB structure 7) For Telnet and SSH checks username, password are used for authentication purposes. For SSH authtype, publickey, privatekey can be used as well. 8) Username, password,publickey, privatekey must support user macros. The macros are based on the target host. 9) Server side must be modified to support new command types. 10) Commands executed by Zabbix Agents will be based on system.run[], which can be enabled or disabled by EnableRemoteCommands 11) Server must validate Host Groups defined for a Script. If a host is not in the specified host group, the command will not be executed on the host. |
Comment by Alexander Vladishev [ 2011 Feb 25 ] |
12) API methods action.get, action.create and action.update will be extended to support new opcommand_hst/opcommand_grp fields. |
Comment by Alexey Fukalov [ 2011 Apr 08 ] |
trunk 18964 |
Comment by richlv [ 2011 Apr 08 ] |
database changes have not been implemented according to the specification (which in this case probably means that specification was never updated as it was changed during the development...) |
[ZBXNEXT-641] Text Item : Accept empty value (like EOL) without unsupported Created: 2011 Jan 28 Updated: 2011 Dec 22 Resolved: 2011 May 20 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Christophe | Assignee: | Alexei Vladishev |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
If a text item receive an empty value (or only an EOL) it will turn into "not supported". You can find more details here : http://www.zabbix.com/forum/showthread.php?p=79327#post79327 |
Comments |
Comment by richlv [ 2011 May 20 ] |
was implemented as |
[ZBXNEXT-558] Support of monitoring auto-registered hosts with passive checks Created: 2010 Nov 10 Updated: 2015 Nov 20 Resolved: 2010 Nov 12 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Proxy (P), Server (S) |
Affects Version/s: | 2.0.0 |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Comments |
Comment by Alexander Vladishev [ 2010 Nov 11 ] |
Available in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-558 |
Comment by Alexander Vladishev [ 2010 Nov 12 ] |
Available in version pre1.9.1, r15431. |
Comment by richlv [ 2010 Nov 13 ] |
if multiple ips are configured for agentd listenip, what happens ? is the first one only sent to the server ? |
Comment by Aleksandrs Saveljevs [ 2010 Nov 13 ] |
Yes, only the first one. |
Comment by richlv [ 2011 Mar 24 ] |
new feature request about multiple ip addresses submitted as ZBXNEXT-717 |
[ZBXNEXT-483] need item to get file contents Created: 2010 Aug 20 Updated: 2011 Dec 22 Resolved: 2010 Aug 30 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Aleksandrs Saveljevs | Assignee: | Aleksandrs Saveljevs |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
There is a need for an item like vfs.file.contents[myfile.txt,<encoding>] to get contents of a file. |
Comments |
Comment by Aleksandrs Saveljevs [ 2010 Aug 20 ] |
Suggestions with regard to the item name are highly welcome. |
Comment by Aleksandrs Saveljevs [ 2010 Aug 30 ] |
Merged into pre-2.0 in r14150. |
[ZBXNEXT-366] Windows template needs improving Created: 2010 May 20 Updated: 2019 Mar 30 Resolved: 2012 Aug 01 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | 2.0.0 |
Type: | Change Request | Priority: | Major |
Reporter: | Tom | Assignee: | Alexei Vladishev |
Resolution: | Fixed | Votes: | 2 |
Labels: | templates, windows | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Windows (all) |
Description |
Please make default windows template show cpu usage in windows format not linux format. Also network stats need to work out of the box |
Comments |
Comment by Tom [ 2010 May 20 ] |
For eg cpu % |
Comment by richlv [ 2010 May 28 ] |
regarding network interfaces, i believe that problem is with the way windows handles network interfaces - zabbix items need interface name, but network interface names are not consistent over windows installations. please correct me if that's wrong, i haven't used windows for a long time now |
Comment by Aleksandrs Saveljevs [ 2010 Jul 05 ] |
Windows template has the following items for monitoring the number of processes: proc.num[] The last two are outdated, undocumented, and not supported. |
Comment by richlv [ 2010 Jul 05 ] |
last two process counting items have been removed for appliance, expected to trickle down to data.sql in next version |
Comment by richlv [ 2012 Aug 01 ] |
templates were redone for 2.0, and windows template now uses lld for network interfaces. all the problems mentioned here should be solved by now |
Comment by Cesar Murilo da Silva Junior [ 2019 Mar 30 ] |
From which version are the items below discontinued? I'm in version 4.0.5, I can delete or disable them, right? system [procrunning] |