• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Need alarm type app

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,887 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
I need a program that you can add programs too. in my case.

httpd.exe
mysqld.exe

etc
etc

and when the program closes i need an alarm to go off until it starts back up or I tell it to stop. Iv searched and SEARCHED for a program like this but I havent found one yet. I cant believe it doesnt exist. this would be a really useful app.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Shouldn't those be ran as a service? You can make Windows endlessly restart services.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,887 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
Shouldn't those be ran as a service? You can make Windows endlessly restart services.

they are. but the .exe still shows and depending on what im doing apache stalls when starting backup and i dont notice (aka it isnt running) but do to the fact it is a server id rather not reboot it like every 7 days etc. Its just easier for me to hear an alarm. it doesnt happen often and usually when im doing something to it. but like i said. sometimes apache filezilla etc is stubborn and i dont notice its off. Since the server has no head (VNC only) and I dont check it often id like to know asap if something goes down.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Why do you need an alarm and just set Windows to restart them? It could even "run a program" which could be your alarm.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,887 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
Why do you need an alarm and just set Windows to restart them? It could even "run a program" which could be your alarm.

because when it stalls i need to manually reboot the PC in order for them to start again.

im assume you dont know of one since your giving me the 4th degree? I mean its not like I tell you how to manage your PCs or ask you why you like fords.
 
Joined
Mar 10, 2010
Messages
11,878 (2.30/day)
Location
Manchester uk
System Name RyzenGtEvo/ Asus strix scar II
Processor Amd R5 5900X/ Intel 8750H
Motherboard Crosshair hero8 impact/Asus
Cooling 360EK extreme rad+ 360$EK slim all push, cpu ek suprim Gpu full cover all EK
Memory Corsair Vengeance Rgb pro 3600cas14 16Gb in four sticks./16Gb/16GB
Video Card(s) Powercolour RX7900XT Reference/Rtx 2060
Storage Silicon power 2TB nvme/8Tb external/1Tb samsung Evo nvme 2Tb sata ssd/1Tb nvme
Display(s) Samsung UAE28"850R 4k freesync.dell shiter
Case Lianli 011 dynamic/strix scar2
Audio Device(s) Xfi creative 7.1 on board ,Yamaha dts av setup, corsair void pro headset
Power Supply corsair 1200Hxi/Asus stock
Mouse Roccat Kova/ Logitech G wireless
Keyboard Roccat Aimo 120
VR HMD Oculus rift
Software Win 10 Pro
Benchmark Scores 8726 vega 3dmark timespy/ laptop Timespy 6506
:)
Why do you need an alarm and just set Windows to restart them? It could even "run a program" which could be your alarm.

to be fair to him that would work if the program you set it to run on fail was just an annoying noise(or tune on repeat
), ive not tried it (actually) but it does look do able

im thinking metronome soft but havent found the thing yet
http://download.cnet.com/Weird-Metronome/3000-2133_4-10073673.html maybe

sod, i might use that for a jam at some point but no auto play tut sos
 
Last edited:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
because when it stalls i need to manually reboot the PC in order for them to start again.
There's a "restart the computer" option too...
-Take no action.
-Restart the service.
-Run a program.
-Restart the computer.

If you want to get real techincal, "run a program" and have it run shutdown.exe with the /r flag to restart.


There's no sense using 3rd party software when Windows has everything you need to handle it entirely autonomously. There's a reason why services exist and why the program you're searching for doesn't exist. XD


Yes, I could write you one that does what you ask but only if you exhaust the Windows Service feature set first. :p
 
Last edited:

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,887 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
There's a "restart the computer" option too...
-Take no action.
-Restart the service.
-Run a program.
-Restart the computer.

If you want to get real techincal, "run a program" and have it run shutdown.exe with the /r flag to restart.


There's no sense using 3rd party software when Windows has everything you need to handle it entirely autonomously. There's a reason why services exist and why the program you're searching for doesn't exist. XD


Yes, I could write you one that does what you ask but only if you exhaust the Windows Service feature set first. :p


please explain to me.

1. Were you missed that they were already installed as a service.
2. Were i specifically stated the pc needed to be rebooted.
3. How it never occured to you that i wouldnt want a website to go down so i could get a second rate service like filezilla running again.

having it automatically reboot whenever something going down is ALSO a terrible idea. like i ALSO stated. If i am doing something to it and take a program offline and go to do some reaserch i do not want to be greeted with a forced reboot envoked. that would really just upset me. i would rather wait to reboot/start a service at a time i see fit. I never asked you to make one. I was asking the forums if they knew of one. IDK if your trolling or just somehow think your that important. I know the pc can be rebooted im 10ft from the server at all times. im asking for this [program for a specific reason and if all you can contribute is how much I dont need it then i half half a mind to report you. now if you please.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.94/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
Apache 2 and MySQL? Would you happen to be using PHP in that mix to make a LAMP stack (but without the L)? When you run into an issue like this, it is much better to resolve the issue, not handle the symptoms of an issue instead (bandaids don't typically work). If that is the case, if I were you, I would run a virtual machine in something like VirtualBox and install Ubuntu Server and run a LAMP stack on that instead to keep you web serving (or development,) away from your Windows box.

If you use ubuntu this will get you started:
Code:
sudo aptitude update; #Update aptitude repo.
sudo aptitude install apache2 php5 php5-mysql mysql-server; # install php5, mysql, and apache (I might install openssh-server as well.)
sudo shutdown -r now; # Restart for good measure, shouldn't be necessary, but it doesn't hurt.

Seriously, those 3 lines (or two if you don't want to restart, it isn't needed) will setup a LAMP stack and will be 100% functional. Where is an "easy button" when you need it. :)

By default, Apache will point to /var/www as the web root. Also if you *really* want to check to see if Apache is running or not you could write a simple bash script with some grep action since
Code:
sudo /etc/init.d/apache2 status
will give you the status of apache, and you can do something similar with mysql.

It would look something like this:
Code:
jdoane@plum:~$ sudo /etc/init.d/apache2 status
Apache2 is running (pid 741).
...or this.
Code:
jdoane@plum:~$ sudo /etc/init.d/apache2 status
Apache2 is NOT running.
 
Last edited:

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,049 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
windows task scheduler
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
1. Were you missed that they were already installed as a service.
they are.


2. Were i specifically stated the pc needed to be rebooted.
because when it stalls i need to manually reboot the PC in order for them to start again.


3. How it never occured to you that i wouldnt want a website to go down so i could get a second rate service like filezilla running again.
You insisted as per #2. I would recommend restarting the service to restarting the computer. Windows can do both.


If i am doing something to it and take a program offline and go to do some reaserch i do not want to be greeted with a forced reboot envoked.
Those options only kick on in the event of failure. If the application terminates peacefully (exit code 0), it is not considered a failure so it does not take the action.


Run: services.msc
Find: The services controlling Apache and MySQL
Open: The details for the services.
Click on: Recovery tab.
Set: The options how you want them on the top half of that page for what to do on failure.
Dance: Dance!
 
Last edited:

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.94/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
You insisted as per #2. I would recommend restarting the service to restarting the computer. Windows can do both.



Those options only kick on in the event of failure. If the application terminates peacefully (exit code 0), it is not considered a failure so it does not take the action.


Run: services.msc
Find: The services controlling Apache and MySQL
Open: The details for the services.
Click on: Recovery tab.
Set: The options how you want them on the top half of that page for what to do on failure.
Dance: Dance!

The Windows Event Viewer should also have a record of a service failure if it is returning a non-zero exit status.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.20/day)
Location
Cheeseland (Wisconsin, USA)
Hey Sol. Sorry for being a little late to the party.

Do you need this to run on a Windows or 'Nix server?
Or do you want a Windows (workstation) app that monitors a Windows or 'Nix server on the network?
Do you want audible alarm(s) or is a visual notification sufficient?
If you pause or stop the alarm, do you want it to automatically restart itself after a set period in case you forget to restart the services?
Do you need an (optional) log file for a historical record of alarm events?
Any other requirements you can think of off the top of your head?

I'll be happy to code something for you if you haven't found something that does exactly what you want. :toast:


EDIT : I got bored of waiting to see if you needed something, and it sounded like a fun project, so it's about halfway done. :D
 
Last edited:

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,887 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
I didnt use anything. TPU wasnt the resource for what i needed.
 
Top