Tuesday, June 19, 2012

Cisco RTMT on Mac OS X

Typically, it isn't my style to post what I call a "cover blog". But I had to make an exception this time around. While I was at Cisco Live 2012 I got into a conversation about switching to the Apple Mac OS X platform and porting applications that are traditionally Windows-based. Specifically, the conversation revolved around applications that end users and administrators of Cisco UC solutions can use. 


Whenever I get into this discussion, the question of running Cisco's Real Time Monitoring Tool (RTMT) application on OS X is a popular talking point, right behind soft phones. In this brief blog spot I wanted to highlight a resource I stumbled across a while ago that was very helpful in getting RTMT running on Mac OS X. 


Of course I am talking about @ciscomonkey's article that is aptly titled "Real Time Monitoring Tool on Mac OS X" (http://www.ciscomonkey.net/rtmt-on-mac/). There isn't much to say except that the article is well written, accurate, and an indispensable book mark. In fact, there was a period of time where I couldn't find the article after I first discovered it. Fortunately, the author was kind enough to re-publish this invaluable resource (and I promplty archived an offline copy). 




Thanks for reading. If you have time, post a comment!

17 comments:

  1. Hi Bill, I stopped by your booth, but didn't get the opportunity to meet you at Cisco Live. Did you install the RTMT on Snow Leopard or Lion? I tried following steps on ciscomonkey's site, but the install would not run on my Lion Mac. I downloaded the RTMT .bin file from our new CUCM 8.6 server. Thanks, Dan

    ReplyDelete
  2. Hey Dan,

    Sorry we missed each other at Live. The schedule was hectic and time just flew by. I installed the RTMT on Snow Leopard. I haven't upgraded to Lion yet. However, one of the guys on my team just upgraded to Lion. I'll check with him to see if he has tested RTMT yet.

    -Bill

    ReplyDelete
  3. Hi There,

    I'm on snow leopard and
    I have this error when I try to execute the installer ( CCM 8.6.2 ) Any idea? I don't know how to contact the CISCOMONKEY.NET guy BTW.

    Thanks,

    Stephane

    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...

    Launching installer...

    ./CcmServRtmtPlugin.bin: line 2506: /tmp/install.dir.95777/Linux/resource/jre/bin/java: cannot execute binary file
    ./CcmServRtmtPlugin.bin: line 2506: /tmp/install.dir.95777/Linux/resource/jre/bin/java: Unknown error: 0

    ReplyDelete
    Replies
    1. Stephane,

      I am not sure but my first inclination is to point to a permissions issue. Did you ensure that the account you are logged in with a user that has appropriate permissions? The second thought is around java compatibility.

      I haven't tried jrtmt from 8.6(2) yet.

      -Bill

      Delete
    2. I've got the same problem. It's definitely not a permissions issue. The installer tries to use the bundled JRE, which won't work. I've tried to hack the script so it uses /usr/bin/java, but haven't been successful so far :(

      Delete
    3. FWIW, I got it to work by installing under Linux and copying the installation to my Mac. I modified the file run.sh to use /usr/bin/java. That was all.

      Delete
    4. I am not a power mac user by any stretch of the imagination... when you installed this on Linux, where did you copy it to on the Mac?

      Delete
    5. Responding to my own post..

      I copied the directory to my profile's downloads directory and made sure to create the full directory structure (i.e. opt/cisco/Unified-Serviceability/JRtmt) and it worked like a champ!

      Thanks Sebastian

      Delete
    6. I'm having the same issue as Stephane above. I downloaded the .bin file to Downloads and follow the instructions from ciscomonkey using terminal.app but get the same error message launching the installer. Can you please elaborate on the steps you took to get it working. I set up the opt/Cisco/Unified-Serviceability/JRtmt directory but unsure what to do next. Thanks

      Delete
  4. Sebastion,

    Thanks for the information! Very helpful and much appreciated.

    -Bill

    ReplyDelete
  5. Having the same problem as everyone else... I do not have a Linux box to do the install on.

    CIO-Office:Downloads home$ ./CcmServRtmtPlugin.bin
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...

    Launching installer...

    ./CcmServRtmtPlugin.bin: line 2506: /tmp/install.dir.82440/Linux/resource/jre/bin/java: cannot execute binary file
    ./CcmServRtmtPlugin.bin: line 2506: /tmp/install.dir.82440/Linux/resource/jre/bin/java: Undefined error: 0

    ReplyDelete
  6. All,

    I finally got around to testing this out and I think I found the issue and a workaround. The issue (as was pointed out in another comment) is that the installer package is attempting to use the embedded JVM. Since the package was built for installation on the Linux OS there is a compatibility issue.

    I did not look into why the installer package is failing to detect the Mac OS X JVM environment. However, I have found a viable workaround that doesn't require you to install RTMT on a Linux host and then copy files to OS X.

    You need to force the installer (.bin) to use the OS X JVM. You can do this using a command like the following:

    sh CcmServRtmtPlugin.bin LAX_VM /usr/bin/java

    Note that the original issue is with the CUCM 8.6 (and I assume later) RTMT installer. I experienced the same installation issues on Snow Leopard and Mountain Lion. The fix also worked on both OS versions.

    I have an updated blog entry set to go out at 9am PDT tomorrow which will have more detail. Just in case you are curious.


    HTH.

    -Bill (@ucguerrilla)





    ReplyDelete
  7. Awesome.. That worked for me. Thanks for the post

    ReplyDelete
  8. Bill,
    I have looked for the article posted by ciscomonkey all over the internet and all links are no longer available. Looks like the ciscomonkey.net is down as well. You mentioned having an archived copy of the article, can you publish that? I need to get RTMT installed on my MAC asap!

    thank you
    Rebecca

    ReplyDelete
    Replies
    1. Rebecca,

      Sorry for the delay in responding. I don't think I can post an exact copy of the work since I wasn't the original author. I did ask the original author for permission to re-post a while back but haven't heard back.

      I am planning to work up a "new" walk-through article. Time is a challenge but look for something from me in a couple of days.

      -Bill (@ucguerrilla)

      Delete
  9. Bill,
    The article from ciscomonkey is not longer published. I have spend a few hours looking for a working link to it. Looks like the ciscomonkey.net is also down. You mentioned having an archived copy. Is there a way to publish a copy of that so I can view it? I am needing to get RTMT on my new MAC asap!

    Rebecca

    ReplyDelete
    Replies
    1. Rebecca,

      I created a new procedural article. Hopefully that gets you where you need to be:

      http://ucguerrilla.com/2015/10/installing-cisco-rtmt-105-on-apple-os-x.html

      HTH

      -Bill (@ucguerrilla)

      Delete