How can i add new Service in Nagios Xi?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sathiyaraj
Posts: 17
Joined: Tue Feb 12, 2013 8:03 am
Location: Bangalore, INDIA

How can i add new Service in Nagios Xi?

Post by sathiyaraj »

hi..

I configured nagios Xi. Monitoring Status is good. but now I need to add tomcat services for monitor. How can i Do..?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How can i add new Service in Nagios Xi?

Post by slansing »

First of all we will need to pick out a check to run, what do you have in mind? Test the check from your Nagios server's command line before you configure it into the system's config files so that you know it at least works from it's most basic form.

Next you will need to create a Host with the IP address which the services will be attached to. We will get into this once you have made sure the plugin works.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How can i add new Service in Nagios Xi?

Post by lmiltchev »

Have you checked the available plugins on the Nagios Exchange?

http://exchange.nagios.org/index.php?op ... ord=tomcat

You can probably set up a simple check, utilizing "check_http" via the CCM, so that you will have something like this:

Code: Select all

define service{
   use genericservice
   host_name centos
   service_description TOMCAT
   check_command check_tomcat
}

Code: Select all

define command{
   command_name check_tomcat
   command_line $USER1$/check_http H $HOSTADDRESS$ p 8080 -w 3 -c 7
}
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked