Solved

Service monitoring

Posted on 2008-06-25
1
185 Views
Last Modified: 2013-11-29
Hi i am working on a tool that has some predefined service-monitoring services. If i want to write my own services, how can i decide what services to add to the existing ones and how should i write to validate the tool?Some of the services already given are:Event log, HTTP Client, DNS client and so on.Please clarify as how can i write my own services using C++.
0
Comment
Question by:rishab2905
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 21875290
>>Please clarify as how can i write my own services using C++.

Take a look at http://www.codeproject.com/KB/system/serviceskeleton.aspx ("Beginner's introductory guide to writing, installing, starting, stopping NT service"), that should get you going.

As for controlling and monitoring services, see http://www.microsoft.com/msj/0298/service.aspx ("Manipulate Windows NT Services by Writing a Service Control Program")

Both articles come with full source code.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question