[afnog] Nagios Configuration

Charlie Reddington charlier at cymru.com
Fri Jul 9 14:12:25 UTC 2010


On 7/9/10 5:10 AM, Benjamin Cobblah wrote:
> Dear All,
> 
> How do you add 2 services eg ping and uptime to a single host on nagios3.
> 
> Do you split the services or you ca add to one directive?
> 

Hi Benjamin,

If you are using the default checks that come with Nagios, you have to
split them. You would have to write your own script or plugin that would
do multiple checks and alert if you want both on the same check
(something like check_openManage does).

I've found the easiest way for adding checks to hosts is to define all
your service checks, add hostgroups to the service checks, and then just
add your hosts to your host groups. It makes it pretty easy to add hosts
in once you got to that point, as you just define your host, and put it
with the appropriate host group(s).

Hope it helps,

Charlie



More information about the afnog mailing list