[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Event retrieve on selected dae and time (Pinging Rob)

Posted on 2007-10-11
12
Medium Priority
?
281 Views
Last Modified: 2010-04-16
Hi,

Extend this script.
http://www.experts-exchange.com/Programming/Languages/Scripting/Q_22778877.html

Rob just was woundering if the same can be done on a HTA file with machine name box.Date and time selectors...

Regards
Sharath
0
Comment
Question by:bsharath
  • 7
  • 5
12 Comments
 
LVL 65

Expert Comment

by:RobSampson
ID: 20083031
Sharath, I have a HTA that I use for this that gets events on speicific *days*, but not times.  I would be too time consuming to add in the ability to specify times....it defaults from midnight of one day, to midnight of the the next selected day.

Would that do?

Regards,

Rob.
0
 
LVL 11

Author Comment

by:bsharath
ID: 20083044
That would be great Rob... Time is not so important....
0
 
LVL 11

Author Comment

by:bsharath
ID: 20106572
Any Help Rob....
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 65

Expert Comment

by:RobSampson
ID: 20106958
Sharath, please see the file at:
https://filedb.experts-exchange.com/incoming/ee-stuff/5081-EventGetter.zip

Use this file to obtain events on specific days from the event log of remote servers.  It only reports Errors and Warnings.  Change the list of servers via the strServers string within the script.

Regards,

Rob.
0
 
LVL 11

Author Comment

by:bsharath
ID: 20107013
Rob when i click on the server and the application log. i get this...

The event reporter process could not open the System log. Please contact Adiscon support.
Additional help might be available at http://www.adiscon.com/EventHelp.asp
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 20107033
Are you running a Non-Windows event logging program?  That's weird....try it on a server you know you have Admin rights over, and that it has a normal Windows event log....

Regards,

Rob.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 20107038
No wait.....that *is* an error message......so that should be the way this program works...

It lists the errors from the event log....

Regards,

Rob.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 20107040
0
 
LVL 11

Author Comment

by:bsharath
ID: 20107068
I am running the Hta file from a Domain admin logged in machine...
I have tried with the local machine and it works fine On a remote machine i get the message as mentioned.
I can see that it shows there are 2000 current records but below in the box i get this message.

The event reporter process could not open the Application log. Please contact Adiscon support.
Additional help might be available at http://www.adiscon.com/EventHelp.asp
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 20107079
Yeah, that's in the great big text box right?  If you look in the Event Viewer of *that* computer, that *is* the error for that event.

This application displays the Events from the remote computer's event log.....isn't that what you wanted?

Regards,

Rob.
0
 
LVL 11

Author Comment

by:bsharath
ID: 20107100
Rob the event count shows its 6000 events and every even shows this...

Event Properties:

Log Type:    Application  

 
Date:    10/18/2007  Source:    Adiscon EvntSLog  
Time:    12:22:29 PM  Category:    None  
Type:    Error  Event ID:    1003  
User:      
Computer:    dev-chen-mrd100  
Description:  
The event reporter process could not open the System log. Please contact Adiscon support.
Additional help might be available at http://www.adiscon.com/EventHelp.asp
 
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 2000 total points
ID: 20107122
That would mean there's lots of those errors in the event log on that server.

Another way to do exactly what this script does is click Start --> Run, type
eventvwr
and click OK.
Right-click on Event Viewer (Local), and click Connect to another computer....
enter the server name, and click OK.

Then click the Application log, and you'll see exactly those errors......is this what you wanted?  It's just an easier way of viewing errors remotely....

Regards,

Rob.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question