Here's a brief example of a batch file, which will work as a "Program
Notification" with the extra command "%u" added.

The %u become's %1 to the batch file.... pick a service on a server that's
not needed, use that to page etc...

As you can see, not a lot of programming? each PC would share the same batch
file.

Richard

=================batch file=============
if %1 == UP goto up
if %1 == DOWN goto down
goto end

:up
:check for files, if 3 start a service
:remove files, one at a time
goto end

:down
:check for files, if 3 stop a service
:create up to 3 files, one at a time
goto end

:end
================end of batch================
-----Original Message-----
From: Jeff Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 March 2003 10:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Alert From Multiple Down Devices.


That way would work, but that is a lot of programming.  The hard part is
creating the email & pager sender in the batch file.  That is why I picked
WUG was to do the alerting, not to do it from a batch file.  Unless WUG
would allow command line access to it's alerting feature.

Thank You

Jeff Cook
Network Administrator
Whatcom Educational Credit Union

-----Original Message-----
From: Glatt, Robert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 11:06 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Alert From Multiple Down Devices.


you can create a few simple batch files and use the program alert feature.
If a device goes down check if a file exists if not create down1
if down1 exists create down2
if down2 exists send alert
on an up condition you would have to erase the down? files so that you could
start all over

-----Original Message-----
From: Jeff Cook [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:08 PM
To: '[EMAIL PROTECTED]'
Subject: [WhatsUp Forum] Alert From Multiple Down Devices.


Sorry about the last post.

I maps of my branches.  These maps include all of the PCs.  I have alerts
setup for all of the network gear.  What I'm looking for is a way to alert
if three or more of the PCs are down.  I don't want an alert for each PC.
Staff reboot computers and other things happen.  

Does anyone have an idea how to do this?  Thank you for any help.

Jeff Cook
Network Administrator
Whatcom Educational Credit Union

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/



NOTICE: 
This e-mail and any attachments are privileged and confidential and 
may contain copyright material of Stellar Call Centres or third 
parties. If you are not an authorised recipient of this e-mail 
please delete this e-mail and any attachments and notify the sender 
immediately by return e-mail or by telephone on 02 9465 2222. 
In addition, if you are not an authorised recipient of this e-mail 
you should not use, store, print, copy, distribute, or act in reliance 
on this e-mail, any attachment to this e-mail, or any information 
contained in this e-mail or any attachment to this e-mail. 
If you are an authorised recipient of this e-mail please note that 
any views or opinions presented in this e-mail or any attachment to 
this e-mail are solely those of the individual sender, except where 
the sender specifically states them to be the views or opinions of 
the Stellar Call Centres. You should only re-transmit, distribute or 
commercialise the information contained in this e-mail and any 
attachments if you are authorised to do so. Stellar Call Centres 
respects your privacy. 
Our privacy policy can be viewed on our website:
www.stellarcallcentres.com.au

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to