...
Code Block | ||||
---|---|---|---|---|
| ||||
# 'check_jobscheduler' command definition define command\ { command_name check_jobscheduler command_line /opt/plugins/check_jobscheduler.pl -H $HOSTADRESS$ -p $ARG1$ -t $ARG2$ (-u $ARG3$) \} |
Code Block | ||||
---|---|---|---|---|
| ||||
define service\ { use generic-service host_name localhost service_description JobScheduler is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_jobscheduler!homer.sos!4444!0!! active_checks_enabled 1 passive_checks_enabled 0 } |
Parameterization
Parameter |
| Default | Description |
---|---|---|---|
-H, | --hostname | — | Name or IP address of the host ( |
-p | --port | — | Port that JobScheduler listens to ( |
-t | --timeout | 30s | Timeout for establishing the connection to JobScheduler |
-u | --user | — | User and password for HTTP authentication |
...
Code Block | ||||
---|---|---|---|---|
| ||||
# 'check_jobscheduler_agent' command definition define command\ { command_name check_jobscheduler_agent command_line /opt/plugins/check_jobscheduler_agent.pl -u $ARG1$ -a $ARG2$ -o $ARG3$ -t $ARG4$ \} |
When configuring the System Monitor Service then Command parameters have to be specified that are separated by exclamation marks, e.g.
...