From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 22 02:17:32 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1086D106568C for ; Sat, 22 Aug 2009 02:17:32 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 94E688FC21 for ; Sat, 22 Aug 2009 02:17:31 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so274160fgb.12 for ; Fri, 21 Aug 2009 19:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=q6zZtHN49s3wb4LHzR9X56LGyEIk9DTQAM6uKOtov5U=; b=PtooL+g3M0S8KHYcMF2MQKBLdiOM4QEAtxwOLeZw3eRAAtv4f1+KPMgZdkBbUsBZhT gYOBIUwyIYaitXzYCI6xIZOtg4L3Vm81HBEv+c9WUxrEmURC7xaRtLn9AIcUywe87YiM JGR++ySIj9fC9CqL/WiWO7g74pD4C8d/JP1Uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qDVZEwfvkLpkUeJQgQa93Yf0chZlppth5xWcFxrxheB3XxjcDOXCzPvs+Hvh1Y6ikF hF5h1Dc6ix42GSl1O3oFzKXJb7Z9U8Kgf/Bv1Fze+uGJ6xYCugyzG0FM1QZQtXOp8yFb UtNtwOyY5tddJwYr5jNQbMzld3Dk6axbLybhc= MIME-Version: 1.0 Received: by 10.86.170.4 with SMTP id s4mr1388390fge.9.1250907450561; Fri, 21 Aug 2009 19:17:30 -0700 (PDT) In-Reply-To: References: Date: Sat, 22 Aug 2009 04:17:30 +0200 Message-ID: <6101e8c40908211917k69c82491w3cff00a527d14873@mail.gmail.com> From: Oliver Pinter To: =?ISO-8859-1?Q?Aur=E9lien_M=E9r=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Common interface for sensors/health monitoring X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 02:17:32 -0000 Hello! When I good know, no common interface exisit in current freebsd kernel, but some other sysctl interfece exisit: coretemp, aiboost ... ~> sysctl dev.coretemp dev.coretemp.0.%desc: CPU On-Die Thermal Sensors dev.coretemp.0.%driver: coretemp dev.coretemp.0.%parent: cpu0 dev.coretemp.1.%desc: CPU On-Die Thermal Sensors dev.coretemp.1.%driver: coretemp dev.coretemp.1.%parent: cpu1 dev.coretemp.2.%desc: CPU On-Die Thermal Sensors dev.coretemp.2.%driver: coretemp dev.coretemp.2.%parent: cpu2 dev.coretemp.3.%desc: CPU On-Die Thermal Sensors dev.coretemp.3.%driver: coretemp dev.coretemp.3.%parent: cpu3 ~> sysctl dev.acpi_aiboost dev.acpi_aiboost.0.%desc: ASUStek AIBOOSTER dev.acpi_aiboost.0.%driver: acpi_aiboost dev.acpi_aiboost.0.%location: handle=3D\_SB_.PCI0.SBRG.ASOC dev.acpi_aiboost.0.%pnpinfo: _HID=3DATK0110 _UID=3D16843024 dev.acpi_aiboost.0.%parent: acpi0 dev.acpi_aiboost.0.temp0: 190 dev.acpi_aiboost.0.temp1: 300 dev.acpi_aiboost.0.volt0: 1144 dev.acpi_aiboost.0.volt1: 3328 dev.acpi_aiboost.0.volt2: 5064 dev.acpi_aiboost.0.volt3: 12096 dev.acpi_aiboost.0.fan0: 1962 dev.acpi_aiboost.0.fan1: 1180 dev.acpi_aiboost.0.fan2: 1278 dev.acpi_aiboost.0.fan3: 0 dev.acpi_aiboost.0.fan4: 0 but no common if.. On 8/22/09, Aur=E9lien M=E9r=E9 wrote: > Hi, > > I've been using FreeBSD for years in all my servers, but I'm facing a big > problem today. All servers are under monitoring using a couple of > applications and scripts. Monitored items for each server especially are > CPU/mobo/UPS/HDD temperatures, CPU load, memory use, fans speed, PSU/UPS > voltages, HDD/RAID status&usage, network connectivity, UPS load, battery > status & runtime, ... > > My concern today, excepted that there is no way to gather all the data > through a unique interface and that consequently we have to change the > scripts depending on hardware, is that some information are no longer > available at all, especially concerning the MB IC, ie. temperatures, > voltages & fan speed. Actually, some SMBus controllers (like from 2006 or > so) are not supported by any driver and I didn't find any port updated to > access the IC directly (if even possible). Currently, I sometimes have to > use mbmon with direct I/O, sometimes mbmon with SMBus, sometimes healthd = and > sometimes nothing works (PR 137668 or 136762 as examples in my case). > > Besides that, I was quite surprised that these information are available = in > OpenBSD through a very simple and unique sysctl interface, with up-to-dat= e > drivers, working on all my servers with a generic install. I know that be= low > this presentation layer, this may be much less perfect, and by digging in= , I > found that a 2007 GSoC project for porting the OpenBSD sensor framework w= as > realised and planned to be put in HEAD. I also read hundreds of mails > concerning this project, and why finally it was not commited. > > As developer, I fully understand some of the concerns in these threads an= d > that there are probably lots of things to change and work on, integrate i= t > in a cleaner repository like snmp or whatever; and I'd be glad to help in > any > possible way to improve this. But in the meantime, as netadmin, this kind= of > information can be very important to prevent or diagnose major problems; = so > I'd like to know what is being planned/done on this subject, as I didn't > find any > more information related to this than a discussion during bsdcan 2008. > > Thanks for your help and time, > Aur=E9lien > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >