So far, with regards to AIX 5.2 and SNMP, I have only been able to use SNMP v1. I've never got 2c or 3 working (partially because I haven't focused on 3).
I was on the phone with AIX support today. The tech support told me that if you just leave aix's snmpdv3.conf file as is, you can do the following:
1) make sure that /usr/sbin/snmpd is a symlink to /usr/sbin/snmpdv3ne
2) start all snmpd related services:
Code: Select all
startsrc -s snmpd
startsrc -s dpid2
startsrc -s aixmibd
startsrc -s hostmibd
startsrc -s snmpmibd
3) Then you can query it with:
Code: Select all
snmpinfo -m dump -v | grep hrStorageDescr
snmpinfo -m dump -v | grep aixFsFree
4) I've taken that information and put it together to match up my logical volumes and mount points with mibs:
aixFsFree.1 = 875 = /dev/hd4 = /
aixFsFree.2 = 7336 = /dev/hd2 = /usr
aixFsFree.3 = 2005 = /dev/hd9var = /var
aixFsFree.4 = 1019 = /dev/hd3 = /tmp
aixFsFree.5 = 2076 = /dev/hd1 = /home
aixFsFree.6 = 0 = /proc = /proc
aixFsFree.7 = 3946 = /dev/hd10opt = /opt
aixFsFree.8 = 2523 = /dev/fslv07 = /export/spot
aixFsFree.9 = 16200 = /dev/fslv06 = /export/lpp_source
aixFsFree.10 = 61 = /dev/lv00 = /var/adm/csd
aixFsFree.11 = 14904 = /dev/fslv00 = /export/mksysb
aixFsFree.12 = 6797 = /dev/fslv01 = /export/aix_install
5) With that information, now my goal is to try to query this information from a remote host running net-snmp.
My problem right now is that when I run the following I get results that show my logical volumes:
Code: Select all
snmpwalk -c public -v 1 scsysdev | grep -i hrStorageDescr
However, when I run the same command to query aixFsFree I don't get anything. I tried searching for the values of some of my aixFsFree queries before (I thought that maybe it was because my queriing client didn't know about the mibs and would therefore only be able to see oid's and values). So it seems that I need to find out how to query the aixFsFree.
So what I need to get done at this point is the following:
- Find out how to query aixFsFree
- Find the OID for that aixFsFree mib
- Learn how to create a Cacti Template
- Apply that template and troubleshoot
Good luck... any hopefully you, me, and others may be able to figure this out. I'd like to contact IBM Support sometime over the next few weeks to see if they can help me out to figure this out... but I'm pretty busy over the next few weeks... so we'll see how things go.