cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1685
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Mayank Sharma on 25-02-2009 07:10:59 PM
Is it possible to get CUCM information like serial number, mac, memory, hard drive etc. using AXL or any other programming method.
 
Thanks,
Max

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 26-02-2009 06:47:32 PM
I would really like to know if this is even possible.
 
Thanks,
Max

Subject: RE: Get CUCM information
Replied by: David Staudt on 26-02-2009 09:59:20 PM
Serial number: what is this exactly...?  If it's like a vendor serial number: if it's anywhere it would be in the SNMP MIB specific to the vendor
 
MAC:
  - SNMP: CISCO-CDP-MIB
 
Memory:
  - SNMP: (Vendor specific MI
  - Serviceability AXLerfmonPort: You can get overall memory (Memory,) memory per process, Tomcat JVM memory usage, etc.
 
Hard drive:
   - SNMP: (Vendor specific MI
   - Serviceability AXLerfmonPort: Partition counter
 
 
 

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 27-02-2009 01:59:32 PM
Thanks David,
 
Serial number: what is this exactly...?  If it's like a vendor serial number: if it's anywhere it would be in the SNMP MIB specific to the vendor
  

 
My ignorance. Yeah, these will be vendor specific. Any way to tap the MIB in CUCM 6.1?
 

MAC:
  - SNMP: CISCO-CDP-MIB
 

I think an answer to the question above will answer this. 

Memory:
  - SNMP: (Vendor specific MIB
  - Serviceability AXL PerfmonPort: You can get overall memory (Memory,) memory per process, Tomcat JVM memory usage, etc.
 
Hard drive:
   - SNMP: (Vendor specific MIB
   - Serviceability AXLPerfmonPort: Partition counter
 

 
I looked at the PerfmonPort requests and responses but could not find anything specifically for this in the document, anywhere I can find some sample requests for the above?
 
Thanks,
Max
 

Subject: RE: Get CUCM information
Replied by: David Staudt on 27-02-2009 06:07:05 PM
Any way to tap the MIB in CUCM 6.1?

 
The vendor MIB will be available on the box if you query the OIDs.  See the SNMP documentation for specifics regarding vendor MIBs: http://www.cisco.com/en/US/docs/voice_ip_comm/cucmbe/service/6_1_1/admin/sasnmdes.html#wp1041745
I looked at the PerfmonPort requests and responses but could not find anything specifically for this in the document, anywhere I can find some sample requests for the above?

 
The list of performance counters is not in the document, as it can vary depending on the hardware.  First step is to query listof available counters via PerfmonListCounter:
 
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap/">
   <soapenv:Header/>
   <soapenv:Body>
      <soaperfmonListCounter soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <Host xsi:type="xsd:string">UCM701-Pub</Host>
      </soaperfmonListCounter>
   </soapenv:Body>
</soapenv:Envelope>

 
This will return a large response listing all the available counters
 
...
            <item xsi:type="ns1bjectInfoType">
               <Name xsi:type="ns1bjectNameType">Memory</Name>
               <MultiInstance xsi:type="xsd:boolean">false</MultiInstance>
               <ArrayOfCounter soapenc:arrayType="ns1:CounterType[23]" xsi:type="soapenc:Array">
                  <item xsi:type="ns1:CounterType">
                     <Name xsi:type="ns1:CounterNameType">% Mem Used</Name>


...
 
Pick a counter and use PerfmonCollectCounterData to retrieve:
 
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap/">
   <soapenv:Header/>
   <soapenv:Body>
      <soaperfmonCollectCounterData soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <Host xsi:type="xsd:string">UCM701-Pub</Host>
         <Object xsi:type="soapbjectNameType">Memory</Object>
      </soaperfmonCollectCounterData>
   </soapenv:Body>
</soapenv:Envelope>

 
Note that some perfmon data - especially CPU utilization - cannot be calculated with a single poll, and requires using the 'session' features in order to track multiple data points and calculate correctly.
 

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 27-02-2009 07:45:05 PM
Thanks a lot David.
Let me play with this.

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 04-03-2009 02:12:43 PM
David-
 
I queried the OIDs but I can only get the following information about the system:
 
OID                                                                     ID                                  Value
system.sysDescr.0                                1.3.6.1.2.1.1.2.0      Hardware:7825H3,1,4096 MB Memory:Software:UCOS 3.0.0.0-73
system.sysName.0                               1.3.6.1.2.1.1.5.0       
interfaces.ifTable.ifEntry.ifPhysAddress.2 1.3.6.1.2.1.2.2.1.6.2 [Physical Addresse (MAC)]
 
When I run "show hardware" on command prompt or thru CUCM web interface, I get this information.
 
HW Platform       : 7825H3
Processors        : 1
Type              : Intel(R) Xeon(R) CPU            3050  @ 2.13GHz
CPU Speed         : 2133
Memory            : 4096 MBytes
Object ID         : 1.3.6.1.4.1.9.1.583
OS Version        : UCOS 3.0.0.0-73
Serial Number     : [Serial Number]
 
Do you know where exactly should I query to get this data.
I did not use any specific MIB for my SNMP queries. I just posted the query to the CUCM box
and it returned me these values.
 
Thanks,
Max

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 04-03-2009 03:11:31 PM
I think the information I need is provided by MIB II agent. How to query this agent?
 
Please let me know if this is the MIB I am supposed to use:
EntityMIB:
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=entPhysicalSerialNum
 
I loaded the following MIBs into by MIB browser, so now I get EntityMIB in the tree. But when I try to access the OID in the tree, I get an exception of NoSuchName, possibly because it cannot find the variable. Any thoughts:
 
1. SNMPv2-SMI - Loaded
2. SNMPv2-TC - Loaded
3. SNMPv2-CONF -Ignored
4. SNMP-FRAMEWORK-MIB - Loaded
5. RFC-1212 - Loaded   
6. SNMPv2-SMI-v1 - Unavailable
7. RFC-1215 - Loaded  
8. SNMPv2-TC-v1 - Unavailable
9. ENTITY-MIB  - Loaded
 
I am using SNMP V2. The ones that are unavailable are all V1 MIBs. Can they be a problem?
 

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 05-03-2009 03:03:05 PM
Updates:
 
I even tried running the following command from the command line:
 
snmp get 2c  127.0.0.1 1.3.6.1.2.1.47.1.1.1.1.11

Got this error:
 
iso.3.6.1.2.1.47.1.1.1.1.11 = No Such Object available on this agent at this OID

The OID is from Entity-MIB for serial number.
 
entPhysicalSerialNum -> 1.3.6.1.2.1.47.1.1.1.1.11
 
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=entPhysicalSerialNum

Is Entity-MIB implemented or not on the CUCM 6.1?
What am I missing?
 
Thanks,
Max
 

Subject: RE: Get CUCM information
Replied by: Mayank Sharma on 07-04-2009 01:53:30 PM
Anyone who might want to get this information, what David posted in his earlier post is the answer. I was just using the wrong MIB.
 
This is the link that David posted: http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/service/6_1_1/admin/sasnmdes.html#wpmkr1041744
 
Depending on the vendor (HP or IBM), use vendor specific OID queries to get the data.
 
Thanks,
Max
Comments
pramam
Level 1
Level 1

Note that some perfmon data - especially CPU utilization - cannot be calculated with a single poll, and requires using the 'session' features in order to track multiple data points and calculate correctly.

Does it require multiple polls using session feature for CPU utilization. why does it require. How do we calcuate CPU Percentage ?

Thanks,
Prama.



Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links