We help IT Professionals succeed at work.

Event retrieve on selected dae and time (Pinging Rob)

354 Views
Last Modified: 2010-04-16
Hi,

Extend this script.
https://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
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
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.

Author

Commented:
That would be great Rob... Time is not so important....

Author

Commented:
Any Help Rob....
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
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.

Author

Commented:
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
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
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.
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
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.
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:

Author

Commented:
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
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
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.

Author

Commented:
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
 
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.