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

    SG6100 Temp monitoring

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 155 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.
    • M
      michmoor LAYER 8 Rebel Alliance
      last edited by

      Does the 6100 have any SNMP oids that I can target for Tempture monitoring? There are thresholds I want to set and alerting to take place if reached.

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      dennypageD 1 Reply Last reply Reply Quote 0
      • dennypageD
        dennypage @michmoor
        last edited by

        @michmoor I can't speak to bsnmp, but you can certainly get the information with net-snmp by using Extends.

        In the Extended Commands section of Package / NET-SNMP / Host Information, add a custom Extended Command with Name temperatures and a Program containing a script like this:

        #!/bin/sh
        /sbin/sysctl dev.cpu | /usr/bin/awk '/temperature/ {print $2;}' | sed 's/[CF]//g'
        

        With that in place, you can access the temperatures as:

        NET-SNMP-EXTEND-MIB::nsExtendOutLine."temperatures".1
        NET-SNMP-EXTEND-MIB::nsExtendOutLine."temperatures".2
        NET-SNMP-EXTEND-MIB::nsExtendOutLine."temperatures".3
        NET-SNMP-EXTEND-MIB::nsExtendOutLine."temperatures".4
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.