5 Replies Latest reply on Jul 20, 2011 7:49 AM by ofsen

    snmp agent using ipmi

    ofsen

      Hi ,

       

      We want to code a program (java) that queries remote snmp servers data that is provided by ipmi interface for that I think intel platforms should proivde

       

      1) snmp oids?

      2) a small application that pulls the ipmi that and serves it .

       

       

      What we want to do is that we want to show server healt status on our own program. Something like Multi-ServerManager-1.0-Build22_Windows. My question is

       

      1) Is there a defined SNMP OID for intel platforms that we can use?

      2) Since we use FreeBSD as our platforms operating system we need to interpret ipmi output and serve it. Maybe such a program is written for Linux or Windows but specs are open and we can benefit from that?

       

      Can someone in this list guide me on how to do that since i am a little bit lost on how to do that.

        • 1. Re: snmp agent using ipmi
          Dan_O

          Yes, you are in luck!  There are MIBs for almost every server - which one do you have?

           

          Intel has also put effort into supporting IPMI in the open-source community - see http://ipmitool.sourceforge.net/

          • 2. Re: snmp agent using ipmi
            ofsen

            Hi,

             

            The server is Intel platform (SR1625urr or SR2612). I have found out that there is snmp support on it. But when I set the community name to "public"

             

            ipmitool lan set  1 snmp public

             

            I can't query it but i can ping the ipmi interface from another machine on the same lan

             

            ipmitool lan print 1
            Set in Progress         : Set Complete
            Auth Type Support       : NONE MD5 PASSWORD
            Auth Type Enable        : Callback : NONE MD5 PASSWORD
                                    : User     : NONE MD5 PASSWORD
                                    : Operator : NONE MD5 PASSWORD
                                    : Admin    : NONE MD5 PASSWORD
                                    : OEM      :
            IP Address Source       : Static Address
            IP Address              : 10.0.0.140
            Subnet Mask             : 255.255.255.0
            MAC Address             : 90:fb:a6:dd:14:cX
            SNMP Community String   : public
            IP Header               : TTL=0x00 Flags=0x00 Precedence=0x00 TOS=0x00
            BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
            Gratituous ARP Intrvl   : 0.0 seconds
            Default Gateway IP      : 10.0.0.1
            Default Gateway MAC     : 00:00:00:00:00:00
            Backup Gateway IP       : 0.0.0.0
            Backup Gateway MAC      : 00:00:00:00:00:00
            802.1q VLAN ID          : Disabled
            802.1q VLAN Priority    : 0
            RMCP+ Cipher Suites     : 1,2,3,6,7,8,11,12,0
            Cipher Suite Priv Max   : XaaaXXaaaXXaaXX
                                    :     X=Cipher Suite Unused
                                    :     c=CALLBACK
                                    :     u=USER
                                    :     o=OPERATOR
                                    :     a=ADMIN
                                    :     O=OEM

             

             

            snmpwalk -v 1  -c public <IP_OF_IPMI_INTERFACE>

            snmpwalk -v 2c -c public <IP_OF_IPMI_INTERFACE>

             

            does not work.

            • 3. Re: snmp agent using ipmi
              Dan_O

              You may have to enable it first.  Have you booted off the Intel Deployment Assistant CD, and gone into the networking configuration?  It's been a while since I've done it, but I remember having to do that first before SNMP would answer.

              • 4. Re: snmp agent using ipmi
                ofsen

                Using IDA I can only set trap sender but not snmp server on ipmi I think. Can someone send the syscfg.efi command for that? There are various commands for snmp but i am not able to figure out which one is to enable SNMP queries on IPMI lan 1 interface (or for RMM3 also)

                 

                Regards.

                • 5. Re: snmp agent using ipmi
                  ofsen

                  there are a few targets/switches related with snmp at syscfg

                   

                  /lac = lan alert configuration

                  /lae = lan alert enable

                  /lc  = lan  configutration

                  /sc = serical configuration

                  /spe  = serial page enable

                   

                  Which one should i use and can you give me an example for example for rmm3

                   

                  syscfg /lae 3  <DEFAULT_GW_IP>  <DEFAULTGW_MAC>   <_community_name>

                   

                  this changes community name which i can see using ipmitool

                   

                   

                  Set in Progress         : Set Complete
                  Auth Type Support       : NONE MD5 PASSWORD
                  Auth Type Enable        : Callback : NONE MD5 PASSWORD
                                          : User     : NONE MD5 PASSWORD
                                          : Operator : NONE MD5 PASSWORD
                                          : Admin    : NONE MD5 PASSWORD
                                          : OEM      :
                  IP Address Source       : Static Address
                  IP Address              : 10.0.0.100
                  Subnet Mask             : 255.255.255.0
                  MAC Address             : 00:1e:67:08:e0:ab
                  SNMP Community String   : public1

                   

                   

                  but i can't still snmpwalk it