Server Management - Systems Insight Manager
1847471 Members
2377 Online
110265 Solutions
New Discussion

I want to Cause a Service to crash

 
SOLVED
Go to solution
Alastair Baldwin
Occasional Advisor

I want to Cause a Service to crash

Hi,

I am trying to test my SMS notices on my server, I want to cause a non critical service to crash on a Windows 2000 Server.

If I stop the service from The Service MMC it does not send a notice. I have downloaded a program called End it All, but that performs a shut down of the service and does not crash the service.

Does anyone know how to cause the service to crash, therefore sending me a SMS message?

Or if anyone has any other ways of doing this please let me know.

Kind Regards
Alastair Baldwin
5 REPLIES 5
So Def
Frequent Advisor

Re: I want to Cause a Service to crash

I usual test with critical services by unplugging one of my redundant power supplies. This generates a critical event and that triggers an SMS for the events I have set up.

Alastair Baldwin
Occasional Advisor

Re: I want to Cause a Service to crash

Thanks,

I'm trying to test the Window services that are not controlled by HP SIM.

Something like VNC, I have set up an alart that will tell me when this service crashes and I just want to test it, but I can not make the service crash.

Do you know how to make this service crash.
So Def
Frequent Advisor

Re: I want to Cause a Service to crash

What kind of alert have you setup? If the service is not available/stopped I guess it should trigger an alert as well.
Alastair Baldwin
Occasional Advisor

Re: I want to Cause a Service to crash

It runs a batch file that sends a SMTP email.

It does not send the message if it is stopped correctly, only if it crashes.
So Def
Frequent Advisor
Solution

Re: I want to Cause a Service to crash

Instead of stopping the services yo could try to kill the process with the taskmanager. especially if you repeat killing the task twice within a couple of seconds it comes up with the end now task dialog. It's not a proper service stop but don't know if it is classed as a crash.