diff --git a/apps/kayako/mode/listdepartment.pm b/apps/kayako/mode/listdepartment.pm index 93808be3f..a2661ba06 100644 --- a/apps/kayako/mode/listdepartment.pm +++ b/apps/kayako/mode/listdepartment.pm @@ -140,6 +140,22 @@ List departmentf of kayako =over 8 +=item B<--hostname> + +IP Addr/FQDN of the webserver host (required) + +=item B<--port> + +Port used by Apache + +=item B<--proto> + +Specify https if needed + +=item B<--proxyurl> + +Proxy URL if any + =item B<--kayako-api-url> This is the URL you should dispatch all GET, POST, PUT & DELETE requests to. diff --git a/apps/kayako/mode/listpriority.pm b/apps/kayako/mode/listpriority.pm index ab72c8848..ab5d584a6 100644 --- a/apps/kayako/mode/listpriority.pm +++ b/apps/kayako/mode/listpriority.pm @@ -138,6 +138,22 @@ List departmentf of kayako =over 8 +=item B<--hostname> + +IP Addr/FQDN of the webserver host (required) + +=item B<--port> + +Port used by Apache + +=item B<--proto> + +Specify https if needed + +=item B<--proxyurl> + +Proxy URL if any + =item B<--kayako-api-url> This is the URL you should dispatch all GET, POST, PUT & DELETE requests to. diff --git a/apps/kayako/mode/liststaff.pm b/apps/kayako/mode/liststaff.pm index cff5b947b..a6762ba3b 100644 --- a/apps/kayako/mode/liststaff.pm +++ b/apps/kayako/mode/liststaff.pm @@ -138,6 +138,22 @@ List departmentf of kayako =over 8 +=item B<--hostname> + +IP Addr/FQDN of the webserver host (required) + +=item B<--port> + +Port used by Apache + +=item B<--proto> + +Specify https if needed + +=item B<--proxyurl> + +Proxy URL if any + =item B<--kayako-api-url> This is the URL you should dispatch all GET, POST, PUT & DELETE requests to. diff --git a/apps/kayako/mode/liststatus.pm b/apps/kayako/mode/liststatus.pm index 5b56574f8..f16c9ab8d 100644 --- a/apps/kayako/mode/liststatus.pm +++ b/apps/kayako/mode/liststatus.pm @@ -138,6 +138,22 @@ List departmentf of kayako =over 8 +=item B<--hostname> + +IP Addr/FQDN of the webserver host (required) + +=item B<--port> + +Port used by Apache + +=item B<--proto> + +Specify https if needed + +=item B<--proxyurl> + +Proxy URL if any + =item B<--kayako-api-url> This is the URL you should dispatch all GET, POST, PUT & DELETE requests to. diff --git a/apps/kayako/mode/ticketcount.pm b/apps/kayako/mode/ticketcount.pm index 691709278..ac33b4540 100644 --- a/apps/kayako/mode/ticketcount.pm +++ b/apps/kayako/mode/ticketcount.pm @@ -154,7 +154,7 @@ sub check_options { } else { my ($mday,$mon,$year) = split(/-/, $self->{option_results}->{'end_date'}); $end = $self->{option_results}->{'end_date'}; - $self->{option_results}->{'end_date'} = timelocal(0,0,0,$mday+1,$mon-1,$year); + $self->{option_results}->{'end_date'} = timelocal(59,59,23,$mday,$mon-1,$year); } } if (($self->{perfdata}->threshold_validate(label => 'warning', value => $self->{option_results}->{warning})) == 0) { @@ -367,6 +367,22 @@ Count tickets of kayako =over 8 +=item B<--hostname> + +IP Addr/FQDN of the webserver host (required) + +=item B<--port> + +Port used by Apache + +=item B<--proto> + +Specify https if needed + +=item B<--proxyurl> + +Proxy URL if any + =item B<--kayako-api-url> This is the URL you should dispatch all GET, POST, PUT & DELETE requests to. (required) @@ -388,6 +404,11 @@ Time in seconds before reloading cache file (default: 180). Filter the tickets by the specified department id, you can specify multiple id's by separating the values using a comma. Example: 1,2,3 . You must define at least one id. (required) +=item B<--priority-id> + +Filter the tickets by the specified ticket priority id, you can specify multiple id's by separating the values using a comma. Example: 1,2,3 . +By default, all ticket priority are included. + =item B<--staff-id> Filter the tickets by the specified owner staff id, you can specify multiple id's by separating the values using a comma. Example: 1,2,3 . @@ -398,11 +419,6 @@ By default, all staff users are included. Filter the tickets by the specified ticket status id, you can specify multiple id's by separating the values using a comma. Example: 1,2,3 . By default, the filter is on unresolved ticket statuses. -=item B<--priority-id> - -Filter the tickets by the specified ticket priority id, you can specify multiple id's by separating the values using a comma. Example: 1,2,3 . -By default, all ticket priority are included. - =item B<--warning> Threshold warning.