[ZBXNEXT-586] add support for hardware sensors on OpenBSD Created: 2010 Nov 17  Updated: 2017 May 31  Resolved: 2010 Dec 17

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G)
Affects Version/s: 1.8.3
Fix Version/s: 1.8.4

Type: Change Request Priority: Major
Reporter: Robert Nagy Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenBSD


Attachments: File patch-src_libs_zbxsysinfo_openbsd_openbsd_c     File patch-src_libs_zbxsysinfo_openbsd_sensors_c     File sensors.c    

 Description   

Hello,

The following diffs makes it possible to read temperature sensor data on OpenBSD using the OpenBSD sensors framework.
In the original code which was not even enabled it tries to use procfs which is linux only, and the two sensors frameworks
are totally different.

The patch was created by MTier Ltd.



 Comments   
Comment by Aleksandrs Saveljevs [ 2010 Dec 17 ]

Item sensor[] has been redesigned and now has the following format: sensor[device,sensor,<mode>]. The item should work both on Linux 2.4 and OpenBSD. See http://www.zabbix.com/documentation/1.8/manual/config/items#zabbix_agent for more information.

Available in development branch svn://svn.zabbix.com/branches/dev/ZBX-3224 and is currently being reviewed.

Comment by Robert Nagy [ 2010 Dec 17 ]

Tested and works fine.

Comment by Aleksandrs Saveljevs [ 2010 Dec 17 ]

Merged into pre-1.8.4 in r16203.

Generated at Thu Mar 28 18:34:31 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.