Real-Time Monitoring Tool on Mac OS X

Let me first preface this post by saying that this is in no way a supported configuration, and your mileage may vary. Basically, if it breaks, or doesn't work for you, you're on your own. I'm only posting this after numerous requests for how I got RTMT running on my Mac.

First things first. Go and log into your CCMAdmin and download the Linux version of the Cisco Unified CallManager Serviceability Real-Time Monitoring Tool from the plugins page.

plugins.png

Save this to somewhere you'll remember. Next, open up Terminal and navigate to the folder that you saved the plugin to. (In my case, I saved it to a folder on the desktop named RTMT.)

$ cd ~/Desktop/RTMT
$ ls -l *.bin
-rw-r--r--@ 1 username  staff  59331963 Oct 13 21:58 CcmServRtmtPlugin.bin

Make the .bin file executable:

$ chmod +x ./CcmServRtmtPlugin.bin 
$ ls -l *.bin
-rwxr-xr-x@ 1 username  staff  59331963 Oct 13 21:58 CcmServRtmtPlugin.bin

And finally launch the installer:

$ ./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...

This will run you through the installer. If you're just looking through this without reading, you'll miss the fact that YES, there are supposed to be errors on the Install summary. These errors when you look at the install log are just the installer trying to install some .desktop files into directories that don't exist on OS X. (On older versions such as 6.x, these errors are different but can also be ignored.)

Setup1.png

Setup2.png

Make sure the install folder is set to your Applications folder, or you can adjust it to wherever you want this to reside.

Setup3.png

Setup4.png

Setup5.png

Setup6.png

Now that it's installed, we need to change one more thing to make this work. You can do this one of two ways, but I suggest the second option for it's simplicity.

Option #1:
Edit the file /Applications/JRtmt/run.sh. Change the "./jre/bin/java" to java so the file looks like this:

java -Dsun.java2d.d3d=false -Xbootclasspath/a:.:./lib/xerces.jar:./lib/log4j.jar:./lib/jcchart450J.jar:./lib/collections.jar:./lib/JbcBeans.jar:./lib/soap-common.jar:./lib/axis.jar:./lib/commons-discovery.jar:./lib/commons-logging.jar:./lib/jaxrpc.jar:./lib/saaj.jar:./lib/wsdl4j.jar: -jar JRtmt.jar

Now you can run RTMT by calling /Applications/JRtmt/run.sh from a command line, or AppleScript, which leads to the better option.

Option #2:
Open up the AppleScript Editor and paste in the following:

do shell script "cd /Applications/JRtmt; java -Dsun.java2d.d3d=false -Xbootclasspath/a:.:./lib/xerces.jar:./lib/log4j.jar:./lib/jcchart450J.jar:./lib/collections.jar:./lib/JbcBeans.jar:./lib/soap-common.jar:./lib/axis.jar:./lib/commons-discovery.jar:./lib/commons-logging.jar:./lib/jaxrpc.jar:./lib/saaj.jar:./lib/wsdl4j.jar: -jar JRtmt.jar"

Run this once to make sure that you get the RTMT login.

rtmt-login.png

Once you do, just hit the Cancel button. Assuming that it's working and does launch, then you can save this script to launch RTMT in the future. Do File > Save As. Change the name to RTMT, and navigate to your Applications folder. Change the File Format to Application, and click Save.

saveas-app.png

That's it. Run this app and you've got RTMT on OS X. Comes in very handy when you need to grab logs and such from systems, now you don't need to fire up your Windows VM to get them.

rtmt-main.png

Oh, and this does support updating the RTMT tool as well. So if you install from a 7.01 install and log into a 7.1 install, RTMT will upgrade itself and work just fine. Have fun. Hope this helps someone else out like it has me.