Hi,
Controller 1 does not respond to SNMP wheather it is Active or not.
Controller 2 responds only when set to Active.
SNMP configuration is exactly the same on both controllers (snmpd.conf and
trapd.conf)
ncsSnmpSubagt.conf is also identical on both controllers.
The only thing I can think of is maybe a corrupt net-snmp compilation?
Thanks,
Gad
------------------------------------------------------------------
ALLA VENKATA MAHESH-TFH648 mahesh.alla at motorola.com
Wed Nov 14 09:26:07 GMT 2007
* Previous message: [Users] Problem with snmpwalk on MontaVista 4.0.1
cge
* Next message: [Users] Opensaf1.0-4 Release
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Gad,
The OpenSAF SNMP subagent gets started on both the active and standby
controllers. But, only the active controller will provide service i.e.
establish the connection with SNMP master agent and responds to SNMP
queries.
Pls make sure you are issuing SNMP commands to/on active controller
only.
I guess in your case you might have issued commands to a stand by
controller IP ? Pls confirm.
Thanks & Regards,
AVM
On Mon, 12 Nov 2007 21:58:37 -0600, "ALLA VENKATA MAHESH-TFH648"
<[EMAIL PROTECTED]> wrote:
> Hi Gad,
>
> Please make sure that you have started master agent (snmpd) with
> following option ,so that it listens for tcp connections.
>
> ./snmpd -x tcp:localhost:705 -I -interfaces
>
>
> And check connections are ESTABLISHED on 705 ports
>
> # netstat -apn|grep 705
>
> tcp 0 0 0.0.0.0:705 0.0.0.0:* LISTEN 8259/snmpd
> tcp 0 0 127.0.0.1:52298 127.0.0.1:705 ESTABLISHED 27860/ncs_snmp_suba
> tcp 0 0 127.0.0.1:705 127.0.0.1:52298 ESTABLISHED 8259/snmpd
>
> Thanks & Regards,
> AVM
>
>
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of DaMiEn667
> Sent: Tuesday, November 13, 2007 3:16 AM
> To: [email protected]
> Subject: [Users] Problem with snmpwalk on MontaVista 4.0.1 cge
>
>
>
> Hi guys, I really could use some help here.
>
>
>
> I've set up, compiled, installed, and successfully started openSAF on 2
> controllers (one as Active and one as Standby, both start without any
> errors).
>
> I've been reading up in the forums on how to set variables through snmp,
> however, none of the examples seem to work for me.
>
>
>
> They talk about adding a node to the configuration through snmp by
> issuing the following snmpset commands:
>
>
>
>
>
> snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
> SAF-AMF-MIB::saAmfNodeSuFailoverProb.\"safNode=SC_2_2\" x "00 00 00 00
> 05 F5 E1 00"
>
> snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
> SAF-AMF-MIB::saAmfNodeSuFailoverMax.\"safNode=SCL_2_2\" u 2
>
> snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
> SAF-AMF-MIB::saAmfNodeAdminState.\"safNode=SC_2_2\" i 2
>
> snmpset -v2c -c public -m /usr/share/snmp/mibs/NCS-AVSV-MIB localhost
> NCS-AVSV-MIB::ncsNDNodeId.\"safNode=SC_2_2\" u 134928
>
> snmpset -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
> SAF-AMF-MIB::saAmfNodeRowStatus.\"safNode=SC_2_2\" i 1
>
>
>
>
>
> I can run that on either controller (I've even tried changing the
> safNode= to SC_2_1), I get the same error:
>
> Error in packet.
>
> Reason: notWritable (That object does not support modification)
>
> Failed object: SAF-AMF-MIB::saAmfNodeSuFailoverProb."safNode=SC_2_2"
>
>
>
> When I try to do an snmpwalk on either controller this is what I get in
> return:
>
> root:~# snmpwalk -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB
> localhost SAF-AMF-MIB::saAmfNodeSuFailoverProb.\"safNode=SC_2_2\"
>
> SAF-AMF-MIB::saAmfNodeSuFailoverProb."safNode=SC_2_2" = No Such Object
> available on this agent at this OID
>
>
>
> I've even tried doing:
>
> snmpwalk -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost
> SAF-AMF-MIB::saAmfNodeTable
>
>
>
> which results in:
>
> SAF-AMF-MIB::saAmfNodeTable = No Such Object available on this agent at
> this OID
>
>
>
> SNMPD is started using the following command on both controllers:
>
> /usr/sbin/snmpd -x tcp:localhost:705 -c /usr/share/snmp/snmpd.conf -I
> -interfaces -Lsd -Lf /dev/null -p /var/run/snmpd.pid
>
>
>
> Snmpd.conf on both controllers is:
>
>
>
>
>
> # community string to be given in the SNMP requests at SNMP Manager
>
> rwcommunity public
>
>
>
> master agentx
>
> #IP address on which snmptrapd/snmp Manager is listening for the traps
>
> trap2sink 10.0.0.131
>
>
>
> syslocation ECCG
>
> syscontact ECCG-SUPPORT
>
> sysservices 79
>
>
>
> #
>
> # Directives for SubAgent communication
>
> #
>
> agentxTimeout 10
>
> agentxRetries 0
>
>
>
>
>
> That being said, am I missing something here? Shouldn't I be able to
> see the 2 controllers as 2 separate ROWS in the saAmfNodeTable?
>
>
>
> Thanks in advance,
>
>
>
> Gad
_______________________________________________
Users mailing list
[email protected]
http://list.opensaf.org/maillist/listinfo/users