Programming

Event Viewer Filters Part 2

Event Viewer Filters Part 2

Still playing with the Event Viewer, I’ve written a bunch of custom filters that give a great insight into how Cognos is behaving, especially around monthly patching. I’ve saved these queries on my local machine and use them against all our servers by right-clicking on the event viewer root and ‘Connect to another computer’. Cognos Service This query shows activity of the ‘IBM Cognos’ service Server Restarts USER32 events appear to show all restarts against the server Windows Updates (Patches) This event shows me all Patches being applied to the server

read more

Cognos Services Manager

Cognos Services Manager

Here’s a batch file I’ve written over the past few years that automates the starting, stopping, testing and restarting of distributed Cognos services across three environments. This particular script has been anonymised, but is hopefully still in working order. It’s been in use for ~3 years on Windows 2008 R2 Server.

read more

TM1 Server Crash Notification via Event Viewer Scheduled Tasks

TM1 Server Crash Notification via Event Viewer Scheduled Tasks

I’ve just put together an XML query that filters the event viewer to just show TM1 application crashes. This can be used as a custom view in Event Viewer to see all TM1 application crashes, and it can be into a scheduled task to take other action, such as sending an email to interested developers, or maybe even restarting the service.

read more

Launch Internet Explorer as another AD user

Launch Internet Explorer as another AD user

Here is a script I wrote using a DOS batch file for testing Active Directory security of a web application. It will launch an Internet Explorer session as a selected AD user then open a selected page.

read more