...
Code Block | ||||
---|---|---|---|---|
| ||||
# 'check_jobscheduler' command definition define command\{ command_name check_jobscheduler command_line /opt/plugins/check_jobscheduler.pl -H $ARG1$$HOSTADRESS$ -p $ARG2$$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 |
...
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 |
Notes
Perl > 5.8 is required and the Perl package NET::HTTP. You can download and install Perl packages from e.g. http://www.cpan.
...