Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - I need your help.

Reply
 
Old 01-08-2009   #1 (permalink)
Harry


 
 

I need your help.

Hi,

I need your help.
I need to create a script that I monitor the ping servers, and I think a log
file that includes a day (day , time UP or DOWN) and when I leave this DOWN
popup or send me an email.
Is it possible?

Sorry for the inconvenience.


My System SpecsSystem Spec
Old 01-08-2009   #2 (permalink)
Evertjan.


 
 

Re: I need your help.

Harry wrote on 08 jan 2009 in microsoft.public.scripting.vbscript:
Quote:

> I need your help.
> I need to create a script that I monitor the ping servers, and I think
Would you monitor the ping servers, or would the script do that?
Quote:

> a log file that includes a day (day , time UP or DOWN) and when I
> leave this DOWN popup or send me an email.
> Is it possible?
Yes, it is possible that you need our help,
and it is possible that you need to create a script.

But you can think a log file and leave that down popup,
I can not imagine.
Quote:

> Sorry for the inconvenience.
It is no inconvenience.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
My System SpecsSystem Spec
Old 01-08-2009   #3 (permalink)
Al Dunbar


 
 

Re: I need your help.


"Evertjan." <exjxw.hannivoort@xxxxxx> wrote in message
news:Xns9B8DDF717EC96eejj99@xxxxxx
Quote:

> Harry wrote on 08 jan 2009 in microsoft.public.scripting.vbscript:
>
Quote:

>> I need your help.
>> I need to create a script that I monitor the ping servers, and I think
>
> Would you monitor the ping servers, or would the script do that?
>
Quote:

>> a log file that includes a day (day , time UP or DOWN) and when I
>> leave this DOWN popup or send me an email.
>> Is it possible?
>
> Yes, it is possible that you need our help,
> and it is possible that you need to create a script.
>
> But you can think a log file and leave that down popup,
> I can not imagine.
>
Quote:

>> Sorry for the inconvenience.
>
> It is no inconvenience.
What Evertjan is trying to say is that you need to be a bit more specific as
to precisely what it is that you want this script to accomplish. Giving a
useful answer to your post as written would be as difficult for us as it
would be for you to answer this question for me: "what is the best way for
me to get downtown from here".

To help you out, consider the following questions:

- you want to monitor servers, but it is not clear what is to be monitored.
Do you just want to know if the are running; is there a specific service
that needs to be running; are you concerned with available disk space
running low; etc.?

- do you want to run the script manually on a computer you are logged into
(where the popup might make sense), or do you want to monitor continually
from an available server (where email notification might make sense)?

- do you want the script to record when the computer starts up and when it
shuts down, or do you want it to generate records on a given interval giving
the time and up/down status?

- when you want the log file to "include a day", do you want the weekday
name to appear in the log file records, or in hte log file name?


/Al


My System SpecsSystem Spec
Old 01-09-2009   #4 (permalink)
Harry


 
 

Re: I need your help.

Ok, I read your questions and I explained.

I need a script to do:

1 -. Ping monitor multiple servers.
2 .- To be recorded in a log with the data:
172.16.3.1: UP, time = 1ms, TTL = 254, 09/01/2009, 14:00:00
OR
172.16.3.1: DOWN

3.- If is DOWN that you send email to intervene and if possible, a popup to
jump, too.

4 .- The log file that has a name: IP_% date%. Log

Could it be?

Thanks.

"Al Dunbar" <alandrub@xxxxxx> wrote in message
news:usVzrQfcJHA.6036@xxxxxx
Quote:

>
> "Evertjan." <exjxw.hannivoort@xxxxxx> wrote in message
> news:Xns9B8DDF717EC96eejj99@xxxxxx
Quote:

>> Harry wrote on 08 jan 2009 in microsoft.public.scripting.vbscript:
>>
Quote:

>>> I need your help.
>>> I need to create a script that I monitor the ping servers, and I think
>>
>> Would you monitor the ping servers, or would the script do that?
>>
Quote:

>>> a log file that includes a day (day , time UP or DOWN) and when I
>>> leave this DOWN popup or send me an email.
>>> Is it possible?
>>
>> Yes, it is possible that you need our help,
>> and it is possible that you need to create a script.
>>
>> But you can think a log file and leave that down popup,
>> I can not imagine.
>>
Quote:

>>> Sorry for the inconvenience.
>>
>> It is no inconvenience.
>
> What Evertjan is trying to say is that you need to be a bit more specific
> as to precisely what it is that you want this script to accomplish. Giving
> a useful answer to your post as written would be as difficult for us as it
> would be for you to answer this question for me: "what is the best way for
> me to get downtown from here".
>
> To help you out, consider the following questions:
>
> - you want to monitor servers, but it is not clear what is to be
> monitored. Do you just want to know if the are running; is there a
> specific service that needs to be running; are you concerned with
> available disk space running low; etc.?
>
> - do you want to run the script manually on a computer you are logged into
> (where the popup might make sense), or do you want to monitor continually
> from an available server (where email notification might make sense)?
>
> - do you want the script to record when the computer starts up and when it
> shuts down, or do you want it to generate records on a given interval
> giving the time and up/down status?
>
> - when you want the log file to "include a day", do you want the weekday
> name to appear in the log file records, or in hte log file name?
>
>
> /Al
>
>
My System SpecsSystem Spec
Old 01-09-2009   #5 (permalink)
Al Dunbar


 
 

Re: I need your help.


"Harry" <Harry@xxxxxx> wrote in message
news:utjYcllcJHA.4124@xxxxxx
Quote:

> Ok, I read your questions and I explained.
>
> I need a script to do:
>
> 1 -. Ping monitor multiple servers.
> 2 .- To be recorded in a log with the data:
> 172.16.3.1: UP, time = 1ms, TTL = 254, 09/01/2009, 14:00:00
> OR
> 172.16.3.1: DOWN
>
> 3.- If is DOWN that you send email to intervene and if possible, a popup
> to jump, too.
>
> 4 .- The log file that has a name: IP_% date%. Log
>
> Could it be?
Yes, and you have done a much better job of defining what you want.

Unfortunately I have not the time right now and will be away for a few days.
maybe someone else will jump in...

/Al
Quote:

> Thanks.
>
> "Al Dunbar" <alandrub@xxxxxx> wrote in message
> news:usVzrQfcJHA.6036@xxxxxx
Quote:

>>
>> "Evertjan." <exjxw.hannivoort@xxxxxx> wrote in message
>> news:Xns9B8DDF717EC96eejj99@xxxxxx
Quote:

>>> Harry wrote on 08 jan 2009 in microsoft.public.scripting.vbscript:
>>>
>>>> I need your help.
>>>> I need to create a script that I monitor the ping servers, and I think
>>>
>>> Would you monitor the ping servers, or would the script do that?
>>>
>>>> a log file that includes a day (day , time UP or DOWN) and when I
>>>> leave this DOWN popup or send me an email.
>>>> Is it possible?
>>>
>>> Yes, it is possible that you need our help,
>>> and it is possible that you need to create a script.
>>>
>>> But you can think a log file and leave that down popup,
>>> I can not imagine.
>>>
>>>> Sorry for the inconvenience.
>>>
>>> It is no inconvenience.
>>
>> What Evertjan is trying to say is that you need to be a bit more specific
>> as to precisely what it is that you want this script to accomplish.
>> Giving a useful answer to your post as written would be as difficult for
>> us as it would be for you to answer this question for me: "what is the
>> best way for me to get downtown from here".
>>
>> To help you out, consider the following questions:
>>
>> - you want to monitor servers, but it is not clear what is to be
>> monitored. Do you just want to know if the are running; is there a
>> specific service that needs to be running; are you concerned with
>> available disk space running low; etc.?
>>
>> - do you want to run the script manually on a computer you are logged
>> into (where the popup might make sense), or do you want to monitor
>> continually from an available server (where email notification might make
>> sense)?
>>
>> - do you want the script to record when the computer starts up and when
>> it shuts down, or do you want it to generate records on a given interval
>> giving the time and up/down status?
>>
>> - when you want the log file to "include a day", do you want the weekday
>> name to appear in the log file records, or in hte log file name?
>>
>>
>> /Al
>>
>>
>

My System SpecsSystem Spec
Old 01-09-2009   #6 (permalink)
Harry


 
 

Re: I need your help.

wait a companion who can help me. Thank you

"Al Dunbar" <alandrub@xxxxxx> wrote in message
news:uRb71qlcJHA.6036@xxxxxx
Quote:

>
> "Harry" <Harry@xxxxxx> wrote in message
> news:utjYcllcJHA.4124@xxxxxx
Quote:

>> Ok, I read your questions and I explained.
>>
>> I need a script to do:
>>
>> 1 -. Ping monitor multiple servers.
>> 2 .- To be recorded in a log with the data:
>> 172.16.3.1: UP, time = 1ms, TTL = 254, 09/01/2009, 14:00:00
>> OR
>> 172.16.3.1: DOWN
>>
>> 3.- If is DOWN that you send email to intervene and if possible, a popup
>> to jump, too.
>>
>> 4 .- The log file that has a name: IP_% date%. Log
>>
>> Could it be?
>
> Yes, and you have done a much better job of defining what you want.
>
> Unfortunately I have not the time right now and will be away for a few
> days. maybe someone else will jump in...
>
> /Al
>
Quote:

>> Thanks.
>>
>> "Al Dunbar" <alandrub@xxxxxx> wrote in message
>> news:usVzrQfcJHA.6036@xxxxxx
Quote:

>>>
>>> "Evertjan." <exjxw.hannivoort@xxxxxx> wrote in message
>>> news:Xns9B8DDF717EC96eejj99@xxxxxx
>>>> Harry wrote on 08 jan 2009 in microsoft.public.scripting.vbscript:
>>>>
>>>>> I need your help.
>>>>> I need to create a script that I monitor the ping servers, and I think
>>>>
>>>> Would you monitor the ping servers, or would the script do that?
>>>>
>>>>> a log file that includes a day (day , time UP or DOWN) and when I
>>>>> leave this DOWN popup or send me an email.
>>>>> Is it possible?
>>>>
>>>> Yes, it is possible that you need our help,
>>>> and it is possible that you need to create a script.
>>>>
>>>> But you can think a log file and leave that down popup,
>>>> I can not imagine.
>>>>
>>>>> Sorry for the inconvenience.
>>>>
>>>> It is no inconvenience.
>>>
>>> What Evertjan is trying to say is that you need to be a bit more
>>> specific as to precisely what it is that you want this script to
>>> accomplish. Giving a useful answer to your post as written would be as
>>> difficult for us as it would be for you to answer this question for me:
>>> "what is the best way for me to get downtown from here".
>>>
>>> To help you out, consider the following questions:
>>>
>>> - you want to monitor servers, but it is not clear what is to be
>>> monitored. Do you just want to know if the are running; is there a
>>> specific service that needs to be running; are you concerned with
>>> available disk space running low; etc.?
>>>
>>> - do you want to run the script manually on a computer you are logged
>>> into (where the popup might make sense), or do you want to monitor
>>> continually from an available server (where email notification might
>>> make sense)?
>>>
>>> - do you want the script to record when the computer starts up and when
>>> it shuts down, or do you want it to generate records on a given interval
>>> giving the time and up/down status?
>>>
>>> - when you want the log file to "include a day", do you want the weekday
>>> name to appear in the log file records, or in hte log file name?
>>>
>>>
>>> /Al
>>>
>>>
>>
>
>
My System SpecsSystem Spec
Old 02-03-2009   #7 (permalink)
Python42


 
 

Re: I need your help.

The attached files might be of some help. Mail.zip contains mail.vbs which
is a function that uses an object provided by Microsoft Outlook to send an
email message. This can be modified to use another sender (jmail for
example) if you do not have MS Outlook.

IP.zip contains ip.vbs which I wrote (uses free kixForms from
http://www.kixforms.org/assets/index.htm) to monitor my internet connection
(my provider had line problems and I wrote this to track errors).

I don't know your level of expertise so I don't know how much detail to
provide. Please contact me directly at rjdegraff@xxxxxx if you need more
detail or help.






My System SpecsSystem Spec
Old 02-04-2009   #8 (permalink)
Python42


 
 

Re: I need your help.

The attached files might be of some help. Mail.zip contains mail.vbs which
is a function that uses an object provided by Microsoft Outlook to send an
email message. This can be modified to use another sender (jmail for
example) if you do not have MS Outlook.

IP.zip contains ip.vbs which I wrote (uses free kixForms from
http://www.kixforms.org/assets/index.htm) to monitor my internet connection
(my provider had line problems and I wrote this to track errors).

I don't know your level of expertise so I don't know how much detail to
provide. Please contact me directly at rjdegraff@xxxxxx if you need more
detail or help.







My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46