Friday, April 30, 2010

CTS System - CTS Analyzer

This Perl script is useful to extract system information for CTS logs files and send you an email with its details.
Main features:
- CTS version
- System model
- System errors
- Codec and Display Serial numbers
- Display model
- Uptime
- IP address information
- Check if your system is affected by latest Field Notices
- CTS Manager and CUCM information

I have found around 3 DDTS for 1 day of use, (Looking for more!)
Please suggest any feature request or any bug you find so I can fix it.


I attach the script for your personal use, this one requires couple of changes (HTTP Proxy and SMTP email address) and basic knowledge of Perl
This is a 0.X version so I'm working in improving run time and reduce duplicate code for secondary codecs once is more stable

Feedback is welcome

Please download script from here:

http://docs.google.com/leaf?id=0B47-vpuz_NefNmVhOTE2MmMtMmU5NC00OTczLWE5NGUtNTkwMmQ1NzczNDM2&hl=en





Cisco TelePresence Analyzer
Release Notes Ver 0.36 CTS Analyzer


- Version 0.1 November  2009    - First release, basic functionality
- Version 0.2  December 2009     - Connects via HTML and verify Serial numbers for Display and Codecs

- Version 0.21 January  2010    - Verify Display Serial number is valid
                                 - Add Networking information (IP Address, Subnet, Default GW,
                                  DNS information
                                - Order output in report.txt

- Version 0.23 January  2010    - Add CTM Manager IP address and tpstatus.log

- Version 0.3  January  2010    - Reorder Menu

Fix DDTS CTS0001   Analyzer reports error for Display disconnected
Fix DDTS CTS0002   Analyzer display complete error for CPAN .tar.gz module, pass error to Warning function not str->error
Fix DDTS CTS0003   Display 0.0.0.0 for IP address when CTS i using DHCP m/(^SERVER_ADDR)=(.*)/

- Version 0.35 July     2010    - Add Log file
- Version 0.36 July     2010    - File check
Fix DDTS CTS0007   Verify is a valid Telepresence log files (can be a valid .tar.gz but no CTS)

Release Notes Ver 1.0(1000) CTS Analyzer

CGI support!

Caveats List

Version:1.0
Open:
 DDTS CTS0003 (Sev 2) (A) Display 0.0.0.0 for IP address or no IP address when CTS is using DHCP m/(^SERVER_ADDR)=(.*)/
 DDTS CTS0005 (Sev 4) (N) Add configurable options from Menu: Proxy, Email server, Debug Level Errors, etc
 DDTS CTS0006 (Sev 6) (N) Add support for .tar and .zip file
 DDTS CTS0009 (Sev 3) (A) Code revision. Use strict and remove duplicate code, global variables.
 DDTS CTS0012 (Sev 6) (N) HTML code report
 DDTS CTS0013 (Sev 3) (N) Tandberg Endpoint support (E20, C20 , C40)
 DDTS CTS0014 (Sev 6) (N) CEC Authentication support
 DDTS CTS0015 (Sev 2) (N) Handle large files > 15 MBs

Resolved:
 DDTS CTS0001 (Sev 2) (R) Analyzer reports error for Display disconnected
 DDTS CTS0002 (Sev 2) (R) Analyzer display complete error for CPAN .tar.gz module, pass error to Warning  function not str->error
 DDTS CTS0004 (Sev 3) (R) Remove menufile.txt
 DDTS CTS0007 (Sev 2) (R) Verify is a valid Telepresence log files (can be a valid .tar.gz)
 DDTS CTS0008 (Sev 2) (R) Add SMTP code to verify Email server connectivity using MX record then invoke CPAN
 DDTS CTS0010 (Sev 6) (R) Public CGI WebServer
 DDTS CTS0011 (Sev 3) (R) Debug function

1 comment:

  1. Just updated to version 0.35
    Improving runtime and sending errors to tmp/log file
    Will keep working on it this 2 weeks.

    ReplyDelete