Posts Tagged ‘server’

Escalation Timeline HTML generator

May 15th, 2010

FULL CREDITS – lj.head@gmail.com

Read the Full description as posted on BMCDN:

Escalation Timeline

This is a program which will connect to your remedy server and grab the escalations you specify and generate two outputs, one visible through an html page that will show you an interactive timeline of your escalation firing patterns, and another in csv format that you can do with what you want

In the  attached zip file are some files to work with…it’s fully functional in my little corner of the world.  Here is a list of the files and their  function

-EscalationTimeline.java – Source code for the program
-EscalationTimeline.class – Compiled version of said source code
-esc_timeline.bat – sample batch file that I use to execute my copy of the program
-esc_timeline.css - css file for the html file
-esc_timeline.html – html file that displays the timeline output
-esc_timeline.js – this is the ’events’ file that the program generates, it takes the input in the config file and the escalations in your server and generates this file, this is an input to the html
-esc_timeline.properties – This is the config file the program uses to generate the output, it’s commented fairly good-esc_timeline.tmpl – This is a template html file used if you choose a different output name
-README.txt – this gives you setup instructions
-RELEASE NOTES.txt – provides a history of features added
-lib\arapi75.jar - This is the Remedy API file that allows you to connect to your Remedy server
-lib\log4j-1.2.14.jar - log4j jar file
There are command line options for everything within the config file. Here is the syntax provided when doing a -h
Syntax:
All command line options are optional, those listed as required are required to exist either in the command line or the config fileCommand line overrides config file in all situations
-h/? This syntax message you are reading
-c Config file to use for configuration, if unspecified it uses esc_timeline.properties (Optional)
-x Name or IP of Remedy server to connect to (Required)
-t TCP Port to connect to, if not specified a value of 0 is used (Optional)
-u Admin user name used to connect to Remedy server (Required)
-p Password for the Admin user (Optional)
-s Start Date for the execution, if not supplied it is assumed today (Optional)
-o Server Offset from GMT, if not supplied it is set to 0 (Optional)
-d Duration in days that you want it to calculate the timeline out to, defaults to 7 days if not supplied (Optional)
-type [BOTH|TIME|INTERVAL] If not supplied it defaults to TIME (Optional)
BOTH: Plots both Time and Interval based escalations onto the timeline
TIME: Just Time based, is better to use this option if you plan on using a long duration
INTERVAL: Plots just the Interval based escalations, and assumes the start time is ‘base’ and goes from there, recommend using short durations if using this option
-v Verbose, displays details of which escalation it’s working on a the moment
I’m using the opensource timeline simile project and requires access to the internet to grab the libraries from them. I sincerely would like feedback on the
program….the coding is sloppy but effective. One example of the sloppy….when determining which type of escalation, I do a cast in a try block, if the cast fails, I know it’s the other kind…VERY sloppy but effective for the most part. Let me know folks.
Download the code here
———————-
Leave a message to the author of the code - lj.head@gmail.com

Remedy Restore Tool Version 1.0

March 24th, 2010

For all the folks who are looking for a smooth transition from moving your AR Database from one server to another, or for some who wants to take dump from production and place it in development or even for some who just want to change the name on the AR server, here is the little tool developed by Carl Wilson

What it does?

It simply updates the server name in all the places that are needed.

Here is the detailed explanation:

This tool will update the forms and server settings with the server name entered. This can be used when restoring a Production DB to another environment, such as Pre-Production, where the server information needs to be updated to correctly reflect the current system.
The Tool performs the following

> Stops the Email Engine Service in Windows
> Disables Email Boxes in Remedy form “AR System Email Configuration”
> Updates the following Server Information:
- Default Web Path
- Server Name
- Server Alias
> Updates Report form entries with new Server Name
> Updates HelpFile URL pointers in “SHARE:Application_Properties” form
> Updates SRM settings, if SRM installed, to point to correct web path
> Updates Server Group information.
- Server Group Name
- Server Group Member
- Disable Admin Functions, where selected

This uses the .NET ARAPI7.1 and requires a minimum of V2.x of the Microsoft .NET framework to be installed.
This can be run remotely to the machine if the server name can be reached over a network, although the Email Service may not be stopped due to privileges.

Just unzip the files to a folder and run the application. Enter in the Required information and hit “Proceed”

Download it!!!

If you like the tool or faced any issues with it, please do report to Carl.