Page 1 of 1

NagiosXI - Monitor Custom Application Services

Posted: Sat Feb 25, 2017 8:12 am
by patricri
I have a custom application and want to monitor the services that are associated with the application. I am using the NagiosXI Demo version as POC, is there a limitation in place for the check_service. It only works when you supply it something its expecting like nagios or httpd.

Please let me know what i need to do, doing wrong or am i better off doing the POC with Nagios CORE.

Re: NagiosXI - Monitor Custom Application Services

Posted: Mon Feb 27, 2017 12:18 pm
by mcapra
Whether you do the POC with Nagios XI or Nagios Core is totally up to you. If you're not super familiar with the platform, I'd suggest using Nagios XI as it's a bit easier to navigate. One thing to remember is that there is a difference between a Nagios "service" configuration object and a service as it is recognized on a Linux/Windows/etc machine. A Nagios "service" is anything that could logically exist under a host. If our host is a toaster, a "service" could be how hot the toaster is.

There are several options for checking the services on a remote machine, though it is worth mentioning that Nagios XI / Nagios Core should exist on a separate physical/virtual machine from your actual application.

What operating system do these services associated with your application run on? If it's Linux, you're going to want to leverage NRPE or NCPA. If it's Windows, you're going to want to leverage NSClient++ or NCPA. More info on those things:

https://www.nagios.org/ncpa/help.php
https://exchange.nagios.org/directory/A ... or/details
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... g_NRPE.pdf