LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 04-17-2013, 02:48 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Rep: Reputation: 32
SNMP issue on AIX 7.1


Hi ,
Below is my /etc/snmpdv3.conf (of course with changed string).

# cat /etc/smpdv3.conf
VACM_GROUP group1 SNMPv1 foobar -
VACM_VIEW defaultView internet - included -
# exclude snmpv3 related MIBs from the default view
VACM_VIEW defaultView snmpModules - excluded -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.4 - included -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.5 - included -
# exclude aixmibd managed MIBs from the default view
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - excluded -
VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 defaultView - defaultView -
NOTIFY notify1 traptag trap -
TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparms1 - - -
TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 foobar noAuthNoPriv -
COMMUNITY foobar foobar noAuthNoPriv 0.0.0.0 0.0.0.0 -
DEFAULT_SECURITY no-access - -
logging file=/usr/tmp/snmpdv3.log enabled
logging size=100000 level=0
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password # HACMP/ES for AIX clsmuxpd
VACM_GROUP director_group SNMPv2c foobar -
VACM_ACCESS director_group - - noAuthNoPriv SNMPv2c defaultView - defaultView -


This file is working fine on AIX 5.3 machines and we are able to get the SNMP response quite nicely like

$ snmpwalk -v 2c -c foobar 10.X.X.26
SNMPv2-MIB::sysDescr.0 = STRING: IBM PowerPC CHRP Computer
Machine Type: 0x0800004c Processor id: 00F636D24C00
Base Operating System Runtime AIX version: 05.03.0012.0001
TCP/IP Client Support version: 05.03.0012.0001
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (285679800) 33 days, 1:33:18.00
SNMPv2-MIB::sysContact.0 = STRING:
......................
.....................
......................

Now problem is that We have done same setting on AIX 7.1 boxes.(On two machine).But SNMP is not responding on snmpwalk query. and message appears SNMPv2-SMI::mib-2 = NULL

]$ snmpwalk -v 2c -c foobar 10.X.X.254
SNMPv2-SMI::mib-2 = NULL


What the reason can be ?
Is there any extra change that need to be tweak for AIX 7.1 SNMP?
 
Old 04-17-2013, 12:49 PM   #2
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 121

Rep: Reputation: 33
Have you verified that it is snmp3 that is being started on both systems. If I recall, AIX 5.3 started snmp1 by default (check the symbolic link, also for encryption yes/no).

I have not used snmp on AIX 7.1, so my help stops here for now.
 
Old 04-17-2013, 11:44 PM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Original Poster
Rep: Reputation: 32
Yes Michael,
It is using SNMPv3 on both systems.

>which snmpd
/usr/sbin/snmpd

>ls -l /usr/sbin/snmpd
lrwxrwxrwx 1 root system 9 May 20 2011 /usr/sbin/snmpd -> snmpdv3ne
 
Old 04-18-2013, 07:14 AM   #4
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 121

Rep: Reputation: 33
I do not promise speed on this - but it is on my list of things to learn about. Maybe someone else beats me to it. I hope so for you.

Also check for recent fixes re: AIX 7.1.
 
Old 04-22-2013, 12:03 AM   #5
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Original Poster
Rep: Reputation: 32
Thank Michael to load it on TODO list,
Best of luck and hoping for solution.
 
Old 06-17-2013, 08:49 AM   #6
filosmith
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Try v1

I have found that on two 7.1 boxes with similar oslevels, and using the exact same config files, v2c snmpwalk doesn't work on one but it does on the other. I don't know why yet but it's a start. I am linked to snmpdv3ne.

[root@linuxbox tmp]# snmpwalk -v2c -m ALL -c public aixbox1 hrStorageSize
No log handling enabled - turning on stderr logging
End of MIB

[root@linuxbox tmp]# snmpwalk -v1 -m ALL -c public aixbox1 hrStorageSize
No log handling enabled - turning on stderr logging
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 393216
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 1048576
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 524288
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 1048576
...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX and net-snmp cjdock AIX 14 08-05-2015 01:57 AM
Net-SNMP issue bharatlalgupta Red Hat 2 08-16-2012 04:25 PM
How to cofigure SNMP on AIX? nishith Linux - Networking 1 06-25-2009 04:52 AM
Issue during SNMp StartUp?? ajeetraina Linux - Server 2 06-26-2008 09:15 AM
SNMP in Aix 4.3.3 Analista AIX 4 03-22-2005 12:20 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration