how to monitor own create service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

how to monitor own create service

Post by ivp2015 »

HI Team,

How we can monitor self create services via nagios XI.

Thanks
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: how to monitor own create service

Post by mcapra »

Are you referring to a Nagios service definition? A Windows service? A Linux service?

Is there a particular agent you're currently using to monitor this mystery environment?

Here's a very simple Linux plugin for checking a service's status via systemd, upstart, sysvinit, etc:
https://exchange.nagios.org/directory/P ... us/details

On Windows, both NCPA and NSClient++ have mechanisms for checking services:
https://www.nagios.org/ncpa/help.php#ap ... s-services
https://docs.nsclient.org/reference/win ... ck_service

We'd need more information about the setup to give specific advice.
Former Nagios employee
https://www.mcapra.com/
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

Re: how to monitor own create service

Post by ivp2015 »

Hi,

We are using Windows server 2012 R2 & we need to monitor self created service.

Service name in services.msc is- "DataMigrationServiceProd".

Thanks.
kyang

Re: how to monitor own create service

Post by kyang »

Have you installed any of the agents @mcapra mentioned?

NCPA or NSClient++?

I'll give you my 2 examples for checking a service using both.

NSClient++
nsclient.PNG
nsclient2.PNG
NCPA
ncpa2.PNG
ncpa.PNG
Let us know if this helps!
You do not have the required permissions to view the files attached to this post.
Locked