Page 1 of 1
how to monitor own create service
Posted: Wed Dec 27, 2017 8:55 am
by ivp2015
HI Team,
How we can monitor self create services via nagios XI.
Thanks
Re: how to monitor own create service
Posted: Wed Dec 27, 2017 9:13 am
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.
Re: how to monitor own create service
Posted: Wed Dec 27, 2017 10:44 am
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.
Re: how to monitor own create service
Posted: Wed Dec 27, 2017 12:15 pm
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!