How to add a service to be monitored on a server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
razz0r
Posts: 2
Joined: Wed Apr 06, 2011 8:17 pm

How to add a service to be monitored on a server

Post by razz0r »

Hi All,

I have recommended & used Nagios for a number of years. Finally in my current contract I have done a full setup on Nagios XI.

I have added all of our hosts (Windows 2008 based) and just used the standard options for monitoring (CPU, hdd space, ram usage).

What I thought at the time was - I'll add in services to monitor on set servers at a later time. Thing like spooler service, some Citrix core services and also some application core services that should always be up & running.

However... I can't find a guide to show me how to do this. The initial wizard to monitor a host is awesome - and had a section for adding services that made the process very easy. However I can't find the same guide for simply adding a service to be monitored on a set host.

I have gotten as far as going in to the Nagios core config manager, monitoring\services - filtered for a host I want and clicked "add"
The common settings are ok... until I get to the check command.
It is not clear which command should be used or what arguments should be used if any.

Is there a wizard to add monitors to a host or something???

Any help would be great. Thanks. :?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: How to add a service to be monitored on a server

Post by tonyyarusso »

One possibility is to run through the wizard again, using the same settings for the host, and define anything you'd like to add. The other is to use the Core Config Manager as you described, although our documentation on that is a bit lacking currently. We have some new tutorials on that sort of thing that should be available "soon". One thing that should help is that if you run any check plugin on the command line with the -h switch it will give you a summary of what it does and an explanation of all available options and arguments, so you can use that to find which ones you want. You'll find them in the /usr/local/nagios/libexec/ directory on the XI server.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
razz0r
Posts: 2
Joined: Wed Apr 06, 2011 8:17 pm

Re: How to add a service to be monitored on a server

Post by razz0r »

Thank you for the quick reply!!

One question - re-run the wizard - would I have to delete to host first (Delete services tied to it first then the host as I understand it) ??

Thanks!!
(BW - 1250 a year - the group I am working for is buying it! hehe)
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: How to add a service to be monitored on a server

Post by rdedon »

razz0r wrote:Thank you for the quick reply!!

One question - re-run the wizard - would I have to delete to host first (Delete services tied to it first then the host as I understand it) ??

Thanks!!
(BW - 1250 a year - the group I am working for is buying it! hehe)
Yes definitely delete or it could get messy very quickly. You will want to delete services first, then the host when all dependencies are gone and recheck to make sure they are all cleaned off. :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked