[ZBXNEXT-1781] Support for kernel.maxfiles and kernel.maxproc for HP-UX (patch included) Created: 2013 Jun 06  Updated: 2013 Jul 19

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G)
Affects Version/s: 2.2.0
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Andrej Kacian Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: hp-ux, newitemkey, patch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

HP-UX 11.31


Attachments: File zabbix-hpux-maxfiles-maxproc-v1.diff    

 Description   

Attached patch adds support for kernel.maxfiles and kernel.maxproc items on HP-UX platform. the two items return values of "maxfiles" and "nproc" kernel tunables. This should work on all currently supported HP-UX versions.

Note that "maxfiles" tunable on HP-UX is just a soft limit - process can increase it within its environment if it needs to, up to value specified by "maxfiles_lim" tunable). This could be handled by introducing parameter to kernel.maxfiles item - either kernel.maxfiles[soft] (default), or kernel.maxfiles[hard].
Attached patch doesn't do this. If it is desired I can implement it in the future.


Generated at Sat Apr 05 18:14:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.