Server Email notifications

Wong

Well-Known Member
Joined
Feb 4, 2009
Messages
278
Reaction score
0
Im looking for software that would email me when the server reboots / shuts down / or power failure , nothing fancy something nice and simple will do :D
 
Do you have an UPS connected to the server?

Asking said utility to send out power failure notification (if there's no UPS connected) ...
 
What server OS are your running ? Linux / Mac OSX / Windows / FreBSD ????
 
Well you could try this, I used to do it until i got room alert device.

download bmail and robocopy (AKA Robust copy)

create a new folder in C: called C:\ping in that create a folder called C:\ping\pool
create a new .bat file and call it start.bat ( C:\ping\start.bat )

then copy bmail.exe and robustcopy.exe into C:\ping or C:\windows

then paste the below into that file, update the IP's to the servers you wish to ping, and also add a from Email address and the address where you want the ping fail to go.

Put it in your task scheduler and set the schedule to repeat its self.

(If a server shuts down and it cant ping it IT WILL FLOOD YOUR MAILBOX :D)


Code:
CD C:\ping

echo 'Ping SQL Server
ping 10.0.0.1>C:\Ping\10.0.0.1.txt
robocopy C:\ping\ C:\ping\pool\ /MAX:290
bmail -s smtp.gmail.com -t [email protected] -f [email protected] -h -a "Ping Fail" -m C:\ping\pool\10.0.0.1.txt
del C:\ping\pool\10.0.0.1.txt /q

echo 'Ping Exchange Server
ping 10.0.0.2>C:\Ping\10.0.0.2.txt
robocopy C:\ping\ C:\ping\pool\ /MAX:290
bmail -s smtp.gmail.com -t [email protected] -f [email protected] -h -a "Ping Fail" -m C:\ping\pool\10.0.0.2.txt
del C:\ping\pool\10.0.0.2.txt /q

pause


echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
echo This is to make the file bigger dont delete!
 
Last edited:
@SBSP thanks for the script , I wouldn't mind paying for software as well :D ( no Mailbox spam ) h3h3

@The_Librarian , Will have a look at our UPS to see if it has such a utility thanks :D
 
Hi There,
I would prefer the UPS route and many of them do have the capability to cater for the poser outage. They generally don't though detect that a PC has re-booted. SBSP has a good solution for you which would work with multiple servers.
You may also want to conseder a product like event sentry which monitors a lot more than just restarts. You can see details here

Regards

Tim
 
Yo can also try "The Dude" from www.mikrotik.com
A free monitoring/logging utility that can monitor about any piece of equipment on the network, and you have plenty notification options, ie mail notification when something goes down etc...
 
Top
Sign up to the MyBroadband newsletter
X