Hi Michael,
Try running snmpd as follows:
snmpd -x tcp:705 -I interfaces -c /usr/share/snmp/snmpd.conf
That will make it listen for tcp connections which is what is specified
in ncsSnmpSubagt.conf
When you have run it as above and then restarted your payload(s) you
should be able to run the following command to verify the connections:
[EMAIL PROTECTED]:~# netstat -ap | grep snmp
tcp 0 0 *:705 *:*
LISTEN 3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.140:34441
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.140:34440
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.200:36895
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.200:36896
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.150:39767
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.150:39768
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.150:39769
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.160:43553
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.160:43552
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.160:43554
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.110:53035
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.110:53036
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.60:59097
ESTABLISHED3961/snmpd
tcp 0 0 192.168.50.200:705 192.168.50.60:59096
ESTABLISHED3961/snmpd
udp 0 0 *:32775 *:*
3961/snmpd
udp 0 0 *:snmp *:*
3961/snmpd
This setup is working in our lab so hopefully this will help you out.
Note that there are tcp connections from each of the payload and
controller blades. Only one of the connections from each blade is from
the snmp_subagt. We have other processes running that also connect to
snmpd.
Scott G. Petersen
System Validation
Motorola, Inc.
Embedded Communications Computing
2900 S Diablo Way
Tempe, AZ 85282
Phone: 602-438-3471
Cell: 480-600-6964
Text: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bishop, Michael
(OSLO R&D)
Sent: Thursday, November 01, 2007 3:10 PM
To: [email protected]
Subject: [Users] Need help with snmpwalk
I have snmpd configured on my controller for master agentx usage.
I'm running OpenSAF and the ncs_snmp_subagt daemon is coming up properly
as far as I can tell.
However, I cannot access the OpenSAF MIBs.
Here's a typical error that I get:
# snmpwalk -v2c -c public localhost aisE SAF-TC-MIB::aisE = No more
variables left in this MIB View (It is past the end of the MIB tree)
If I try walking specific OpenSAF MIBs, and I get the same error.
I have the OpenSAF MIBs copied over to: /usr/share/snmp/mibs
And I have the snmp.conf, snmpd.conf, and ncsSnmpSubagt.conf files set
up in: /usr/share/snmp
I start the snmpd daemon with:
snmpd -x 705 -I interfaces -c /usr/share/snmp/snmpd.conf
I then start OpenSAF, and note that the ncs_snmp_subagt daemon comes up
properly.
# ps -ef | grep snmp
root 20039 1 0 15:15 ttyS0 00:00:00
/opt/opensaf/controller/bin/ncs_snmp_subagt ROLE=1 NID_SVC_ID=20
root 21133 1 0 15:49 ? 00:00:00 /usr/sbin/snmpd -x 705
-I interfaces -c /usr/share/snmp/snmpd.conf
Then I run the snmpwalk command - and got the above error.
I'm sure I'm doing something wrong. What is it?
I've attached my snmp.conf, snmpd.conf, and ncsSnmpSubagt.conf files.
Please help. Thank you.
Regards,
Michael Bishop
Open Source & Linux Organization (OSLO)
Hewlett-Packard Company
3404 E. Harmony Rd. Bldg. 5L, Post C8, Mailstop 42 Fort Collins, CO
80528-9599
Phone: 970-898-4393
E-Mail: [EMAIL PROTECTED]
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users