Nagios design question relating to service dependency

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Nagios design question relating to service dependency

Post by s.dehaan »

Hi,

This is the case:

We have several servers which are running a certain operating system. Now these servers all have different tasks but some of the core functionality that we would like to monitor are the same, CPU, Memory, Disk usage, etc...

Is it true that we have to create for instance a CPU check for every server individually? Or can we just make 1 CPU check and assign this check to all the servers that requires it.

The reason I ask this is when you create 1 check which you assign to a multiple hosts. When you then create a dependency based on that check. It becomes difficult in the service dependency overview to make sure you have got the right check.

I hope my question makes sense. Sorry for the typo's in advance.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios design question relating to service dependency

Post by agriffin »

It would probably be simpler and less error-prone to define a new check for each host. You can use templates to make this easier though, so that any changes you make to the service in the future will apply to all of those services.
Locked