I ran into a similar problem, We have some servers that we don't monitor
24x7 however I too wanted to know prior to Monday morning at 8:30 if a non
24X7 server was down. So what I did was to create an AT job that restarts
the whatsup gold service everyday at 6:00 AM. M-F and at 9:00 AM on the
weekends (Did not like those early morning pages on the weekend). This
solved our problem.
In your case you could have it restart at 6:16AM
Below is the AT job and the Batch file.
NOTE: The batch file needs SC.exe from the resource kit.
And it creates a log file in C:\TEMP adjust to your site.
1 Each M T W Th F 6:00 AM cmd /c "C:\Program
Files\WhatsUp\restart_wugsvc.bat"
2 Each S Su 9:00 AM cmd /c "C:\Program
Files\WhatsUp\restart_wugsvc.bat"
-------------------------
@echo off
REM Restart_wugsvc.bat
REM By Steve Winston
net stop wugsvc
:loop1
"c:\program files\whatsup\sc.exe" query wugsvc |findstr /i /c:"STOPPED"
if ERRORLEVEL 1 goto loop1
net start wugsvc
:loop2
"c:\program files\whatsup\sc.exe" query wugsvc |findstr /i /c:"RUNNING"
if ERRORLEVEL 1 goto loop2
for /f %%i in ('time /t') do set timex=%%i
for /f "tokens=*" %%i in ('date /t') do set datex=%%i
echo %datex%- %timex% >>c:\temp\Whatsup_restarted.txt
Steve W.
-----Original Message-----
From: Peter J Paul [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 8:37 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Alert Notifications
I am monitoring a server that gets re-booted every Sunday at 6:00 AM so I
have the Alerts set up to send them out 24hrs on Mon-Sat and not between
5:45 AM and 6:15 AM on Sunday. This works great.
The problem that I have is that the server went down at 6:01 AM but did not
come back up again for some reason and no one was aware of the problem until
Monday morning when they came into the office.
Is there some way that I can get WUG to send an alert at 6:16AM indicating
that the server is still down?
I don' t know of a way to tell WUG to monitor a device 24x6 and 23.5 hours
on Sunday, only via the alerts.
Thanks for any assistance.
******************* PLEASE NOTE *******************
This message, along with any attachments, may be confidential or legally
privileged. It is intended only for the named person(s), who is/are the
only authorized recipient(s). If this message has reached you in error,
kindly destroy it without review and notify the sender immediately. Thank
you for your help.
**********************************************************
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/