Inherit Arguments in a service check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Inherit Arguments in a service check

Post by bosecorp »

Hi

I have a service check that has 3 arguments, one of them is unique in different for every service check, the other 2 are the same across the board.

So what I want is I want to use a service template to control the other 2 arguments. but inheritance doesn't seem to work for the 2 arguments

can you help please?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Inherit Arguments in a service check

Post by scottwilkerson »

Unfortunately this will not work as the template inheritance works on a per object definition line and the command and arguments are all part of the check_command line in the object definition.

So, even though they appear separate in the CCM to make it easier to view, the underlying Nagios Core engine sees them as a single item.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Inherit Arguments in a service check

Post by bosecorp »

thanks.

you can close the ticket
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Inherit Arguments in a service check

Post by scottwilkerson »

bosecorp wrote:thanks.

you can close the ticket
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked