Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Hardware Monitoring (temperature etc.) ?

    Scheduled Pinned Locked Moved Hardware
    23 Posts 11 Posters 18.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hoba
      last edited by

      I would agree adding it, maybe with an option to "enable display hardware senosrs" at the advanced page, so you can shut it down if it displays crap for your specific hardware. Other option would be to have this as package, so you can install/remove it when needed. Sending over the data to snmp would be a nice step as well, so you can trigger alerts when your cpu runs too hot for example because your cpufan died.

      1 Reply Last reply Reply Quote 0
      • P
        Phobia
        last edited by

        Now that would be slick!!

        What does one use to monitor SNMP?  Are there tools available for Windows etc.?

        It seems like the add-on package / option to enable sensors (likely with the default being off) would be a great idea.  That way folks who didn't want to know or could care less wouldn't be bothered by said information.  Would it be possible to add the information to the main status page with an add-on package?  I noticed that other packages seem to be accessed through sub-menus and am unclear if this is required, or if added stuff from packages can reside in pre-exsisting pages in the webgui.

        Great to talk about this feature… hopefully it will make the cut.

        Thanks again,

        -- Phob

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          If it's added as package it has to be a seperate page and a seperate menu entry. If it's in base with an option to turn it on/off it could be displayed at system>status.

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            @hoba:

            If it's added as package it has to be a seperate page and a seperate menu entry. If it's in base with an option to turn it on/off it could be displayed at system>status.

            If someone wants to work on a package I'll be happy to integrate the kernel bits.

            1 Reply Last reply Reply Quote 0
            • N
              nima.m
              last edited by

              I did some invenstigation and this is what I found, first we need to compile these parameters in Kernel :

              
              	device          smbus
              	device          ichsmb
              	device          smb
              	device          iicbus
              	device          iicbb
              	device          intpm
              	device          pcf
              	device          acpi
              
              

              Then the best software out there that fit for pfsense is healthd
              healthd is the only software that has support for so many chipset (W83781D, W83782D, W83783S, LM78, LM79 and the AS99127F)
              this software is a deamon that easly can start in rc.d directory
              later you can read out sensor figures by runing this command :
              /usr/local/bin/healthdc -H
              the -H parameters create a HTML output that can easly be included in pfsense WEBGUI

              So the question is if Scott will compile a kernel with above parameters for pfsense :-)

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                Those values are already present from what I can tell.

                1 Reply Last reply Reply Quote 0
                • B
                  billm
                  last edited by

                  @nima.m:

                  I did some invenstigation and this is what I found, first we need to compile these parameters in Kernel :

                  
                  	device          smbus
                  	device          ichsmb
                  	device          smb
                  	device          iicbus
                  	device          iicbb
                  	device          intpm
                  	device          pcf
                  	device          acpi
                  
                  

                  Then the best software out there that fit for pfsense is healthd
                  healthd is the only software that has support for so many chipset (W83781D, W83782D, W83783S, LM78, LM79 and the AS99127F)
                  this software is a deamon that easly can start in rc.d directory
                  later you can read out sensor figures by runing this command :
                  /usr/local/bin/healthdc -H
                  the -H parameters create a HTML output that can easly be included in pfsense WEBGUI

                  Check out how the temp. monitor is setup on for 4801's.  All the code for that is in /usr/local/www/* and subdirectories of it.  Should be easy to modify to check for the presense of the healthd package and make the appropriate calls.

                  –Bill

                  pfSense core developer
                  blog - http://www.ucsecurity.com/
                  twitter - billmarquette

                  1 Reply Last reply Reply Quote 0
                  • K
                    KiaN
                    last edited by

                    Works great for me with a cronjob :

                    
                    */1 * * * * /usr/local/bin/healthdc -H > /usr/local/www/temp/index.php
                    
                    

                    I only miss HD temp :(

                    # smartctl -a /dev/ad2s1a
                    smartctl version 5.33 [i386-portbld-freebsd6.1] Copyright (C) 2002-4 Bruce Allen
                    Home page is http://smartmontools.sourceforge.net/
                    
                    Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
                    
                    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • P
                      Phobia
                      last edited by

                      Hi again all,

                      So, is this then possible to add to the actual install of PFSense, or is the manual hacking the only way to go?

                      Thanks,

                      – Phob

                      1 Reply Last reply Reply Quote 0
                      • H
                        hoba
                        last edited by

                        Unless somebody makes a package of this that generates a nice webguiscreen and/or maybe even some rrdgraphs "hacking" is the only option.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mbreitba
                          last edited by

                          So are these values natively accessable via SNMP, or do I need to "hack" it to get those values?  We already monitor a ton of stuff with MRTG (including bandwidth) but CPU usage and Memory usage would be nice to add to our graphs!

                          1 Reply Last reply Reply Quote 0
                          • U
                            unforeseen
                            last edited by

                            So I guess there was not enough interest for anyone to actually attempt this (release wise)?  Seems like it would be "handy" if nothing else for the 3% of us… I would put in my two cents that if someone was to spend time to create it, I feel that it probably should be an add-on package.  I'm really suprised though, up to the last post, it seemed like it was drawing some positive feedback.

                            All well, thanks for all the hard work!

                            1 Reply Last reply Reply Quote 0
                            • I
                              ivanjong
                              last edited by

                              i know this thread is old. but anyone else tried to run healthd and others on smbus ? i tried but i think our kernel doesnt have device          smbus
                              device          ichsmb
                              device          smb
                              device          iicbus
                              device          iicbb
                              device          intpm
                              device          pcf
                              device          acpi
                              is anyone sure this is compile in ? we have acpi. but not smbus and smb and iicbus and iicbb.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.