How to associate SNMP OID with specific parameter under SNMP agent?
I installed and configured snmpd under OpenSUSE(192.168.1.100) and it responds to SNMP requests just fine. If I execute snmpwalk from 192.168.1.200 machine like this:
Code:
snmpwalk -c public -v 2c 192.168.1.100 HDD temperature in 192.168.1.100, but how to associate SNMP OID with it? My end goal would be to execute: Code:
snmpwalk -c public -v 2c 192.168.1.100 particular_OID associate SNMP OID with specific parameter(HDD temperature, kernel version, amount of free memory, installed programs etc) under SNMP agent? Or is this possible after all? :rolleyes: |
I haven't used hddtemp before but I noticed the Debian package list of files for it doesn't include an SNMP MIB. Did you download a MIB for it? That would be needed for the OID of course. Perhaps the hddtemp software updates or can be made to update a hard-disk drive temperature associated with a MIB for this hardware resource? In the end, the snmp view you use has to be able to pick up the MIB which has the data. I see you are using the public view in your command and on most safely run systems, this should not display very much data. You should normally be using a private view which includes the data you need access to. Giving public too much can open the door for intrusions.
|
All times are GMT -5. The time now is 12:32 AM. |