Can you output the results of a ping test to a .txt file

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Glen
Posts: 16
Joined: Sun Feb 12, 2006 2:38 pm

Can you output the results of a ping test to a .txt file

Post by Glen »

As the title said. How do you do it?

Cheers

Glen
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may use text common or private log file
http://www.ks-soft.net/hostmon.eng/mfra ... gs.htm#log
Or you may use "Execute external program" action as well

Regards
Alex
sneader
Posts: 90
Joined: Thu Dec 22, 2005 3:32 pm

Post by sneader »

Hi Alex. Maybe Glen is wondering the same thing I am....

I have a device that has been going up/down. I want to send an e-mail to a co-worker, with the statistics of this ping test over the last few days.

When I open up "Log Analyzer", in the right window is a list of all the up/down info that I need. But for the life of me, cannot figure out how to get this data into an e-mail. If I select the text and right click, I was hoping their would be a "copy" available, and then I could "paste" it into an e-mail. Or maybe an "export" option, that would allow me to export that data into a .txt file. But these don't seem to exist.

There is a "copy image to clipboard" but that is just the graph of the data.

I have not read the manual on this yet... and I'm a noobie with Log Analyzer... but saw this post while I was looking for info and thought I'd chime in. I'll keep looking...

Thanks!

- Scott
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Believe me - you don't need Log Analyzer for this task. Just use private text log file

Regards
Alex
sneader
Posts: 90
Joined: Thu Dec 22, 2005 3:32 pm

Post by sneader »

Hi Alex. I will read up on private logs. My current understanding is that I would need to set up private logs for all 800 of my tests, which seems like a lot of work. And it won't help me with my current task, since I didn't have private logs running for the last few weeks.

But I have not studied the concept yet. :)

Thanks!

- Scott
sneader
Posts: 90
Joined: Thu Dec 22, 2005 3:32 pm

Figured it out.

Post by sneader »

Ah... even though I can't right click and choose "copy", I can simply do a "control-C" and it copies all the data, and it is easily pasted into an e-mail... exactly what I needed.

Now I have a list like this:

Test: XXXXX
Method: ping (timeout - 4000 ms)

15/01/2007 3:22:21 PM No answer
15/01/2007 3:23:06 PM Host is alive 15 ms
15/01/2007 3:24:53 PM No answer
15/01/2007 3:27:42 PM Host is alive 890 ms
15/01/2007 3:47:03 PM No answer
15/01/2007 3:47:23 PM Host is alive 15 ms
15/01/2007 3:49:25 PM No answer
15/01/2007 3:53:05 PM Host is alive 16 ms
16/01/2007 1:28:20 AM No answer
16/01/2007 1:42:40 AM Host is alive 31 ms
16/01/2007 2:11:21 AM Wait for Master
16/01/2007 2:19:46 AM Host is alive 15 ms
16/01/2007 6:54:21 AM No answer
(snip)

Anyway, my problem is solved. Maybe feature request would be to add the term "copy" to the right click menu in Log Analyzer, in addition to the existing right click menu (Full screen chart, Copy image to Clipboard, Print, Find, Search). Or not. :)

Thanks,

- Scott
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

My current understanding is that I would need to set up private logs for all 800 of my tests, which seems like a lot of work
800? H'm, earlier you said "I have a device that has been going up/down", so I assumed you need this option for single test.

Log Analyzer may generate report and create separate log file (HTML) for each test item. You just need to use %DetailedLogFile% variable in report template

Regards
Alex
sneader
Posts: 90
Joined: Thu Dec 22, 2005 3:32 pm

Post by sneader »

Hi Alex. Sorry for the confusion earlier. Yes, I said I have ONE device going up and down, but if a private log is the option for viewing historical data in text format, then I would have had to be running Private Logs for all 800 devices (or be able to see the future to know which devices are going to be problematic, then enable Private logs for just those devices).

But this basic "cut and paste" method in Log Analyzer is absolutely PERFECT for my needs and I'm glad that this option is available via control-C, even if "copy" isn't mentioned in the right-click menu. Thanks for that.

Also, thanks for the info about generating a custom report. This is also a great idea, and I will give this a try.

As always, thanks for the great product and support !! We just purchased a lifetime enterprise license, we love it so much!

- Scott
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply