monitoring windows services with opsview

14

Upload: opsview

Post on 18-Nov-2014

1.189 views

Category:

Technology


3 download

DESCRIPTION

Opsview can be used to monitor any service that is installed on an already configured Windows host. This presentation shows you how.

TRANSCRIPT

Page 1: Monitoring Windows Services with Opsview
Page 2: Monitoring Windows Services with Opsview

Saturday 8 April 2023 © Opsview Ltd. Commercial in Confidence 2

Monitoring Windows Services using Opsview

Page 3: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence3

IntroductionThis presentation takes you through the steps required to monitor Windows Services using Opsview.

If you don’t already have Opsview installed, visit our website and download Opsview Core (free), Opsview Pro (30 day trial) or request a trial to Opsview Enterprise.

Saturday 8 April 2023

Page 4: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence4

Introduction• Opsview 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)

Saturday 8 April 2023

Page 5: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence5

Introduction• 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.

Saturday 8 April 2023

Page 6: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence6

Configuration• 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

• Go to run and type "services.msc"

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

Saturday 8 April 2023

Page 7: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence7

Configuration

Saturday 8 April 2023

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

Page 8: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence8

Configuration• Now, within Opsview, go to "SETTINGS > SERVICE CHECKS",

and click the green 'plus' icon in the top right.

Saturday 8 April 2023

Page 9: Monitoring Windows Services with Opsview

Saturday 8 April 2023 © Opsview Ltd. Commercial in Confidence9

Configuration• 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.

• Set the check intervals and re-check intervals applicably.• Make sure we set the plugin to "check_nrpe".

Page 10: Monitoring Windows Services with Opsview

Saturday 8 April 2023 © Opsview Ltd. Commercial in Confidence10

Configuration• In the arguments section, change it 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).

Page 11: Monitoring Windows Services with Opsview

Saturday 8 April 2023 © Opsview Ltd. Commercial in Confidence11

Configuration

Page 12: Monitoring Windows Services with Opsview

Saturday 8 April 2023 © Opsview Ltd. Commercial in Confidence12

Configuration• 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.

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

• 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.

Page 13: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence13

Configuration

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

• Opsview will now be monitoring your IMAP4 service!

Saturday 8 April 2023

Page 14: Monitoring Windows Services with Opsview

© Opsview Ltd. Commercial in Confidence14

About OpsviewOpsview delivers a single unified view of the health of all your distributed physical, virtual and hybrid cloud systems.

We give DevOps staff all the tools they need to get their jobs done faster, easier and for less.

• Opsview Enterprise offers large enterprises (+100 devices) and MSPs a certified, professionally supported system with enhanced functionality such as dynamic dashboards and reports

• SMEs looking for feature-rich dashboards to monitor the performance of their on-premise, virtualized or cloud apps choose Opsview Pro

• Opsview Core is our free, open source monitoring tool - you can test and customize it how you want

www.opsview.com

Saturday 8 April 2023