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?
Inherit Arguments in a service check
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Inherit Arguments in a service check
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.
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.
Re: Inherit Arguments in a service check
thanks.
you can close the ticket
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
Locking threadbosecorp wrote:thanks.
you can close the ticket