cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1236
Views
5
Helpful
11
Replies

Video load on MCU 5310 ( through XML-RPC )

Sven Lindeke
Level 1
Level 1

Hi there.

I'm trying to create a monitoring script for Nagios to monitor the usage of video ports on my MCU 5310 ( software version 4.4 ).

I found an exemple of a perl scipt using RPC::XML and it works quiet well except for one thing: I don't get the video load.

I used the method "device.health.query", which should include a member called "videoLoad" ( refering to Cisco TelePresence MCU API 2.10 Guide ).

I get a correct result from that method, but there are some of the members missing.

Here the result:

<struct><member><name>rtcBatteryStatus</name>

<value><string>ok</string>

</value>

</member>

<member><name>operationalStatus</name>

<value><string>active</string>

</value>

</member>

<member><name>voltagesStatusWorst</name>

<value><string>ok</string>

</value>

</member>

<member><name>fanStatusWorst</name>

<value><string>ok</string>

</value>

</member>

<member><name>temperatureStatusWorst</name>

<value><string>ok</string>

</value>

</member>

<member><name>temperatureStatus</name>

<value><string>ok</string>

</value>

</member>

<member><name>mediaLoad</name>

<value><int>1</int>

</value>

</member>

<member><name>voltagesStatus</name>

<value><string>ok</string>

</value>

</member>

<member><name>fanStatus</name>

<value><string>ok</string>

</value>

</member>

<member><name>cpuLoad</name>

<value><int>0</int>

</value>

</member>

<member><name>rtcBatteryStatusWorst</name>

<value><string>ok</string>

</value>

</member>

</struct>

There is no "videoLoad" member.

Is there anything I did wrong or do I have to enable something on the MCU?

Is there another way to get the video load from the MCU ( like SNMP or sth )?

Regards,

Sven Lindeke

1 Accepted Solution

Accepted Solutions

HI Sven.  So, it appears that the 5300 Series Platform will not return these values like the older platforms.  The videoLoad and audioLoad return values were removed cause they were reporting incorrect information since this platform runs mixed audio and video DSP's unlike the older models of MCU. 

The only options I can think of here:

1) Run a script to pull the data from Status>Conferences page.
2) Invest in Conductor and query Conductor for audio and video ports in use.
3) Push account team to drive aforementioned CDETS for api call to pull information from Status>Conferences page. 
4) Set up a script to subscribe to and then listen for feedback events - see page 18 of http://www.cisco.com/en/US/docs/telepresence/infrastructure/mcu/api_guide/MCU_API_2-10.pdf
May be able to count participants joining and leaving this way perhaps.

I know this doesn't help you now, but only four methods I can recommend for now. 

VR
Patrick

View solution in original post

11 Replies 11

Martin Koch
VIP Alumni
VIP Alumni

Was also always surprised that it was not there (and I think also not on snmp).

Think the only way is to get the data form the actual http(s) status site you would access as an admin.

Please remember to rate helpful responses and identify helpful or correct answers.

Please remember to rate helpful responses and identify

Hi Sven.  When I run this is Firefox poster:

device.health.queryauthenticationUseradminauthenticationPasswordxxxx

The result from POST is:

voltagesStatus

ok

temperatureStatus

ok

rtcBatteryStatus

ok

voltagesStatusWorst

ok

temperatureStatusWorst

ok

rtcBatteryStatusWorst

ok

cpuLoad

2

operationalStatus

active

mediaLoad

1

videoLoad

1

audioLoad

1

I have one unit in a call on the MCU when I run this.  Did you have the same? 

I'm using 8510 MCU on 4.4(3.57), so it returned the videoLoad member while I had one person in the MCU.  Did you try the same or are you using a different version of 4.4?

I run the same query again with no users in the MCU, and get the following:

voltagesStatus

ok

temperatureStatus

ok

rtcBatteryStatus

ok

voltagesStatusWorst

ok

temperatureStatusWorst

ok

rtcBatteryStatusWorst

ok

cpuLoad

2

operationalStatus

active

mediaLoad

0

videoLoad

0

audioLoad

0

What version are you running and on what hardware?

VR

Patrick

I tried it some time ago, bot sure which MCU I tried it on. When I tried it now with a 4.4 4510, 8420, 8510 I also got the result.

Btw, an other option could be to use device.status

uptime=20831222;cpu_load=4.1%;media_load=0%;video_load=0%;audio_load=0%;free_memory=600992K;free=472204K;cached_fbs=79232k;inact=49556K;HM0 internal temp=34.0;HM1 internal temp=36.0;S1 internal temp=25.0;FX0 temp=58.0;CPU core temp=51.0;FDV303N temp=26.0;PIM1 temp=36.3;PIM2 temp=36.3;

Sven: Which I would guess returns a lot you want to monitor and also returns not only an integer.

Patrick: is there any rpc call which can diectly return the values shown on the status_conferences.html page?

Please remember to rate helpful responses and identify helpful or correct answers.

Please remember to rate helpful responses and identify

Patrick Pettit
Cisco Employee
Cisco Employee

Hi Martin. I think there was a request for one or it was questioned before. Have to look in the am my time to see if it was or not and let you guys know.

VR
Patrick


Sent from Cisco Technical Support Android App

Hi.

The software version of my 5310 is 4.4(3.54)

Even the "device.status" call has no videoLoad included.

The software was updated two months ago, but I didn't try that before.

Regards,

Sven

How is it on the status website, do you see a changing value there?

I would recomend to try to upgrade to 4.4(3.57) and test again.

http://software.cisco.com/download/release.html?mdfid=284183237&flowid=46037&softwareid=280886992&release=4.4%283.57%29&relind=AVAILABLE&rellifecycle=&reltype=latest

If this does not change the behavior, you have a valid service contract and its critical

for you, I would recommend to file a service request to Cisco TAC.

Please remember to rate helpful responses and identify helpful or correct answers.

Please remember to rate helpful responses and identify

HI Sven.  Upgrading may not help you here.  I'm investigating. 

Martin - The request to have the information on Status>Conferences page available via API is: CSCuc94233

I may need to fix it up a bit better, but its been submitted. 

VR

Patrick

Hi.

@Martin: It's the same on main status page: no video load. Only under Status->Conferences, I can see the "Video ports in use"

@Patrick: Thanks for investigating.

Regards,

Sven

HI Sven.  So, it appears that the 5300 Series Platform will not return these values like the older platforms.  The videoLoad and audioLoad return values were removed cause they were reporting incorrect information since this platform runs mixed audio and video DSP's unlike the older models of MCU. 

The only options I can think of here:

1) Run a script to pull the data from Status>Conferences page.
2) Invest in Conductor and query Conductor for audio and video ports in use.
3) Push account team to drive aforementioned CDETS for api call to pull information from Status>Conferences page. 
4) Set up a script to subscribe to and then listen for feedback events - see page 18 of http://www.cisco.com/en/US/docs/telepresence/infrastructure/mcu/api_guide/MCU_API_2-10.pdf
May be able to count participants joining and leaving this way perhaps.

I know this doesn't help you now, but only four methods I can recommend for now. 

VR
Patrick

Hi Patrick.

Thank you for the answer and the investigation.

It's not that urgent and we actually think of buying a conductor, so that would be a solution.

Maybe I try the feedback thing for now.

Regards,

Sven Lindeke

Great thx!

Maybe you could also follow up that there will be an information in the API guide

which options are not supported on the 5300 (or other platforms).

Just checked, the

http://www.cisco.com/en/US/products/ps12283/products_programming_reference_guides_list.html

page links to the standard 2.10 api guide.

If I see it right also ftp is missing, that (or better scp/sftp as an replacement) would

be useful for easy CDR downloads.

Please remember to rate helpful responses and identify helpful or correct answers.

Please remember to rate helpful responses and identify

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: