Search found 40 matches

by alanimal
Thu Oct 18, 2012 12:31 am
Forum: Scripts and Tips
Topic: Event Log Monitor
Replies: 4
Views: 27544

ok, sorted now VBSTART strComputer = "ITSDEV" Function ReadEventLog(LogFile,Code) Set objWMIService = GetObject("winmgmts:"&"{impersonationLevel=impersonate}!\\"&strComputer&"\root\cimv2") Set colLoggedEvents = objWMIService.ExecQuery ("Select * from Win32_NTLogEvent Where Logfile = '" & LogFile & "...
by alanimal
Wed Oct 17, 2012 9:54 pm
Forum: Scripts and Tips
Topic: Event Log Monitor
Replies: 4
Views: 27544

Thanks Marcus, so, the code is Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") If I set this to (servername = ITSDEV) Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\&ITSDEV&\root\cimv2") I think my syntax is wrong perhaps? I get a...
by alanimal
Wed Oct 17, 2012 12:21 am
Forum: Scripts and Tips
Topic: Event Log Monitor
Replies: 4
Views: 27544

Multiple Server Support?

Excellent script thanks Marcus!! I am currently using it, and I was wanting to know if it is it possible to scan the windows event logs of other servers? Rather than having to install MS on all my servers - I prefer to have the one server doing all the monitoring. I have 5 servers on the same networ...
by alanimal
Sun Sep 30, 2012 10:19 pm
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

thanks JRL,

Just upgraded, hopefully this software can do what i need it to as thats the only reason I paid for the ug.

Anyone know how to screenshot the graph?
by alanimal
Wed Sep 26, 2012 12:28 am
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

I was thinking if I can have an HTML Page, which has say a 60second autorefresh, that would re-generate any new data written to the file into the graph being displayed. Date, Time, FileCount 19/09/2012,9:46:03 a.m., 32, 19/09/2012,9:54:03 a.m., 15, 19/09/2012,10:02:03 a.m., 28, 19/09/2012,10:10:03 a...
by alanimal
Tue Sep 25, 2012 11:21 pm
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

version 9 pro - just paid for 13 but it keeps saying "Your account is currently disabled. We may still be processing your order" when I am trying to download - been like this for a while now. I will try again in a few hours.

You got any ideas on how this can be shown as a graph on an HTML page?
by alanimal
Tue Sep 25, 2012 1:10 am
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

Thanks mate, Yes I do want to output the graph so i can publish on a site. I just tested your script - and when it gets to line AddDialogHandler>Dialog1,,OnClose,Quit I get an error "Invalid Numeric Date or Date format in "Add>Dialog1,,OnClose,Quit". Any ideas on that? I click OK and continue debugg...
by alanimal
Tue Sep 18, 2012 10:52 pm
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

Thanks JRL, I had a look at the samples and delivered a headache!!! So I have a file - webstat.txt inside it I have the following data: Date, Time, FileCount 19/09/2012,9:46:03 a.m., 32, 19/09/2012,9:54:03 a.m., 15, 19/09/2012,10:02:03 a.m., 28, 19/09/2012,10:10:03 a.m., 22, 19/09/2012,10:18:03 a.m....
by alanimal
Tue Sep 18, 2012 8:38 pm
Forum: Technical / Scripting
Topic: Creating a line graph from script created data
Replies: 14
Views: 16509

Creating a line graph from script created data

Hi Guys, I have a script that I run every x minutes that does three things: 1. Send an Alert if files received are not being processed 2. Send an Alert if no files received for x amount of time 3. Display statistical data onto a basic website ( http://www.itslonline.com/DropStats.html ) I have it al...
by alanimal
Mon Feb 28, 2011 1:01 am
Forum: General Discussion
Topic: Remote Desktop Session Conflict?
Replies: 2
Views: 10362

I have had this problem too.

Is there a way to make it so that MS only runs in one session? Otherwise if I have 3 people log onto the server, 3 instances would be running!
by alanimal
Wed Dec 09, 2009 3:24 am
Forum: Technical / Scripting
Topic: adding lines to a file
Replies: 6
Views: 7895

cheers mate. Snow storm eh? ouch - will you be out there once its cleared with your skis?
by alanimal
Wed Dec 09, 2009 1:29 am
Forum: Technical / Scripting
Topic: adding lines to a file
Replies: 6
Views: 7895

agh sorted - should be

WriteLn>filename,wres,%Dialog1.msedit1%%comma%%Dialog1.msedit2%%comma%0%comma%0%comma%NO DATA%comma%NO DATA
by alanimal
Wed Dec 09, 2009 1:27 am
Forum: Technical / Scripting
Topic: adding lines to a file
Replies: 6
Views: 7895

thanks mate - exactly what I am after - problem is that as you can see the below 2 lines are not writing the name correctly - I cant see an error so not sure whats happening - any ideas? 13970,Raeoni Jackson,0,0,NO DATA,NO DATA, 32331,%Dialog2.msedit1%,0,0,NO DATA,NO DATA 34234,%Dialog2.msedit1%,0,0...
by alanimal
Tue Dec 08, 2009 7:43 pm
Forum: Technical / Scripting
Topic: adding lines to a file
Replies: 6
Views: 7895

adding lines to a file

Hi all, I have a file which staff will open in notepad, then add their own line and save. The problem is - they tend to stuff things up. The format of the file is below - it has a header followed by the data. It is a csv but uses a .sb extension. BASE,100,DRIVERS,100,6,29/08/2002 9:04,29/08/2002 9:0...
by alanimal
Mon Nov 02, 2009 3:37 am
Forum: Technical / Scripting
Topic: Backup - ZIP - Then email
Replies: 15
Views: 15037

ok - workaround - moved all the .jou files to another directory then ran through the zip process. A little bit hory all works now thanks. 8)
Sign up to our newsletter for free automation tips, tricks & discounts