Jogarem
01-16-2008, 04:49 PM
Hi,
I work much with templates.
But when I enter arguments within the template the arguments were
NOT usable within my created service.
Example:
Templatename = PING
Command = check_graph_ping
Args = !1500,40%!4000,80%
When I create a service with this template above then the service output
gives always an error (bad initialization of thresholds).
The service itself has this config:
Command = EMPTY
Args = EMPTY
That's ok but only when I enter arguments in the 'Args' field it begin to work!
I do NOT need to choose the command!
So it works only when I enter the following config in the service:
Command = EMPTY
Args = !1500,40%!4000,80%
I don't want to enter Args everytime for every service.
I want to enter arguments in the template only and not in the service itself.
My Environment:
Srv iS.........Ubuntu 6 / Centreon 1.4.2.1 / MySQL 5 / Nagios 2.5
Any ideas?
## EDIT ##
And another thing (which is very bad) is that the icon which is set in the relation tab of the template is ignored! :( :(
.
I work much with templates.
But when I enter arguments within the template the arguments were
NOT usable within my created service.
Example:
Templatename = PING
Command = check_graph_ping
Args = !1500,40%!4000,80%
When I create a service with this template above then the service output
gives always an error (bad initialization of thresholds).
The service itself has this config:
Command = EMPTY
Args = EMPTY
That's ok but only when I enter arguments in the 'Args' field it begin to work!
I do NOT need to choose the command!
So it works only when I enter the following config in the service:
Command = EMPTY
Args = !1500,40%!4000,80%
I don't want to enter Args everytime for every service.
I want to enter arguments in the template only and not in the service itself.
My Environment:
Srv iS.........Ubuntu 6 / Centreon 1.4.2.1 / MySQL 5 / Nagios 2.5
Any ideas?
## EDIT ##
And another thing (which is very bad) is that the icon which is set in the relation tab of the template is ignored! :( :(
.