#68888 - 2002-08-07 11:54 PM
Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Problem: Have you tried to explain to a user how to do an ALT+Print Scrn and then paste the results to an e-mail or document?
History: On a number of occasions a user is on VPN for example, and they cannot get to a resource. One of the things that has been asked it to do a tracert to the site and e-mail the results to them.
Idea: Create a diagnostic tool for the end-users to send you results.
Solution: Using the following tools/components, this can make this proecess pretty painless on you as the Admin and the User you are asking to do this. TRACE.KIX is:
code:
BREAK ON CLS ; -- Trace Diagnostic Tool ; -- Version .8 ; -- Kent Dyer ; -- 8 August 2002 $mailhost = "server.domain.com" ; -- fill in with your smtp server $adminrecpt = "recipient@@domain.com" ; -- add in your e-mail address :processor ?"Type in the name of the server - e.g. www.microsoft.com or 207.46.230.220" ?"" ?"When ready, press the <ENTER> Key to continue" ?"" ?"->" GETS $server
IF $server <> "" ? "Processing..." SHELL "%ComSpec% /c tracert $server > byname.txt" SHELL 'blat byname.txt -to $adminrecpt -server $mailhost -subject "Test Results 1" -f "testroute" -q' DEL byname.txt ELSE CLS ?"Sorry.. No information was entered, please try again" ?"" ?"If you need to exit, press <CTRL>+<C> to leave" ?"" ?"---" GOTO processor ENDIF
The TRACE.SED (Self Extracting Directive) File is as follows:
code:
[Version] Class=IEXPRESS SEDVersion=3 [Options] PackagePurpose=InstallApp ShowInstallProgramWindow=0 HideExtractAnimation=0 UseLongFileName=0 InsideCompressed=0 CAB_FixedSize=0 CAB_ResvCodeSigning=0 RebootMode=N InstallPrompt=%InstallPrompt% DisplayLicense=%DisplayLicense% FinishMessage=%FinishMessage% TargetName=%TargetName% FriendlyName=%FriendlyName% AppLaunched=%AppLaunched% PostInstallCmd=%PostInstallCmd% AdminQuietInstCmd=%AdminQuietInstCmd% UserQuietInstCmd=%UserQuietInstCmd% SourceFiles=SourceFiles [Strings] InstallPrompt= DisplayLicense= FinishMessage= TargetName=C:\!Kix\packager\Trace.exe FriendlyName=Trace AppLaunched=KIX32.EXE trace.kix PostInstallCmd=<None> AdminQuietInstCmd= UserQuietInstCmd= FILE0="trace.kix" FILE1="KIX32.EXE" FILE2="blat.exe" [SourceFiles] SourceFiles0=C:\!Kix\packager\ [SourceFiles0] %FILE0%= %FILE1%= %FILE2%=
The way we have implemented this is to create an individual package for each of us on our team and we can get the results sent to either yourself or another teammate. I am sure there are many other ways that this could be used, but this should be a good start.
Have fun!
Kent [ 09. August 2002, 07:02: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#68889 - 2002-08-09 05:45 PM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Nobody else has created or has found the need for diagnostic tools like this?
Oh well..
Kent
|
|
Top
|
|
|
|
#68891 - 2002-08-09 07:40 PM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
What do you use for a Command-line e-mailer?
Thanks,
Kent
|
|
Top
|
|
|
|
#68892 - 2002-08-11 06:24 AM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
|
|
Top
|
|
|
|
#68894 - 2002-08-13 12:44 AM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Sendmail? Isn't that still an external executable? Maybe CDO, I could see it.
Kent
|
|
Top
|
|
|
|
#68895 - 2002-08-14 09:44 PM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Lonkero,
** BUMP **
Sendmail is also a *NIX util too..
Kent [ 14. August 2002, 21:45: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#68896 - 2002-08-16 02:09 PM
Re: Diagnostic Tool - Do a tracert and e-mail results back to you
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Lonkero...
I am still curious about SENDMAIL. I know it is out there for UNIX and there is a port-over for NT. It looks like a mail server or distribution service. But, what I was wondering was from a client perspective, how are you initiating SMTP mails?
I did go to: http://www.sendmail.com http://www.sendmail.org
Looks like there is greater *NIX Support than NT.
Kent
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(StuTheCoder)
and 798 anonymous users online.
|
|
|