[ZBXNEXT-493] new item key: line count Created: 2010 Aug 25  Updated: 2024 Apr 10  Resolved: 2021 Sep 06

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Agent2 plugin (G)
Affects Version/s: None
Fix Version/s: 6.0.0alpha1, 6.0 (plan)

Type: New Feature Request Priority: Major
Reporter: richlv Assignee: Michael Veksler
Resolution: Duplicate Votes: 3
Labels: patch, trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File vfs.file.linecount.patch    
Issue Links:
Sub-task
depends on ZBXNEXT-6688 New items for Agent and Agent2 Closed
Epic Link: NewAgentItems
Team: Team B
Sprint: Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021)
Story Points: 1

 Description   

a new item, supported by agent, is desired - line count in a file
suggested key - vfs.file.lines



 Comments   
Comment by Alexei Vladishev [ 2012 Oct 11 ]

Perhaps it should be implemented in vfs.fs.size with additional options like 'lines','words', etc? Or vfs.fs.wc? To be discussed.

Comment by Marcel Hecko [ 2013 Jan 12 ]

implemented in the attached patch against 2.0.4, however might only work on linux 2.6, not tested on windows or any other platform

Comment by Michael Veksler [ 2021 Sep 06 ]

Closed as duplicate of ZBXNEXT-6688

Generated at Sun Apr 06 20:58:56 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.