on 01-24-2014 05:19 PM
Hi Erik,
Were you able perhaps to find the solution to extract this information that looks like Alert Central in RTMT? I was also struggling to solve this but still without success.
Thanks! Dragan
Hello Dragan
I wrote a post about retrieving alarms from CUCM Collecting alarms from CUCM – Cisco Collaboration tips and tricks
But it looks like that 10.5.2 version has a bug which doesn't allow to get certain files with API.
Hi Alexey,
Thanks a lot! I will try to call this from Java, based on the great example that you sent!
Regards, Dragan
Hi Alexey,
I've implemented code in Java for Android based on your article, which helped me a lot! However, this method requires that I download the whole CSV file per every poll, if I am right...I guess that RTMT uses some different method to achieve this, because the alarms come up almost instantly. Did you try to use SFTP method perhaps (where your machine acts as SFTP server)? I found some description about this here (also mentioned in your article ):
Cisco DevNet: sxml - API Reference - Log Collection (LogCollection, DimeGetFile)
Thanks again!
Dragan
Hello Dragan,
I haven't tried the one with SFTP - it will just upload the same CVS file to a remote server for you to parse. So I don't think it will speed up things. I think that RTMT use some proprietary mechanism to retrieve alerts. I wish I had CUCM tomcat private key to decode tls session between RTMT and CUCM.
I think typically the UCM's remote syslog capability is intended for real time alerting, though that implies an on-premise service to receive the syslog messages, then parse and forward to an Android app...
Hi Aleksey, you are right about that. I tried to sniff traffic between CUCM and RTMT and its all going via 8443, to it's impossible to see what's inside. Perhaps are those some SQL queries into CUCM database itself, what do you think? There is an interface for executing SQL queries via Serviceability XML.
I'm not sure if this is what you are looking for, but you might be able to make use of the RTMT-servlet tester for this.
Navigate to https://X.X.X.X/ast/AstIsapi.dll?GetAlertSummaryList and check out what is there. I believe it will tell you if an alarm is triggered or not and the time at which it triggered. As far as further details, unfortunatly you are SOL.
Hi Cole,
thanks a lot! This is really great and useful! The rest of the information I pull out from CVS file via SFTP - not the most optimal solution, but it works
Regards, Dragan
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: