Solved

Service monitoring

Posted on 2008-06-25
1
183 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
Comment Utility
>>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

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now