Follow Us

Monitoring the pulse of IT

Monitoring Windows Services using Opsview V4



Opsview V4 can be used to monitor any service that is installed on an already configured Windows host. By service, we mean anything listed in the MMC of “services.msc”. Opsview can monitor the status, and confirm whether it is in the state it should be - i.e. started or not started.

In this example we will be using Microsoft Exchange 2010’s IMAP4 service and we will be monitoring to make sure that the service is started (running).

There are default service checks already in Opsview for Microsoft Exchange 2007 which can be enabled and added as "Monitors" under the Host configuration. It is noteworthy that some of the names of the Services have changed between Exchange versions, for example POP3 and IMAP4 services.

As the service name has changed for IMAP4 in Microsoft Exchange 2010, we will go and create a new service check and apply it to our host running MS Exchange 2010 as below:

1. Go to run and type "services.msc".

windows-services.png

2. Find the service you are looking for, i.e. "Microsoft Exchange IMAP4", and double click on it.

3. Within the new window, there will be a "Service Name", in this case it is "MSExchangeImap4". This is the service we will be monitoring.

MSExchangeImap4.png

4. Now, within Opsview, go to:

"SETTINGS > SERVICE CHECKS", and click the green 'plus' icon in the top right.

windows-service-checks.png

5. We will now create our Windows service check, to monitor the status of IMAP4 on our server. In the text boxes, populate the fields accordingly:

  • Name is the name of the service, i.e. " Microsoft Exchange IMAP service "
  • Service group is "Windows - Exchange Server 2010", for example.

6. Set the check intervals and re-check intervals applicably.

7. Make sure we set the plugin to "check_nrpe".

8. In the arguments section, change the section to

"-H $hostaddress$ -c nsc_check_servicestate -a "ShowAll MSExchangeImap4=started".

“Started” is underlined, as this is the STATE of the service we want the service to be. When the service is in this state, we will report green (i.e. good), when it is NOT in this state, we will report red (i.e. bad).

MSExchange-service-check.png

9. Press Submit, and the new service check to monitor IMAP4 on MS Exchange 2010 servers is now created.  Now all we need to do is apply this new check to our MS host which is running Exchange 2010. 

10. Go to "SETTINGS > HOSTS > HOST" (where HOST is the name of your Windows Server).

11. In the HOST, click on "Monitors", and then scroll down to our new group - in this case "Windows - Exchange Server 2010", and enable the new check we created "Microsoft Exchange IMAP service".

Press submit again, and the new service check is applied to our host.

MSExchange-Monitors.png

12. Now we just need to re-load the configuration; "SETTINGS -> APPLY CONFIGURATION".

apply-configuration.png

Enhanced by Zemanta

Email this to a friend

* indicates mandatory field





Techworld White Papers

Optimising data protection for virtual environments

VM environments require the same level of data protection as does the physical server environment. Companies may use data protection tools built for the physical environment in the virtual world, but this has serious disadvantages.

Download Whitepaper

PCI Compliance: Are UK businesses ready?

Exploring the results of a recent survey, including: ? Levels of understanding of the standard ? Current perceptions of actual compliance status ? Attitudes toward addressing compliance

Download Whitepaper

Mobility Management for Dummies

Your complete guide to managing and securing mobile devices such as laptops and smartphones.

Download Whitepaper

Magic Quadrant for midrange and high-end NAS solutions

It is difficult to find one midrange or high-end NAS product that can cater to all needs. File systems embedded in NAS are often designed to solve one major pain point, with additional features being added later to broaden use cases and benefits.

Download Whitepaper

Techworld UK - Technology - Business

Oracle Video

Enabling agile and intelligent businesses

 Changing markets, competitive pressures and evolving customer needs are placing increasing pressure on IT to deliver greater flexibility and speed. Explore truly flexible SOA foundations with this Oracle video.

Watch
COLT White Paper

IT Misuse Survey

Complete this survey and you could win a Nexus One

Techworld are running a short survey to discover how UK businesses are managing Internet and email misuse in the Enterprise.

Complete Survey

Complete our survey and you could win a Sony E-book Reader.
Techworld have teamed up with HP to compile a survey relating to server virtualisation. Complete the short survey and you could be the lucky winner of a Sony E-book reader.

Complete the survey here

Site Map

Test