Cisco Meeting Server – Automatic Backups

This post details the process of setting up a bash script to automate the backup of Cisco Meeting Server files onto a *nix based server, its heavily influenced by this post by Jason Neurohr and his PowerShell version, all credit goes his way!

Running the script in a cron schedule will enable automatic backups of your CMS servers, backing up the tarball from the ‘backup snapshot’ CLI command along with the certificates and license file in the root of the CMS SFTP server.

The last line of the script will remove any backups older than 180 days, modify/remove this to suit.

Continue reading →

Cisco Meeting Server – coSpaces to CSV

I had a requirement to compare the full list of coSpaces configured on a CMS cluster to the list of coSpaces created by an Acano Manager LDAP import, pulling the data from Acano Manager is easy enough, just dump the SQL table but with CMS the only database access is via the API or webadmin and it’s not easy to output 3000+ coSpaces.

In the end I decided to write a script to iterate through the GET coSpaces API path until all of the output was saved in a CSV, it will save the space name, space uri, space callId, and coSpaceId. These were the only fields I required for the compare but more can be supported with minimal effort.

Continue reading →

Treesize output in Linux

One of my favourite programs in Windows is the free utility from JAM Software, TreeSize free, it integrates into the Windows shell allowing you to right click on any drive or folder and display an overview of the space used and whats consuming it.

I wanted to emulate this in the Linux shell and found a few ways to do it.

du – estimate file space usage

One way to do it in Linux is to emulate it using the ‘du’ command, there are a few ways to do this but by far the best I’ve seen so far is a script written by Andrew Clarke.

Continue reading →

Cisco VCS alarm notification

I thought I’d finally sit down and learn how to Python – I wanted to do something useful with my first Python script so I decided to create an alarm notifier for the Cisco VCS.  I’m aware Cisco TMS generates tickets on Cisco VCS alarms (don’t think you get email alerts?) but what if you don’t have Cisco TMS or your Cisco VCS appliance can’t be actively monitored by Cisco TMS due to your network setup?

I’ll walk you through the steps to get this working, it’s pretty simple to setup and you can just leave it to monitor your Cisco VCS appliances/VMs.

Continue reading →