How to discover SNMP OID information for Home Assistant
-
Is their any way to obtain or discover PfSense OID's for things like:
cpuLoad
users
processes
disk-size
disk-usageOr any others that are useful or worth monitoring and displaying in Home Assistant setup?
I've followed the Home Assistant notes and have entered some code like it suggested to add in to the /config/configuration.yaml file on my Home Assistant server. (code is below).
I did that and it appears to at the very least now detected or formed some form of communication between Home Assistant and Pfsense, which is cool:
The code below was what I entered.
# Example configuration.yaml entry for SNMP version 1 or 2c device_tracker: - platform: snmp host: 192.168.1.1 community: public baseoid: 1.3.6.1.2.1.4.22.1.2
So far all that basically pulls in though is my network device status, showing whether it detects my mac addresses online or offline status.
I'm now trying to work out how to pull in the other information like:
cpuLoad
users
processes
disk-size
disk-usageBut to do that I need to discover all the OID's used I guess. So my primary question is, is their any commands i can run in pfsense to obtain OID details or are their any websites i can visit to establish them?
-
@souk said in How to discover SNMP OID information for Home Assistant:
is their any commands i can run in pfsense to obtain OID details
You could just do a snmpwalk this would list out everything..
This might be helpful
https://www.youtube.com/watch?v=CKPbIeiJ2AQ
Monitoring pfSense 2.4 with SNMP