hi..
I configured nagios Xi. Monitoring Status is good. but now I need to add tomcat services for monitor. How can i Do..?
How can i add new Service in Nagios Xi?
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
-
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?
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.
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.
Re: How can i add new Service in Nagios Xi?
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:
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!