diff -Nnaur cgi/avail.c.orig cgi/avail.c
--- cgi/avail.c.orig Sat Jan 20 23:07:59 2007
+++ cgi/avail.c Sat Jan 20 23:08:23 2007
@@ -384,19 +384,19 @@
switch(display_type){
case DISPLAY_HOST_AVAIL:
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Host Availability Report");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"ホストの稼働レポート");
break;
case DISPLAY_SERVICE_AVAIL:
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Service Availability Report");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"サービスの稼働レポート");
break;
case DISPLAY_HOSTGROUP_AVAIL:
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Hostgroup Availability Report");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"ホストグループの稼働レポート");
break;
case DISPLAY_SERVICEGROUP_AVAIL:
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Servicegroup Availability Report");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"サービスグループの稼働レポート");
break;
default:
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Availability Report");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"稼働レポート");
break;
}
temp_buffer[sizeof(temp_buffer)-1]='\x0';
@@ -408,35 +408,35 @@
printf("
\n");
if(display_type==DISPLAY_HOST_AVAIL && show_all_hosts==FALSE){
- host_report_url("all","View Availability Report For All Hosts");
+ host_report_url("all","全ホストの稼働レポート");
printf(" \n");
#ifdef USE_TRENDS
- printf("View Trends For This Host \n",TRENDS_CGI,url_encode(host_name),t1,t2,(include_soft_states==TRUE)?"yes":"no",(assume_state_retention==TRUE)?"yes":"no",(assume_initial_states==TRUE)?"yes":"no",(assume_states_during_notrunning==TRUE)?"yes":"no",initial_assumed_host_state,backtrack_archives);
+ printf("このホストの傾向 \n",TRENDS_CGI,url_encode(host_name),t1,t2,(include_soft_states==TRUE)?"yes":"no",(assume_state_retention==TRUE)?"yes":"no",(assume_initial_states==TRUE)?"yes":"no",(assume_states_during_notrunning==TRUE)?"yes":"no",initial_assumed_host_state,backtrack_archives);
#endif
#ifdef USE_HISTOGRAM
- printf("View Alert Histogram For This Host \n",HISTOGRAM_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("このホストの警報ヒストグラム \n",HISTOGRAM_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
#endif
- printf("View Status Detail For This Host \n",STATUS_CGI,url_encode(host_name));
- printf("View Alert History For This Host \n",HISTORY_CGI,url_encode(host_name));
- printf("View Notifications For This Host \n",NOTIFICATIONS_CGI,url_encode(host_name));
+ printf("このホストの詳細 \n",STATUS_CGI,url_encode(host_name));
+ printf("このホストの警報履歴 \n",HISTORY_CGI,url_encode(host_name));
+ printf("このホストの通知履歴 \n",NOTIFICATIONS_CGI,url_encode(host_name));
}
else if(display_type==DISPLAY_SERVICE_AVAIL && show_all_services==FALSE){
- host_report_url(host_name,"View Availability Report For This Host");
+ host_report_url(host_name,"このホストの稼働レポート");
printf(" \n");
- service_report_url("null","all","View Availability Report For All Services");
+ service_report_url("null","all","このホストで稼働中の全サービスの稼働レポート");
printf(" \n");
#ifdef USE_TRENDS
printf("View Trends For This Service \n",url_encode(svc_description),t1,t2,(include_soft_states==TRUE)?"yes":"no",(assume_state_retention==TRUE)?"yes":"no",(assume_initial_states==TRUE)?"yes":"no",(assume_states_during_notrunning==TRUE)?"yes":"no",initial_assumed_service_state,backtrack_archives);
+ printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s&includesoftstates=%s&assumeinitialstates=%s&assumestatesduringnotrunning=%s&initialassumedservicestate=%d&backtrack=%d'>このサービスの傾向 \n",url_encode(svc_description),t1,t2,(include_soft_states==TRUE)?"yes":"no",(assume_state_retention==TRUE)?"yes":"no",(assume_initial_states==TRUE)?"yes":"no",(assume_states_during_notrunning==TRUE)?"yes":"no",initial_assumed_service_state,backtrack_archives);
#endif
#ifdef USE_HISTOGRAM
printf("View Alert Histogram For This Service \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s'>このサービスの警報ヒストグラム \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
#endif
printf("View Alert History This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの警報履歴 \n",url_encode(svc_description));
printf("View Notifications For This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの通知履歴 \n",url_encode(svc_description));
}
printf("
\n");
@@ -823,7 +829,7 @@
/* step 2 - the user wants to select a hostgroup */
else if(select_hostgroups==TRUE){
- printf("
Step 2: Select Hostgroup
\n");
+ printf("
ステップ2: ホストグループの選択
\n");
printf("
\n");
@@ -832,9 +838,9 @@
printf("
\n");
- printf("
Hostgroup(s):
\n");
+ printf("
ホストグループ:
\n");
printf("\n");
printf("
\n");
- printf("
\n");
+ printf("
\n");
printf("
\n");
@@ -853,7 +859,7 @@
/* step 2 - the user wants to select a host */
else if(select_hosts==TRUE){
- printf("
Step 2: Select Host
\n");
+ printf("
ステップ2: ホストの選択
\n");
printf("
\n");
@@ -862,9 +868,9 @@
printf("
\n");
- printf("
Host(s):
\n");
+ printf("
ホスト:
\n");
printf("\n");
printf("
\n");
- printf("
\n");
+ printf("
\n");
printf("
\n");
@@ -880,12 +886,12 @@
printf("
\n");
- printf("
Tip: If you want to have the option of getting the availability data in CSV format, select '** ALL HOSTS **' from the pull-down menu.\n");
+ printf("
ヒント:稼働レポートをCSV形式で取得する場合は、プルダウンメニューから'** 全てのホスト**'を選択します。 \n");
}
/* step 2 - the user wants to select a servicegroup */
else if(select_servicegroups==TRUE){
- printf("
Tip: If you want to have the option of getting the availability data in CSV format, select '** ALL SERVICES **' from the pull-down menu.\n");
+ printf("
\n");
}
@@ -1666,7 +1684,7 @@
archive_basename=strrchr((char *)&archive_file,'/')+1;
/* now it's safe to print the filename */
- printf("
File: %s
\n",archive_basename);
+ printf("
ファイル: %s
\n",archive_basename);
return;
}
@@ -1855,10 +1873,10 @@
case EFAULT: /* Bad address. */
case ENOMEM: /* Out of memory (i.e. kernel memory). */
case ENAMETOOLONG: /* File name too long. */
- printf(" A stat call returned %d while looking for the file %s. ", errno, filename);
+ printf(" -%d: %s のファイル名が長すぎます ", errno, filename);
return;
case EACCES: /* Permission denied. -- The file should be accessible by nagios. */
- printf(" A stat call returned a permissions error(%d) while looking for the file %s. ", errno, filename);
+ printf(" -%d: %s のパーミッションが正しくありません。 ", errno, filename);
return;
case ENOENT: /* A component of the path file_name does not exist, or the path is an empty string. Just return if the file doesn't exist. */
return;
@@ -1884,25 +1902,25 @@
/* displays an error if CGI config file could not be read */
void cgi_config_file_error(char *config_file){
- printf("
Whoops!
\n");
+ printf("
エラーが発生しました。
\n");
- printf("
Error: Could not open CGI config file '%s' for reading!
\n",config_file);
+ printf("
エラー: CGI設定ファイル '%s' が読めません
\n",config_file);
printf("
\n");
- printf("Here are some things you should check in order to resolve this error:\n");
+ printf("この問題を解決するためにチェックする項目:\n");
printf("
\n");
printf("
\n");
printf("
\n");
- printf("
Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution.\n");
- printf("
Make sure the user your web server is running as has permission to read the CGI config file.\n");
+ printf("
\n");
- printf("Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.\n");
+ printf("作業を続ける前に徹底的にNagiosのドキュメントの\"Installing and configuration\"を読んでください。もし熟読してもわからない場合、メーリングリストを活用してみてください。詳しい情報はhttp://www.nagios.orgへどうぞ。\n");
printf("
\n");
return;
@@ -1913,25 +1931,25 @@
/* displays an error if main config file could not be read */
void main_config_file_error(char *config_file){
- printf("
Whoops!
\n");
+ printf("
エラーが発生しました。
\n");
- printf("
Error: Could not open main config file '%s' for reading!
\n",config_file);
+ printf("
エラー: 設定ファイル'%s' が読み込めません
\n",config_file);
printf("
\n");
- printf("Here are some things you should check in order to resolve this error:\n");
+ printf("この問題を解決するためにチェックする項目:\n");
printf("
\n");
printf("
\n");
printf("
\n");
- printf("
Make sure you've installed a main config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample main configuration file (named nagios.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution.\n");
- printf("
Make sure the user your web server is running as has permission to read the main config file.\n");
+ printf("
\n");
- printf("Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.\n");
+ printf("作業を続ける前に徹底的にNagiosのドキュメントの\"Installing and configuration\"を読んでください。もし熟読してもわからない場合、メーリングリストを活用してみてください。詳しい情報はhttp://www.nagios.orgへどうぞ。\n");
printf("
\n");
return;
@@ -1941,26 +1959,26 @@
/* displays an error if object data could not be read */
void object_data_error(void){
- printf("
Whoops!
\n");
+ printf("
エラーが発生しました。
\n");
- printf("
Error: Could not read object configuration data!
\n");
+ printf("
エラー: オブジェクト設定ファイルが読み込めません
\n");
printf("
\n");
- printf("Here are some things you should check in order to resolve this error:\n");
+ printf("この問題を解決するためにチェックする項目:\n");
printf("
\n");
printf("
\n");
printf("
\n");
- printf("
Verify configuration options using the -v command-line option to check for errors.\n");
- printf("
Check the Nagios log file for messages relating to startup or status data errors.\n");
- printf("
Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).\n");
+ printf("
\n");
- printf("Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.\n");
+ printf("作業を続ける前に徹底的にNagiosのドキュメントの\"Installing and configuration\"を読んでください。もし熟読してもわからない場合、メーリングリストを活用してみてください。詳しい情報はhttp://www.nagios.orgへどうぞ。\n");
printf("
\n");
return;
@@ -1970,30 +1988,30 @@
/* displays an error if status data could not be read */
void status_data_error(void){
- printf("
Whoops!
\n");
+ printf("
エラーが発生しました。
\n");
- printf("
Error: Could not read host and service status information!
\n");
+ printf("
エラー: ホストとサービス稼動状況の情報が読み込めません
\n");
printf("
\n");
- printf("The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.\n");
+ printf("
\n");
- printf("Some other things you should check in order to resolve this error include:\n");
+ printf("このエラーを回避するためにチェックする箇所は:\n");
printf("
\n");
printf("
\n");
printf("
\n");
- printf("
Check the Nagios log file for messages relating to startup or status data errors.\n");
- printf("
Always verify configuration options using the -v command-line option before starting or restarting Nagios!\n");
- printf("
Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.\n");
+ printf("
\n");
- printf("Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.\n");
+ printf("作業を続ける前に徹底的にNagiosのドキュメントの\"Installing and configuration\"を読んでください。もし熟読してもわからない場合、メーリングリストを活用してみてください。詳しい情報はhttp://www.nagios.orgへどうぞ。\n");
printf("
\n");
+ printf("エラー: オブジェクトデータが読み取り出来ませんでした。\n");
else
object_data_error();
document_footer();
@@ -175,7 +175,7 @@
/* left column of the first row */
printf("
\n");
/* center column of the first row */
@@ -203,7 +203,7 @@
if(content_type==WML_CONTENT)
printf("
Error: No command specified!
\n");
else
- printf("
Error: No command was specified
\n");
+ printf("
エラー: コマンドが選択されていません。
\n");
}
/* if this is the first request for a command, present option */
@@ -236,7 +236,7 @@
printf("\n");
- printf("\n");
+ printf("\n");
}
else{
@@ -246,7 +246,7 @@
printf("\n");
printf("\n");
printf("\n");
- printf("External Command Interface\n");
+ printf("外部コマンドインターフェース\n");
printf("\n");
if(use_stylesheet==TRUE){
@@ -659,250 +659,250 @@
comment_author=current_authdata.username;
- printf("
You are requesting to ");
+ printf("
リクエストしたコマンド:");
switch(cmd){
case CMD_ADD_HOST_COMMENT:
case CMD_ADD_SVC_COMMENT:
- printf("add a %s comment",(cmd==CMD_ADD_HOST_COMMENT)?"host":"service");
+ printf(" %sにコメントを追加する",(cmd==CMD_ADD_HOST_COMMENT)?"ホスト":"サービス");
break;
case CMD_DEL_HOST_COMMENT:
case CMD_DEL_SVC_COMMENT:
- printf("delete a %s comment",(cmd==CMD_DEL_HOST_COMMENT)?"host":"service");
+ printf("%sのコメントを削除する",(cmd==CMD_DEL_HOST_COMMENT)?"ホスト":"サービス");
break;
case CMD_DELAY_HOST_NOTIFICATION:
case CMD_DELAY_SVC_NOTIFICATION:
- printf("delay a %s notification",(cmd==CMD_DELAY_HOST_NOTIFICATION)?"host":"service");
+ printf("%sの通知を遅らせる",(cmd==CMD_DELAY_HOST_NOTIFICATION)?"ホスト":"サービス");
break;
case CMD_SCHEDULE_SVC_CHECK:
- printf("schedule a service check");
+ printf("次回のサービスチェックを再スケジュール");
break;
case CMD_ENABLE_SVC_CHECK:
case CMD_DISABLE_SVC_CHECK:
- printf("%s actice checks of a particular service",(cmd==CMD_ENABLE_SVC_CHECK)?"enable":"disable");
+ printf("指定したサービスチェックを%sにする",(cmd==CMD_ENABLE_SVC_CHECK)?"有効":"無効");
break;
case CMD_ENABLE_NOTIFICATIONS:
case CMD_DISABLE_NOTIFICATIONS:
- printf("%s notifications",(cmd==CMD_ENABLE_NOTIFICATIONS)?"enable":"disable");
+ printf("通知を%sにする",(cmd==CMD_ENABLE_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_SHUTDOWN_PROCESS:
case CMD_RESTART_PROCESS:
- printf("%s the Nagios process",(cmd==CMD_SHUTDOWN_PROCESS)?"shutdown":"restart");
+ printf("Nagiosの%s",(cmd==CMD_SHUTDOWN_PROCESS)?"停止":"再起動");
break;
case CMD_ENABLE_HOST_SVC_CHECKS:
case CMD_DISABLE_HOST_SVC_CHECKS:
- printf("%s active checks of all services on a host",(cmd==CMD_ENABLE_HOST_SVC_CHECKS)?"enable":"disable");
+ printf("ホストの全サービスを%sにする",(cmd==CMD_ENABLE_HOST_SVC_CHECKS)?"有効":"無効");
break;
case CMD_SCHEDULE_HOST_SVC_CHECKS:
- printf("schedule a check of all services for a host");
+ printf("ホストの全てのサービスチェックを遅らせる");
break;
case CMD_DEL_ALL_HOST_COMMENTS:
case CMD_DEL_ALL_SVC_COMMENTS:
- printf("delete all comments for a %s",(cmd==CMD_DEL_ALL_HOST_COMMENTS)?"host":"service");
+ printf("%sの全てのコメントを削除する",(cmd==CMD_DEL_ALL_HOST_COMMENTS)?"ホスト":"サービス");
break;
case CMD_ENABLE_SVC_NOTIFICATIONS:
case CMD_DISABLE_SVC_NOTIFICATIONS:
- printf("%s notifications for a service",(cmd==CMD_ENABLE_SVC_NOTIFICATIONS)?"enable":"disable");
+ printf("サービスの通知を%sにする",(cmd==CMD_ENABLE_SVC_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_HOST_NOTIFICATIONS:
case CMD_DISABLE_HOST_NOTIFICATIONS:
- printf("%s notifications for a host",(cmd==CMD_ENABLE_HOST_NOTIFICATIONS)?"enable":"disable");
+ printf("ホストの通知を%sにする",(cmd==CMD_ENABLE_HOST_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST:
case CMD_DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST:
- printf("%s notifications for all hosts and services beyond a host",(cmd==CMD_ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST)?"enable":"disable");
+ printf("ホストの向こう側にある全ホストとサービスの通知を%sにする",(cmd==CMD_ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST)?"有効":"無効");
break;
case CMD_ENABLE_HOST_SVC_NOTIFICATIONS:
case CMD_DISABLE_HOST_SVC_NOTIFICATIONS:
- printf("%s notifications for all services on a host",(cmd==CMD_ENABLE_HOST_SVC_NOTIFICATIONS)?"enable":"disable");
+ printf("ホスト上の全サービスの通知を%sにする",(cmd==CMD_ENABLE_HOST_SVC_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ACKNOWLEDGE_HOST_PROBLEM:
case CMD_ACKNOWLEDGE_SVC_PROBLEM:
- printf("acknowledge a %s problem",(cmd==CMD_ACKNOWLEDGE_HOST_PROBLEM)?"host":"service");
+ printf("%sの問題を既知にする",(cmd==CMD_ACKNOWLEDGE_HOST_PROBLEM)?"ホスト":"サービス");
break;
case CMD_START_EXECUTING_SVC_CHECKS:
case CMD_STOP_EXECUTING_SVC_CHECKS:
- printf("%s executing active service checks",(cmd==CMD_START_EXECUTING_SVC_CHECKS)?"start":"stop");
+ printf("サービスチェックを%sする",(cmd==CMD_START_EXECUTING_SVC_CHECKS)?"開始":"停止");
break;
case CMD_START_ACCEPTING_PASSIVE_SVC_CHECKS:
case CMD_STOP_ACCEPTING_PASSIVE_SVC_CHECKS:
- printf("%s accepting passive service checks",(cmd==CMD_START_ACCEPTING_PASSIVE_SVC_CHECKS)?"start":"stop");
+ printf("パッシブサービスチェックを%sする",(cmd==CMD_START_ACCEPTING_PASSIVE_SVC_CHECKS)?"開始":"停止");
break;
case CMD_ENABLE_PASSIVE_SVC_CHECKS:
case CMD_DISABLE_PASSIVE_SVC_CHECKS:
- printf("%s accepting passive service checks for a particular service",(cmd==CMD_ENABLE_PASSIVE_SVC_CHECKS)?"start":"stop");
+ printf("指定したサービスのパッシブチェックを%sする",(cmd==CMD_ENABLE_PASSIVE_SVC_CHECKS)?"開始":"停止");
break;
case CMD_ENABLE_EVENT_HANDLERS:
case CMD_DISABLE_EVENT_HANDLERS:
- printf("%s event handlers",(cmd==CMD_ENABLE_EVENT_HANDLERS)?"enable":"disable");
+ printf("イベントハンドラを%sにする",(cmd==CMD_ENABLE_EVENT_HANDLERS)?"有効":"無効");
break;
case CMD_ENABLE_HOST_EVENT_HANDLER:
case CMD_DISABLE_HOST_EVENT_HANDLER:
- printf("%s the event handler for a particular host",(cmd==CMD_ENABLE_HOST_EVENT_HANDLER)?"enable":"disable");
+ printf("指定したホストのイベントハンドラを%sにする",(cmd==CMD_ENABLE_HOST_EVENT_HANDLER)?"有効":"無効");
break;
case CMD_ENABLE_SVC_EVENT_HANDLER:
case CMD_DISABLE_SVC_EVENT_HANDLER:
- printf("%s the event handler for a particular service",(cmd==CMD_ENABLE_SVC_EVENT_HANDLER)?"enable":"disable");
+ printf("指定したサービスのイベントハンドラを%sにする",(cmd==CMD_ENABLE_SVC_EVENT_HANDLER)?"有効":"無効");
break;
case CMD_ENABLE_HOST_CHECK:
case CMD_DISABLE_HOST_CHECK:
- printf("%s active checks of a particular host",(cmd==CMD_ENABLE_HOST_CHECK)?"enable":"disable");
+ printf("ホストチェックを%sにする",(cmd==CMD_ENABLE_HOST_CHECK)?"有効":"無効");
break;
case CMD_STOP_OBSESSING_OVER_SVC_CHECKS:
case CMD_START_OBSESSING_OVER_SVC_CHECKS:
- printf("%s obsessing over service checks",(cmd==CMD_STOP_OBSESSING_OVER_SVC_CHECKS)?"stop":"start");
+ printf("Obsessing Overサービスチェックを%sする",(cmd==CMD_STOP_OBSESSING_OVER_SVC_CHECKS)?"停止":"開始");
break;
case CMD_REMOVE_HOST_ACKNOWLEDGEMENT:
case CMD_REMOVE_SVC_ACKNOWLEDGEMENT:
- printf("remove a %s acknowledgement",(cmd==CMD_REMOVE_HOST_ACKNOWLEDGEMENT)?"host":"service");
+ printf("%sの既知の問題を削除する",(cmd==CMD_REMOVE_HOST_ACKNOWLEDGEMENT)?"ホスト":"サービス");
break;
case CMD_SCHEDULE_HOST_DOWNTIME:
case CMD_SCHEDULE_SVC_DOWNTIME:
- printf("schedule downtime for a particular %s",(cmd==CMD_SCHEDULE_HOST_DOWNTIME)?"host":"service");
+ printf("%sのダウンタイムをスケジュールに追加する",(cmd==CMD_SCHEDULE_HOST_DOWNTIME)?"ホスト":"サービス");
break;
case CMD_PROCESS_HOST_CHECK_RESULT:
case CMD_PROCESS_SERVICE_CHECK_RESULT:
- printf("submit a passive check result for a particular %s",(cmd==CMD_PROCESS_HOST_CHECK_RESULT)?"host":"service");
+ printf("指定したサービスのパッシブチェックの結果を登録する");
break;
case CMD_ENABLE_HOST_FLAP_DETECTION:
case CMD_DISABLE_HOST_FLAP_DETECTION:
- printf("%s flap detection for a particular host",(cmd==CMD_ENABLE_HOST_FLAP_DETECTION)?"enable":"disable");
+ printf("ホストのフラップ検知を%sにする",(cmd==CMD_ENABLE_HOST_FLAP_DETECTION)?"有効":"無効");
break;
case CMD_ENABLE_SVC_FLAP_DETECTION:
case CMD_DISABLE_SVC_FLAP_DETECTION:
- printf("%s flap detection for a particular service",(cmd==CMD_ENABLE_SVC_FLAP_DETECTION)?"enable":"disable");
+ printf("サービスのフラップ検知を%sにする",(cmd==CMD_ENABLE_SVC_FLAP_DETECTION)?"有効":"無効");
break;
case CMD_ENABLE_FLAP_DETECTION:
case CMD_DISABLE_FLAP_DETECTION:
- printf("%s flap detection for hosts and services",(cmd==CMD_ENABLE_FLAP_DETECTION)?"enable":"disable");
+ printf("ホストとサービスのフラップ検知を%sにする",(cmd==CMD_ENABLE_FLAP_DETECTION)?"有効":"無効");
break;
case CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS:
case CMD_DISABLE_HOSTGROUP_SVC_NOTIFICATIONS:
- printf("%s notifications for all services in a particular hostgroup",(cmd==CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS)?"enable":"disable");
+ printf("指定したホストグループ上の全サービスの通知を%sにする",(cmd==CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS:
case CMD_DISABLE_HOSTGROUP_HOST_NOTIFICATIONS:
- printf("%s notifications for all hosts in a particular hostgroup",(cmd==CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS)?"enable":"disable");
+ printf("指定したホストグループ上の全ホストの通知を%sにする",(cmd==CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_HOSTGROUP_SVC_CHECKS:
case CMD_DISABLE_HOSTGROUP_SVC_CHECKS:
- printf("%s active checks of all services in a particular hostgroup",(cmd==CMD_ENABLE_HOSTGROUP_SVC_CHECKS)?"enable":"disable");
+ printf("指定したホストグループ上の全てのサービスチェックを%sにする",(cmd==CMD_ENABLE_HOSTGROUP_SVC_CHECKS)?"有効":"無効");
break;
case CMD_DEL_HOST_DOWNTIME:
case CMD_DEL_SVC_DOWNTIME:
- printf("cancel scheduled downtime for a particular %s",(cmd==CMD_DEL_HOST_DOWNTIME)?"host":"service");
+ printf("%sのダウンタイムをキャンセルする",(cmd==CMD_DEL_HOST_DOWNTIME)?"ホスト":"サービス");
break;
case CMD_ENABLE_FAILURE_PREDICTION:
case CMD_DISABLE_FAILURE_PREDICTION:
- printf("%s failure prediction for hosts and service",(cmd==CMD_ENABLE_FAILURE_PREDICTION)?"enable":"disable");
+ printf("ホストとサービスの予測機能を%sにする",(cmd==CMD_ENABLE_FAILURE_PREDICTION)?"有効":"無効");
break;
case CMD_ENABLE_PERFORMANCE_DATA:
case CMD_DISABLE_PERFORMANCE_DATA:
- printf("%s performance data processing for hosts and services",(cmd==CMD_ENABLE_PERFORMANCE_DATA)?"enable":"disable");
+ printf("ホストとサービスのパフォーマンスデータを%sにする",(cmd==CMD_ENABLE_PERFORMANCE_DATA)?"有効":"無効");
break;
case CMD_SCHEDULE_HOSTGROUP_HOST_DOWNTIME:
- printf("schedule downtime for all hosts in a particular hostgroup");
+ printf("指定したホストグループ上のホストのダウンタイムをスケジュールに追加する");
break;
case CMD_SCHEDULE_HOSTGROUP_SVC_DOWNTIME:
- printf("schedule downtime for all services in a particular hostgroup");
+ printf("指定したホストグループ上のサービスのダウンタイムをスケジュールに追加する");
break;
case CMD_START_EXECUTING_HOST_CHECKS:
case CMD_STOP_EXECUTING_HOST_CHECKS:
- printf("%s executing host checks",(cmd==CMD_START_EXECUTING_HOST_CHECKS)?"start":"stop");
+ printf("ホストチェックを%sする",(cmd==CMD_START_EXECUTING_HOST_CHECKS)?"開始":"停止");
break;
case CMD_START_ACCEPTING_PASSIVE_HOST_CHECKS:
case CMD_STOP_ACCEPTING_PASSIVE_HOST_CHECKS:
- printf("%s accepting passive host checks",(cmd==CMD_START_ACCEPTING_PASSIVE_HOST_CHECKS)?"start":"stop");
+ printf("パッシブホストのチェックを%sする",(cmd==CMD_START_ACCEPTING_PASSIVE_HOST_CHECKS)?"開始":"停止");
break;
case CMD_ENABLE_PASSIVE_HOST_CHECKS:
case CMD_DISABLE_PASSIVE_HOST_CHECKS:
- printf("%s accepting passive checks for a particular host",(cmd==CMD_ENABLE_PASSIVE_HOST_CHECKS)?"start":"stop");
+ printf("指定したホストのパッシブチェックを%sする",(cmd==CMD_ENABLE_PASSIVE_HOST_CHECKS)?"開始":"停止");
break;
case CMD_START_OBSESSING_OVER_HOST_CHECKS:
case CMD_STOP_OBSESSING_OVER_HOST_CHECKS:
- printf("%s obsessing over host checks",(cmd==CMD_START_OBSESSING_OVER_HOST_CHECKS)?"start":"stop");
+ printf("Obsessing Overホストのチェックを%sする",(cmd==CMD_START_OBSESSING_OVER_HOST_CHECKS)?"開始":"停止");
break;
case CMD_SCHEDULE_HOST_CHECK:
- printf("schedule a host check");
+ printf("ホストチェックをスケジュールに追加する");
break;
case CMD_START_OBSESSING_OVER_SVC:
case CMD_STOP_OBSESSING_OVER_SVC:
- printf("%s obsessing over a particular service",(cmd==CMD_START_OBSESSING_OVER_SVC)?"start":"stop");
+ printf("指定したサービスのObsessing Overを%sする",(cmd==CMD_START_OBSESSING_OVER_SVC)?"開始":"停止");
break;
case CMD_START_OBSESSING_OVER_HOST:
case CMD_STOP_OBSESSING_OVER_HOST:
- printf("%s obsessing over a particular host",(cmd==CMD_START_OBSESSING_OVER_HOST)?"start":"stop");
+ printf("指定したホストのObsessing Overを%sする",(cmd==CMD_START_OBSESSING_OVER_HOST)?"開始":"停止");
break;
case CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS:
case CMD_DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS:
- printf("%s notifications for all services in a particular servicegroup",(cmd==CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS)?"enable":"disable");
+ printf("指定したサービスグループ上の全サービスの通知を%sにする",(cmd==CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS:
case CMD_DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS:
- printf("%s notifications for all hosts in a particular servicegroup",(cmd==CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS)?"enable":"disable");
+ printf("指定したサービスグループ上の全ホストの通知を%sにする",(cmd==CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS)?"有効":"無効");
break;
case CMD_ENABLE_SERVICEGROUP_SVC_CHECKS:
case CMD_DISABLE_SERVICEGROUP_SVC_CHECKS:
- printf("%s active checks of all services in a particular servicegroup",(cmd==CMD_ENABLE_SERVICEGROUP_SVC_CHECKS)?"enable":"disable");
+ printf("指定したサービスグループ上の全てのサービスチェックを%sにする",(cmd==CMD_ENABLE_SERVICEGROUP_SVC_CHECKS)?"有効":"無効");
break;
case CMD_SCHEDULE_SERVICEGROUP_HOST_DOWNTIME:
- printf("schedule downtime for all hosts in a particular servicegroup");
+ printf("指定したサービスグループ上のホストのダウンタイムをスケジュールに追加する");
break;
case CMD_SCHEDULE_SERVICEGROUP_SVC_DOWNTIME:
- printf("schedule downtime for all services in a particular servicegroup");
+ printf("指定したサービスグループ上のサービスのダウンタイムをスケジュールに追加する");
break;
default:
- printf("execute an unknown command. Shame on you!
");
+ printf("不明なコマンドを実行しました。
");
return;
}
@@ -915,7 +915,7 @@
printf("
\n");
printf("
\n");
- printf("
Command Options
\n");
+ printf("
コマンドオプション
\n");
printf("
\n");
printf("
\n");
@@ -928,77 +928,77 @@
case CMD_ADD_HOST_COMMENT:
case CMD_ACKNOWLEDGE_HOST_PROBLEM:
- printf("
\n");
break;
@@ -1038,10 +1038,10 @@
case CMD_DISABLE_SVC_FLAP_DETECTION:
case CMD_START_OBSESSING_OVER_SVC:
case CMD_STOP_OBSESSING_OVER_SVC:
- printf("
Host Name:
");
+ printf("
ホスト名:
");
printf("",host_name);
printf("
\n");
- printf("
Service:
");
+ printf("
サービス名:
");
printf("",service_desc);
printf("
\n");
break;
@@ -1066,16 +1066,16 @@
case CMD_DISABLE_PASSIVE_HOST_CHECKS:
case CMD_START_OBSESSING_OVER_HOST:
case CMD_STOP_OBSESSING_OVER_HOST:
- printf("
\n");
}
@@ -1105,20 +1105,20 @@
case CMD_STOP_ACCEPTING_PASSIVE_HOST_CHECKS:
case CMD_START_OBSESSING_OVER_HOST_CHECKS:
case CMD_STOP_OBSESSING_OVER_HOST_CHECKS:
- printf("
There are no options for this command. Click the 'Commit' button to submit the command.
");
+ printf("
このコマンドにはオプションはありません。 '発行'ボタンを押してコマンドを送信してください
");
break;
case CMD_PROCESS_HOST_CHECK_RESULT:
case CMD_PROCESS_SERVICE_CHECK_RESULT:
- printf("
Please enter all required information before committing the command. Required fields are marked in red. Failure to supply all required values will result in an error.
");
+ printf("
コマンドを発行する前に必須項目(赤色)に入力してください。 入力されていない場合エラーになります。
");
return;
}
@@ -1743,15 +1743,15 @@
/* to be safe, we are going to REQUIRE that the authentication functionality is enabled... */
if(use_authentication==FALSE){
if(content_type==WML_CONTENT)
- printf("
Error: Authentication is not enabled!
\n");
+ printf("
エラー: CGIの認証機能が無効になっています。
\n");
else{
printf("
\n");
- printf("
Sorry Dave, I can't let you do that...
");
+ printf("
実行できません。
");
printf("
");
- printf("It seems that you have chosen to not use the authentication functionality of the CGIs.
");
- printf("I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,");
- printf("so you'll have to disable this safeguard if you are really stubborn and want to invite trouble.
");
- printf("Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to.\n");
+ printf("CGIの認証機能が無効になっています
\n");
printf("\n");
}
@@ -1760,11 +1760,11 @@
/* the user is not authorized to issue the given command */
else if(authorized==FALSE){
if(content_type==WML_CONTENT)
- printf("
Error: You're not authorized to commit that command!
\n");
+ printf("
エラー: このコマンドを発行する権限がありません。。
\n");
else{
- printf("
Sorry, but you are not authorized to commit the specified command.
\n");
- printf("
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.
");
- printf("The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.\n");
+ printf("外部コマンドファイルが無いようです。Nagiosが動いてないか、Nagiosが外部コマンドをチェックできない状態の可能性があります。\n");
printf("
Error: Could not open command file '%s' for update!
\n",command_file);
+ printf("
エラー: コマンドファイル'%s'をアップデートできません。
\n",command_file);
printf("
");
- printf("The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.\n");
+ printf("外部コマンドファイルもしくは、ディレクトリのパーミッションに誤りがある可能性があります。パーミッションが適切かどうか確認してください。\n");
printf("
\n");
}
@@ -2226,7 +2226,7 @@
/* display information about a command */
void show_command_help(cmd){
- printf("
Command Description
\n");
+ printf("
コマンドの説明
\n");
printf("
\n");
printf("
\n");
@@ -2234,443 +2234,425 @@
switch(cmd){
case CMD_ADD_HOST_COMMENT:
- printf("This command is used to add a comment for the specified host. If you work with other administrators, you may find it useful to share information about a host\n");
- printf("that is having problems if more than one of you may be working on it. If you do not check the 'persistent' option, the comment will be automatically be deleted\n");
- printf("the next time Nagios is restarted.\n");
+ printf("このコマンドはこのホストにコメントを追加します。仕事中に起こったホストに関する様々な問題を記録すると他の管理者と共有が行え便利です。\n");
+ printf("「再起動後も(コメントを)保持させる」チェックボックスにチェックを入れないとNagiosが次に再起動したときにコメントは削除されます。\n");
break;
case CMD_ADD_SVC_COMMENT:
- printf("This command is used to add a comment for the specified service. If you work with other administrators, you may find it useful to share information about a host\n");
- printf("or service that is having problems if more than one of you may be working on it. If you do not check the 'persistent' option, the comment will automatically be\n");
- printf("deleted the next time Nagios is restarted.\n");
+ printf("このコマンドはこのホストにコメントを追加します。仕事中に起こったホストに関する様々な問題を記録すると他の管理者と共有が行え便利です。\n");
+ printf("「再起動後も(コメントを)保持させる」チェックボックスにチェックを入れないとNagiosが次に再起動したときにコメントは削除されます。 \n");
break;
case CMD_DEL_HOST_COMMENT:
- printf("This command is used to delete a specific host comment.\n");
+ printf("このコマンドはこのホストのコメントを削除します。\n");
break;
case CMD_DEL_SVC_COMMENT:
- printf("This command is used to delete a specific service comment.\n");
+ printf("このコマンドはこのサービスのコメントを削除します。\n");
break;
case CMD_DELAY_HOST_NOTIFICATION:
- printf("This command is used to delay the next problem notification that is sent out for the specified host. The notification delay will be disregarded if\n");
- printf("the host changes state before the next notification is scheduled to be sent out. This command has no effect if the host is currently UP.\n");
+ printf("このコマンドは障害を検出した時にこのホストの次回通知を遅らせます。ただし、遅らせた通知が作動する前にホストの状態が変化した場合は無視されます。\n");
+ printf("また、ホストが稼働状態の場合はこのコマンドは効果がありません\n");
break;
case CMD_DELAY_SVC_NOTIFICATION:
- printf("This command is used to delay the next problem notification that is sent out for the specified service. The notification delay will be disregarded if\n");
- printf("the service changes state before the next notification is scheduled to be sent out. This command has no effect if the service is currently in an OK state.\n");
+ printf("このコマンドは障害を検出した時にこのサービスの次回通知を遅らせます。ただし、遅らせた通知が作動する前にホストの状態が変化した場合は無視されます。\n");
+ printf("また、ホストが稼働状態の場合はこのコマンドは効果がありません\n");
break;
case CMD_SCHEDULE_SVC_CHECK:
- printf("This command is used to schedule the next check of a particular service. Nagios will re-queue the service to be checked at the time you specify.\n");
- printf("If you select the force check option, Nagios will force a check of the service regardless of both what time the scheduled check occurs and whether or not checks are enabled for the service.\n");
+ printf("このコマンドは指定したサービスを次回からチェックするようにスケジュールするために使います。実行するとNagiosは指定する時にチェックされるサービスをキューに入れます。\n");
+ printf("また、「強制的にチェック」にチェックを入れるとNagiosは他にチェックがスケジュールされていない場合やこのサービスのサービスチェックが無効になっていた場合であっても強制的にチェックを行います。パッシブサービスチェックのみのサービスであってもアクティブチェックされていますので注意してください。\n");
break;
case CMD_ENABLE_SVC_CHECK:
- printf("This command is used to enable active checks of a service.\n");
+ printf("このコマンドはアクティブなサービスのチェックを有効にするために使います。\n");
break;
case CMD_DISABLE_SVC_CHECK:
- printf("This command is used to disable active checks of a service.\n");
+ printf("このコマンドはアクティブなサービスのチェックを無効にするために使います。\n");
break;
case CMD_DISABLE_NOTIFICATIONS:
- printf("This command is used to disable host and service notifications on a program-wide basis.\n");
+ printf("このコマンドはホストとサービスの通知機能をグローバル設定として無効にします。\n");
break;
case CMD_ENABLE_NOTIFICATIONS:
- printf("This command is used to enable host and service notifications on a program-wide basis.\n");
+ printf("このコマンドはホストとサービスの通知機能をグローバル設定として有効にします。\n");
break;
case CMD_SHUTDOWN_PROCESS:
- printf("This command is used to shutdown the Nagios process. Note: Once the Nagios has been shutdown, it cannot be restarted via the web interface!\n");
+ printf("このコマンドはNagiosを停止させます。注)一度このコマンドでNagiosを停止させると、WebインターフェースからNagiosを起動することはできないので注意してください。\n");
break;
case CMD_RESTART_PROCESS:
- printf("This command is used to restart the Nagios process. Executing a restart command is equivalent to sending the process a HUP signal.\n");
- printf("All information will be flushed from memory, the configuration files will be re-read, and Nagios will start monitoring with the new configuration information.\n");
+ printf("このコマンドはNagiosを再起動させます。再起動コマンドはプロセスにHUPシグナルのを送るのと同じです。\n");
+ printf("メモリ上の全情報のクリア、設定ファイルを再読込したあとNagiosはモニタリングを開始します\n");
break;
case CMD_ENABLE_HOST_SVC_CHECKS:
- printf("This command is used to enable active checks of all services associated with the specified host. This does not enable checks of the host unless you check the 'Enable for host too' option.\n");
+ printf("このコマンドはこのホストの全サービスのチェックを有効にします。ただし、ホストチェックは有効になりません。ホストのチェックを有効にしたい場合は、「同時にホストも有効にする」をチェックします。\n");
break;
case CMD_DISABLE_HOST_SVC_CHECKS:
- printf("This command is used to disable active checks of all services associated with the specified host. When a service is disabled Nagios will not monitor the service. Doing this will prevent any notifications being sent out for\n");
- printf("the specified service while it is disabled. In order to have Nagios check the service in the future you will have to re-enable the service.\n");
- printf("Note that disabling service checks may not necessarily prevent notifications from being sent out about the host which those services are associated with. This does not disable checks of the host unless you check the 'Disable for host too' option.\n");
+ printf("このコマンドはこのホストの全サービスのチェックを無効にします。サービスを無効にするとNagiosはモニターしなくなります。これは障害が起こっているときに通知を送るのを抑制することができます。再度サービスをチェックを行うには「有効」にすることで出来ます。ただし、ホストチェックは無効になりません。ホストのチェックも無効にしたい場合は、「同時にホストチェックも無効にする」をチェックします。\n");
break;
case CMD_SCHEDULE_HOST_SVC_CHECKS:
- printf("This command is used to scheduled the next check of all services on the specified host. If you select the force check option, Nagios will force a check of all services on the host regardless of both what time the scheduled checks occur and whether or not checks are enabled for those services.\n");
+ printf("このコマンドは指定されたホスト上の全てのサービスを次回からチェックするようにスケジュールするために使います。「強制的にチェック」にチェックを入れるとNagiosは他にチェックがスケジュールされていても、このサービスのサービスチェックが無効になっていたとしても強制的にチェックを行います。パッシブサービスチェックのみのサービスであってもアクティブチェックされてますので注意してください。\n");
break;
case CMD_DEL_ALL_HOST_COMMENTS:
- printf("This command is used to delete all comments associated with the specified host.\n");
+ printf("このコマンドは指定したホストの全コメントを削除します。\n");
break;
case CMD_DEL_ALL_SVC_COMMENTS:
- printf("This command is used to delete all comments associated with the specified service.\n");
+ printf("このコマンドは指定したサービスの全コメントを削除します。\n");
break;
case CMD_ENABLE_SVC_NOTIFICATIONS:
- printf("This command is used to enable notifications for the specified service. Notifications will only be sent out for the\n");
- printf("service state types you defined in your service definition.\n");
+ printf("このコマンドは指定したサービスの通知機能を有効にします。通知は定義したサービス情報の状態が変わった際に送られます。\n");
break;
case CMD_DISABLE_SVC_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for the specified service. You will have to re-enable notifications\n");
- printf("for this service before any alerts can be sent out in the future.\n");
+ printf("このコマンドは指定したサービスの通知機能を無効にします。通知機能は再度有効にするまで一切機能しません\n");
break;
case CMD_ENABLE_HOST_NOTIFICATIONS:
- printf("This command is used to enable notifications for the specified host. Notifications will only be sent out for the\n");
- printf("host state types you defined in your host definition. Note that this command does not enable notifications\n");
- printf("for services associated with this host.\n");
+ printf("このコマンドは指定したホストの通知機能を有効にします。通知は定義したホスト情報の状態が変わった際に送られます。\n");
+ printf("注)このコマンドではホストに付随するサービスの通知機能までは有効になりません。\n");
break;
case CMD_DISABLE_HOST_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for the specified host. You will have to re-enable notifications for this host\n");
- printf("before any alerts can be sent out in the future. Note that this command does not disable notifications for services associated with this host.\n");
+ printf("このコマンドは指定したホストの通知機能を無効にします。通知機能は再度有効にするまで一切機能しません。\n");
+ printf("注)このコマンドではホストに付随するサービスの通知機能までは無効になりません。\n");
break;
case CMD_ENABLE_ALL_NOTIFICATIONS_BEYOND_HOST:
- printf("This command is used to enable notifications for all hosts and services that lie \"beyond\" the specified host\n");
- printf("(from the view of Nagios).\n");
+ printf("このコマンドは指定したホストの向こうにある全てのホストとサービスの通知機能を有効にします。\n");
break;
case CMD_DISABLE_ALL_NOTIFICATIONS_BEYOND_HOST:
- printf("This command is used to temporarily prevent notifications from being sent out for all hosts and services that lie\n");
- printf("\"beyone\" the specified host (from the view of Nagios).\n");
+ printf("このコマンドは指定したホストの向こうにある全てのホストとサービスの通知機能を無効にします。\n");
break;
case CMD_ENABLE_HOST_SVC_NOTIFICATIONS:
- printf("This command is used to enable notifications for all services on the specified host. Notifications will only be sent out for the\n");
- printf("service state types you defined in your service definition. This does not enable notifications for the host unless you check the 'Enable for host too' option.\n");
+ printf("このコマンドは指定したホストの全サービスの通知機能を有効にします。通知は定義したサービス状態が変化した際に送られます。\n");
+ printf("このコマンドではホストの通知機能は有効になりません。ホストも同様に通知機能を有効にしたい場合は「同時にホストも有効にする」をチェックします。\n");
break;
case CMD_DISABLE_HOST_SVC_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for all services on the specified host. You will have to re-enable notifications for\n");
- printf("all services associated with this host before any alerts can be sent out in the future. This does not prevent notifications from being sent out about the host unless you check the 'Disable for host too' option.\n");
+ printf("このコマンドは指定したホストの全サービスの通知機能を無効にします。通知機能は再度有効にするまで機能しません。\n");
+ printf("このコマンドではホストの通知機能は無効になりません。ホストも同様に通知機能を無効にしたい場合は「同時にホストも無効にする」をチェックします。\n");
break;
case CMD_ACKNOWLEDGE_HOST_PROBLEM:
- printf("This command is used to acknowledge a host problem. When a host problem is acknowledged, future notifications about problems are temporarily disabled until the host changes from its current state.\n");
- printf("If you want acknowledgement to disable notifications until the host recovers, check the 'Sticky Acknowledgement' checkbox.\n");
- printf("Contacts for this host will receive a notification about the acknowledgement, so they are aware that someone is working on the problem. Additionally, a comment will also be added to the host.\n");
- printf("Make sure to enter your name and fill in a brief description of what you are doing in the comment field. If you would like the host comment to be retained between restarts of Nagios, check\n");
- printf("the 'Persistent Comment' checkbox. If you do not want an acknowledgement notification sent out to the appropriate contacts, uncheck the 'Send Notification' checkbox.\n");
+ printf("このコマンドは指定したホストの問題を既知としてマークします。ホストの問題が既知としてマークされたら、今後この問題に関して状態が変わるまで(たとえば復旧するなど)通知を行わなくなります。\n");
+ printf("このコマンドが実行されるとホストの通知先に「問題を認知した」という通知が行われます。加えてコメントも追加されます。\n");
+ printf("名前とちょっとした説明を入れてください。Nagiosが再起動してもこの作業を保存したければ「保存する」にチェックを入れます。もし、この問題を認知した警報を通知したくなければ「警報を通知」のチェックをはずしてください\n");
break;
case CMD_ACKNOWLEDGE_SVC_PROBLEM:
- printf("This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state.\n");
- printf("If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox.\n");
- printf("Contacts for this service will receive a notification about the acknowledgement, so they are aware that someone is working on the problem. Additionally, a comment will also be added to the service.\n");
- printf("Make sure to enter your name and fill in a brief description of what you are doing in the comment field. If you would like the service comment to be retained between restarts of Nagios, check\n");
- printf("the 'Persistent Comment' checkbox. If you do not want an acknowledgement notification sent out to the appropriate contacts, uncheck the 'Send Notification' checkbox.\n");
+ printf("このコマンドは指定したサービスの問題を既知としてマークします。ホストの問題が既知としてマークされたら、今後この問題に関して状態が変わるまで(たとえば復旧するなど)通知を行わなくなります。\n");
+ printf("このコマンドが実行されるとサービスの通知先に「問題を認知した」という通知が行われます。加えてコメントも追加されます。\n");
+ printf("名前とちょっとした説明を入れてください。Nagiosが再起動してもこの作業を保存したければ「保存する」にチェックを入れます。もし、この問題を認知した警報を通知したくなければ「警報を通知」のチェックをはずしてください\n");
break;
case CMD_START_EXECUTING_SVC_CHECKS:
- printf("This command is used to resume execution of active service checks on a program-wide basis. Individual services which are disabled will still not be checked.\n");
+ printf("このコマンドはグローバル設定としてサービスチェックを再開します。ただし、個々のサービスでサービスチェックが無効になっているものはそのまま無効になります。\n");
break;
case CMD_STOP_EXECUTING_SVC_CHECKS:
- printf("This command is used to temporarily stop Nagios from actively executing any service checks. This will have the side effect of preventing any notifications from being sent out (for any and all services and hosts).\n");
- printf("Service checks will not be executed again until you issue a command to resume service check execution.\n");
+ printf("このコマンドは一時的に全てのサービスチェックを停止します。これによりどんな通知も行わなくなります。\n");
+ printf("サービスチェックはサービスチェックを再開するコマンドを発行するまで行われません。\n");
break;
case CMD_START_ACCEPTING_PASSIVE_SVC_CHECKS:
- printf("This command is used to make Nagios start accepting passive service check results that it finds in the external command file\n");
+ printf("このコマンドはNagiosが外部コマンドからパッシブサービスチェックの結果を受け付けるようにします。\n");
break;
case CMD_STOP_ACCEPTING_PASSIVE_SVC_CHECKS:
- printf("This command is use to make Nagios stop accepting passive service check results that it finds in the external command file. All passive check results that are found will be ignored.\n");
+ printf("このコマンドはNagiosが外部コマンドからパッシブサービスチェックの結果を受け付ないようにします。\n");
break;
case CMD_ENABLE_PASSIVE_SVC_CHECKS:
- printf("This command is used to allow Nagios to accept passive service check results that it finds in the external command file for this particular service.\n");
+ printf("このコマンドはNagiosが外部コマンドから指定したサービスについてのパッシブサービスチェックの結果を受け付けるようにします。\n");
break;
case CMD_DISABLE_PASSIVE_SVC_CHECKS:
- printf("This command is used to stop Nagios accepting passive service check results that it finds in the external command file for this particular service. All passive check results that are found for this service will be ignored.\n");
+ printf("このコマンドはNagiosが外部コマンドから指定したサービスについてのパッシブサービスチェックの結果を受け付けないようにします。\n");
break;
case CMD_ENABLE_EVENT_HANDLERS:
- printf("This command is used to allow Nagios to run host and service event handlers.\n");
+ printf("このコマンドはホスト、サービスのイベントハンドラを有効にします。\n");
break;
case CMD_DISABLE_EVENT_HANDLERS:
- printf("This command is used to temporarily prevent Nagios from running any host or service event handlers.\n");
+ printf("このコマンドはホスト、サービスのイベントハンドラを無効にします。\n");
break;
case CMD_ENABLE_SVC_EVENT_HANDLER:
- printf("This command is used to allow Nagios to run the service event handler for a particular service when necessary (if one is defined).\n");
+ printf("このコマンドは指定したサービスのイベントハンドラを有効にします。\n");
break;
case CMD_DISABLE_SVC_EVENT_HANDLER:
- printf("This command is used to temporarily prevent Nagios from running the service event handler for a particular service.\n");
+ printf("このコマンドは指定したサービスのイベントハンドラを無効にします。\n");
break;
case CMD_ENABLE_HOST_EVENT_HANDLER:
- printf("This command is used to allow Nagios to run the host event handler for a particular service when necessary (if one is defined).\n");
+ printf("このコマンドは指定したホストのイベントハンドラを有効にします。\n");
break;
case CMD_DISABLE_HOST_EVENT_HANDLER:
- printf("This command is used to temporarily prevent Nagios from running the host event handler for a particular host.\n");
+ printf("このコマンドは指定したホストのイベントハンドラを無効にします。\n");
break;
case CMD_ENABLE_HOST_CHECK:
- printf("This command is used to enable active checks of this host.\n");
+ printf("このコマンドはホストチェックを有効にします。\n");
break;
case CMD_DISABLE_HOST_CHECK:
- printf("This command is used to temporarily prevent Nagios from actively checking the status of a particular host. If Nagios needs to check the status of this host, it will assume that it is in the same state that it was in before checks were disabled.\n");
+ printf("このコマンドはホストチェックを無効にします。もしNagiosがこのホストのチェックデータが必要となったら、無効にする前の状態を現在の状態とみなします。\n");
break;
case CMD_START_OBSESSING_OVER_SVC_CHECKS:
- printf("This command is used to have Nagios start obsessing over service checks. Read the documentation on distributed monitoring for more information on this.\n");
+ printf("このコマンドはNagiosにObsessing overサービスチェックを開始させます。この機能についてはドキュメントを参照してください。\n");
break;
case CMD_STOP_OBSESSING_OVER_SVC_CHECKS:
- printf("This command is used stop Nagios from obsessing over service checks.\n");
+ printf("このコマンドはNagiosにObsessing overサービスチェックを停止させます。この機能についてはドキュメントを参照してください。\n");
break;
case CMD_REMOVE_HOST_ACKNOWLEDGEMENT:
- printf("This command is used to remove an acknowledgement for a particular host problem. Once the acknowledgement is removed, notifications may start being\n");
- printf("sent out about the host problem. Note: Removing the acknowledgement does not remove the host comment that was originally associated\n");
- printf("with the acknowledgement. You'll have to remove that as well if that's what you want.\n");
+ printf("このコマンドは指定したホストの既知マークを削除し、通知を再開します\n");
+ printf("注)このコマンドでは既知マークをつけたときのコメントは削除しません。\n");
+ printf("コメントを削除したい場合は手動で削除する必要があります。\n");
break;
case CMD_REMOVE_SVC_ACKNOWLEDGEMENT:
- printf("This command is used to remove an acknowledgement for a particular service problem. Once the acknowledgement is removed, notifications may start being\n");
- printf("sent out about the service problem. Note: Removing the acknowledgement does not remove the service comment that was originally associated\n");
- printf("with the acknowledgement. You'll have to remove that as well if that's what you want.\n");
+ printf("このコマンドは指定したサービスの既知マークを削除し、通知を再開します。\n");
+ printf("注)このコマンドでは既知マークをつけたときのコメントは削除しません。\n");
+ printf("コメントを削除したい場合は手動で削除する必要があります。\n");
break;
case CMD_PROCESS_SERVICE_CHECK_RESULT:
- printf("This command is used to submit a passive check result for a particular service. It is particularly useful for resetting security-related services to OK states once they have been dealt with.\n");
+ printf("このコマンドは指定したサービスからのPassiveチェックの結果を送信します。これは作業が行われたり、作業を完了したり、セキュリティチェックなどに有効活用できます。\n");
break;
case CMD_PROCESS_HOST_CHECK_RESULT:
- printf("This command is used to submit a passive check result for a particular host.\n");
+ printf("このコマンドは指定したホストのPassiveチェックの結果を送信します。\n");
break;
case CMD_SCHEDULE_HOST_DOWNTIME:
- printf("This command is used to schedule downtime for a particular host. During the specified downtime, Nagios will not send notifications out about the host.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for this host as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("If you select the fixed option, the downtime will be in effect between the start and end times you specify. If you do not select the fixed\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when the host goes down or becomes unreachable (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed downtime.\n");
+ printf("このコマンドは指定したホストのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはホストに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます。\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし「固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはホストが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
case CMD_SCHEDULE_SVC_DOWNTIME:
- printf("This command is used to schedule downtime for a particular service. During the specified downtime, Nagios will not send notifications out about the service.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for this service as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when the service enters a non-OK state (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed downtime.\n");
+ printf("このコマンドは指定したサービスのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはサービスに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます。\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし「固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはサービスが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
case CMD_ENABLE_HOST_FLAP_DETECTION:
- printf("This command is used to enable flap detection for a specific host. If flap detection is disabled on a program-wide basis, this will have no effect,\n");
+ printf("このコマンドは指定したホストのフラップ検知を有効にします。ただし、フラップ検知がグローバル設定で無効に設定されている場合はこのコマンドは何の効果も持ちません。\n");
break;
case CMD_DISABLE_HOST_FLAP_DETECTION:
- printf("This command is used to disable flap detection for a specific host.\n");
+ printf("このコマンドは指定したホストのフラップ検知を無効にします。\n");
break;
case CMD_ENABLE_SVC_FLAP_DETECTION:
- printf("This command is used to enable flap detection for a specific service. If flap detection is disabled on a program-wide basis, this will have no effect,\n");
+ printf("このコマンドは指定したサービスのフラップ検知を有効にします。ただし、フラップ検知がグローバル設定で無効に設定されている場合はこのコマンドは何の効果も持ちません。\n");
break;
case CMD_DISABLE_SVC_FLAP_DETECTION:
- printf("This command is used to disable flap detection for a specific service.\n");
+ printf("このコマンドは指定したサービスのフラップ検知を無効にします。\n");
break;
case CMD_ENABLE_FLAP_DETECTION:
- printf("This command is used to enable flap detection for hosts and services on a program-wide basis. Individual hosts and services may have flap detection disabled.\n");
+ printf("このコマンドはグローバル設定としてフラップ検知を有効にします。個々のホストやサービスで無効に設定されている場合、それらは保持されたままになります。\n");
break;
case CMD_DISABLE_FLAP_DETECTION:
- printf("This command is used to disable flap detection for hosts and services on a program-wide basis.\n");
+ printf("このコマンドはグローバル設定としてフラップ検知を無効にします。\n");
break;
case CMD_ENABLE_HOSTGROUP_SVC_NOTIFICATIONS:
- printf("This command is used to enable notifications for all services in the specified hostgroup. Notifications will only be sent out for the\n");
- printf("service state types you defined in your service definitions. This does not enable notifications for the hosts in this hostgroup unless you check the 'Enable for hosts too' option.\n");
+ printf("このコマンドは指定したホストグループの全サービスの通知を有効にします。通知はサービス定義で定義したサービスのみ送られます。\n");
+ printf("このコマンドでは指定したホストグループ上のホストの通知機能は有効になりません。もし有効にしたい場合は「同時にホストも有効にする」をチェックします。\n");
break;
case CMD_DISABLE_HOSTGROUP_SVC_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for all services in the specified hostgroup. You will have to re-enable notifications for\n");
- printf("all services in this hostgroup before any alerts can be sent out in the future. This does not prevent notifications from being sent out about the hosts in this hostgroup unless you check the 'Disable for hosts too' option.\n");
+ printf("このコマンドは指定したホストグループの全サービスの通知を無効にします。通知はサービス定義で定義したサービスのみ送られます。\n");
+ printf("このコマンドでは指定したホストグループ上のホストの通知機能は無効になりません。もし無効にしたい場合は「同時にホストも無効にする」をチェックします。\n");
break;
case CMD_ENABLE_HOSTGROUP_HOST_NOTIFICATIONS:
- printf("This command is used to enable notifications for all hosts in the specified hostgroup. Notifications will only be sent out for the\n");
- printf("host state types you defined in your host definitions.\n");
+ printf("このコマンドは指定したホストグループ上の全ホストの通知を有効にします。\n");
+ printf("通知はホスト定義で定義したホストのみに送られます。\n");
break;
case CMD_DISABLE_HOSTGROUP_HOST_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for all hosts in the specified hostgroup. You will have to re-enable notifications for\n");
- printf("all hosts in this hostgroup before any alerts can be sent out in the future.\n");
+ printf("このコマンドは指定したホストグループ上の全ホストの通知を無効にします。\n");
+ printf("再度このホストグループ上の全ホストに通知を有効にするまでどんな警報も通知されません。\n");
break;
case CMD_ENABLE_HOSTGROUP_SVC_CHECKS:
- printf("This command is used to enable active checks of all services in the specified hostgroup. This does not enable active checks of the hosts in the hostgroup unless you check the 'Enable for hosts too' option.\n");
+ printf("このコマンドは指定したホストグループ上のサービスチェックを有効にします。\n");
+ printf("ただし、ホストチェックまではこのコマンドでは有効になりません。有効にしたい場合は「同時にホストも有効にする」をチェックします。\n");
break;
case CMD_DISABLE_HOSTGROUP_SVC_CHECKS:
- printf("This command is used to disable active checks of all services in the specified hostgroup. This does not disable checks of the hosts in the hostgroup unless you check the 'Disable for hosts too' option.\n");
+ printf("このコマンドは指定したホストグループ上のサービスチェックを無効にします。このコマンドではホストグループのホストチェックは無効になりません。無効にしたい場合は「同時にホストも無効にする」をチェックします。\n");
break;
case CMD_DEL_HOST_DOWNTIME:
- printf("This command is used to cancel active or pending scheduled downtime for the specified host.\n");
+ printf("このコマンドは指定したホストのダウンタイムをキャンセルもしくは保留にします。\n");
break;
case CMD_DEL_SVC_DOWNTIME:
- printf("This command is used to cancel active or pending scheduled downtime for the specified service.\n");
+ printf("このコマンドは指定したサービスのダウンタイムをキャンセルもしくは保留にします。\n");
break;
case CMD_ENABLE_FAILURE_PREDICTION:
- printf("This command is used to enable failure prediction for hosts and services on a program-wide basis. Individual hosts and services may have failure prediction disabled.\n");
+ printf("このコマンドはグローバル設定としてホストとサービスの失敗予測機能を有効にします。\n");
break;
case CMD_DISABLE_FAILURE_PREDICTION:
- printf("This command is used to disable failure prediction for hosts and services on a program-wide basis.\n");
+ printf("このコマンドはグローバル設定としてホストとサービスの失敗予測機能を無効にします。\n");
break;
case CMD_ENABLE_PERFORMANCE_DATA:
- printf("This command is used to enable the processing of performance data for hosts and services on a program-wide basis. Individual hosts and services may have performance data processing disabled.\n");
+ printf("このコマンドはグローバル設定としてホストとサービスのパフォーマンスデータを有効にします。\n");
+ printf("個々のホストやサービスが無効になっている場合は無効のままになります。\n");
break;
case CMD_DISABLE_PERFORMANCE_DATA:
- printf("This command is used to disable the processing of performance data for hosts and services on a program-wide basis.\n");
+ printf("このコマンドはグローバル設定としてホストとサービスのパフォーマンスデータを無効にします。\n");
break;
case CMD_SCHEDULE_HOSTGROUP_HOST_DOWNTIME:
- printf("This command is used to schedule downtime for all hosts in a particular hostgroup. During the specified downtime, Nagios will not send notifications out about the hosts.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for the hosts as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("If you select the fixed option, the downtime will be in effect between the start and end times you specify. If you do not select the fixed\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when a host goes down or becomes unreachable (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed dowtime.\n");
+ printf("このコマンドは指定したホストグループ上の全ホストのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはホストに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます。\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし「固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはホストが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
case CMD_SCHEDULE_HOSTGROUP_SVC_DOWNTIME:
- printf("This command is used to schedule downtime for all services in a particular hostgroup. During the specified downtime, Nagios will not send notifications out about the services.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for the services as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("If you select the fixed option, the downtime will be in effect between the start and end times you specify. If you do not select the fixed\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when a service enters a non-OK state (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed dowtime.\n");
- printf("Note that scheduling downtime for services does not automatically schedule downtime for the hosts those services are associated with. If you want to also schedule downtime for all hosts in the hostgroup, check the 'Schedule downtime for hosts too' option.\n");
+ printf("このコマンドは指定したホストグループ上の全サービスのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはサービスに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます。\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし<「B>固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはホストが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
case CMD_START_EXECUTING_HOST_CHECKS:
- printf("This command is used to enable active host checks on a program-wide basis.\n");
+ printf("このコマンドはグローバル設定としてホストチェックを有効にするために使います。\n");
break;
case CMD_STOP_EXECUTING_HOST_CHECKS:
- printf("This command is used to disable active host checks on a program-wide basis.\n");
+ printf("このコマンドはグローバル設定としてホストチェックを無効にするために使います。\n");
break;
case CMD_START_ACCEPTING_PASSIVE_HOST_CHECKS:
- printf("This command is used to have Nagios start obsessing over host checks. Read the documentation on distributed monitoring for more information on this.\n");
+ printf("このコマンドはNagiosがObsessing Overホストチェックを開始するために使います。詳細な情報はドキュメントの分散モニタリング(distributed monitoring)の部分を参照してください。\n");
break;
case CMD_STOP_ACCEPTING_PASSIVE_HOST_CHECKS:
- printf("This command is used to stop Nagios from obsessing over host checks.\n");
+ printf("このコマンドはNagiosがObsessing Overホストチェックを停止するために使います。\n");
break;
case CMD_ENABLE_PASSIVE_HOST_CHECKS:
- printf("This command is used to allow Nagios to accept passive host check results that it finds in the external command file for a particular host.\n");
+ printf("このコマンドはNagiosが指定したホストの外部コマンドからパッシブチェックを行うことを許可するために使用します。\n");
break;
case CMD_DISABLE_PASSIVE_HOST_CHECKS:
- printf("This command is used to stop Nagios from accepting passive host check results that it finds in the external command file for a particular host. All passive check results that are found for this host will be ignored.\n");
+ printf("このコマンドはNagiosが指定したホストの外部コマンドからパッシブチェックを行うことを拒否するために使用します。これを実行すると指定したホストからの全てのPassiveチェックが無視されます。\n");
break;
case CMD_START_OBSESSING_OVER_HOST_CHECKS:
- printf("This command is used to have Nagios start obsessing over host checks. Read the documentation on distributed monitoring for more information on this.\n");
+ printf("このコマンドはobsessing overホストチェックを開始するために使います。詳細な情報はドキュメントの分散モニタリング(distributed monitoring)の部分を参照してください。\n");
break;
case CMD_STOP_OBSESSING_OVER_HOST_CHECKS:
- printf("This command is used to stop Nagios from obsessing over host checks.\n");
+ printf("このコマンドはobsessing overホストチェックを停止するために使います。\n");
break;
case CMD_SCHEDULE_HOST_CHECK:
- printf("This command is used to schedule the next check of a particular host. Nagios will re-queue the host to be checked at the time you specify.\n");
- printf("If you select the force check option, Nagios will force a check of the host regardless of both what time the scheduled check occurs and whether or not checks are enabled for the host.\n");
+ printf("このコマンドは指定したホストを次回からチェックするようにスケジュールするために使います。実行するとNagiosは指定する時にチェックされるサービスをキューに入れます。\n");
+ printf("また、「強制的にチェック」にチェックを入れるとNagiosは他にチェックがスケジュールされていない場合やこのホストのホストチェックが無効になっていた場合であっても強制的にチェックを行います。\n");
break;
case CMD_START_OBSESSING_OVER_SVC:
- printf("This command is used to have Nagios start obsessing over a particular service.\n");
+ printf("このコマンドは指定したサービスのobsessing overを開始するために使います。\n");
break;
case CMD_STOP_OBSESSING_OVER_SVC:
- printf("This command is used to stop Nagios from obsessing over a particular service.\n");
+ printf("このコマンドは指定したサービスのobsessing overを停止するために使います。\n");
break;
case CMD_START_OBSESSING_OVER_HOST:
- printf("This command is used to have Nagios start obsessing over a particular host.\n");
+ printf("このコマンドは指定したホストのobsessing overを開始するために使います。\n");
break;
case CMD_STOP_OBSESSING_OVER_HOST:
- printf("This command is used to stop Nagios from obsessing over a particular host.\n");
+ printf("このコマンドは指定したホストのobsessing overを開始するために使います。\n");
break;
case CMD_ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS:
- printf("This command is used to enable notifications for all services in the specified servicegroup. Notifications will only be sent out for the\n");
- printf("service state types you defined in your service definitions. This does not enable notifications for the hosts in this servicegroup unless you check the 'Enable for hosts too' option.\n");
+ printf("このコマンドは指定したサービスグループの全サービスの通知を有効にします。通知はサービス定義で定義したサービスのみ送られます。\n");
+ printf("このコマンドでは指定したサービスグループ上のホストの通知機能は有効になりません。もし有効にしたい場合は「同時にホストも有効にする」をチェックします。\n");
break;
case CMD_DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for all services in the specified servicegroup. You will have to re-enable notifications for\n");
- printf("all services in this servicegroup before any alerts can be sent out in the future. This does not prevent notifications from being sent out about the hosts in this servicegroup unless you check the 'Disable for hosts too' option.\n");
+ printf("このコマンドは指定したサービスグループの全サービスの通知を無効にします。通知はサービス定義で定義したサービスのみ送られます。\n");
+ printf("このコマンドでは指定したサービスグループ上のホストの通知機能は無効になりません。もし有効にしたい場合は「同時にホストも無効にする」をチェックします。\n");
break;
case CMD_ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS:
- printf("This command is used to enable notifications for all hosts in the specified servicegroup. Notifications will only be sent out for the\n");
- printf("host state types you defined in your host definitions.\n");
+ printf("このコマンドは指定したサービスグループ上の全ホストの通知を有効にします。\n");
+ printf("通知はホスト定義で定義したホストのみに送られます。\n");
break;
case CMD_DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS:
- printf("This command is used to prevent notifications from being sent out for all hosts in the specified servicegroup. You will have to re-enable notifications for\n");
- printf("all hosts in this servicegroup before any alerts can be sent out in the future.\n");
+ printf("このコマンドは指定したサービスグループ上の全ホストの通知を無効にします。\n");
+ printf("再度このサービスグループ上の全ホストに通知を有効にするまでどんな警報も通知されません。\n");
break;
case CMD_ENABLE_SERVICEGROUP_SVC_CHECKS:
- printf("This command is used to enable active checks of all services in the specified servicegroup. This does not enable active checks of the hosts in the servicegroup unless you check the 'Enable for hosts too' option.\n");
+ printf("このコマンドは指定したサービスグループ上のサービスチェックを有効にします。このコマンドではサービスグループのホストチェックは有効になりません。有効にしたい場合は「同時にホストも有効にする」にチェックを入れてください。\n");
break;
case CMD_DISABLE_SERVICEGROUP_SVC_CHECKS:
- printf("This command is used to disable active checks of all services in the specified servicegroup. This does not disable checks of the hosts in the servicegroup unless you check the 'Disable for hosts too' option.\n");
+ printf("このコマンドは指定したサービスグループ上のサービスチェックを無効にします。このコマンドではサービスグループのホストチェックは無効になりません。無効にしたい場合は「同時にホストも無効にする」にチェックを入れてください。\n");
break;
case CMD_SCHEDULE_SERVICEGROUP_HOST_DOWNTIME:
- printf("This command is used to schedule downtime for all hosts in a particular servicegroup. During the specified downtime, Nagios will not send notifications out about the hosts.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for the hosts as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("If you select the fixed option, the downtime will be in effect between the start and end times you specify. If you do not select the fixed\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when a host goes down or becomes unreachable (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed dowtime.\n");
+ printf("このコマンドは指定したサービスグループ上の全ホストのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはホストに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし「固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはホストが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
case CMD_SCHEDULE_SERVICEGROUP_SVC_DOWNTIME:
- printf("This command is used to schedule downtime for all services in a particular servicegroup. During the specified downtime, Nagios will not send notifications out about the services.\n");
- printf("When the scheduled downtime expires, Nagios will send out notifications for the services as it normally would. Scheduled downtimes are preserved\n");
- printf("across program shutdowns and restarts. Both the start and end times should be specified in the following format: mm/dd/yyyy hh:mm:ss.\n");
- printf("If you select the fixed option, the downtime will be in effect between the start and end times you specify. If you do not select the fixed\n");
- printf("option, Nagios will treat this as \"flexible\" downtime. Flexible downtime starts when a service enters a non-OK state (sometime between the\n");
- printf("start and end times you specified) and lasts as long as the duration of time you enter. The duration fields do not apply for fixed dowtime.\n");
- printf("Note that scheduling downtime for services does not automatically schedule downtime for the hosts those services are associated with. If you want to also schedule downtime for all hosts in the servicegroup, check the 'Schedule downtime for hosts too' option.\n");
+ printf("このコマンドは指定したサービスグループ上の全サービスのダウンタイムをスケジュールします。ダウンタイムを設定するとその間はNagiosはサービスに関する通知を行わなくなります。\n");
+ printf("ダウンタイムが経過したらNagiosは通常どおり通知を行います。このスケジュール内容はNagiosが再起動した場合でも保存されます\n");
+ printf("フィールドにダウンタイム開始時間と終了時間をmm/dd/yyy hh:mm:ss形式で入力してください。\n");
+ printf("もし「固定」にチェックを入れると入力した開始時間と終了時間きっちりにスケジュールされます。もし「固定」にチェックを入れない場合はNagiosは\"フレキシブル\"なダウンタイムとします。\n");
+ printf("フレキシブルなダウンタイムとはホストが停止または未到達になる開始時間から経過時間を指定してダウンタイムを決定することです。「固定」にチェックを入れた場合期間を指定する箇所は入力しても無効になります。\n");
break;
default:
- printf("Sorry, but no information is available for this command.");
+ printf("このコマンドの情報はありません。");
}
printf("
\n");
diff -Nnaur cgi/config.c.orig cgi/config.c
--- cgi/config.c.orig Wed Mar 22 06:31:46 2006
+++ cgi/config.c Sun Oct 29 23:24:24 2006
@@ -149,7 +149,7 @@
/* left column of the first row */
printf("
",bg_class);
if(temp_se->notification_interval==0)
- printf("Notify Only Once (No Re-notification)");
+ printf("1回のみ(再通知無し)");
else
printf("%d",temp_se->notification_interval);
printf("
",bg_class);
if(temp_he->notification_interval==0)
- printf("Notify Only Once (No Re-notification)");
+ printf("1回のみ(再通知無し)");
else
printf("%d",temp_he->notification_interval);
printf("
\n");
/* check all the definitions... */
@@ -1923,7 +1924,7 @@
/* read in command definitions... */
read_all_object_configuration_data(main_config_file,READ_HOSTEXTINFO);
- printf("
Extended Service Information
\n");
+ printf("
サービス情報
\n");
printf("
\n");
printf("
\n");
@@ -1933,11 +1934,11 @@
printf("
Service
");
printf("\n");
printf("
\n");
- printf("
Host
");
- printf("
Description
");
- printf("
Notes URL
");
- printf("
Logo Image
");
- printf("
Image Alt
");
+ printf("
ホスト
");
+ printf("
説明
");
+ printf("
参考URL
");
+ printf("
ロゴ画像
");
+ printf("
画像の説明(ALT属性)
");
printf("
\n");
/* check all the definitions... */
@@ -1982,9 +1983,8 @@
void unauthorized_message(void){
- printf("
It appears as though you do not have permission to view the configuration information you requested...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
}
@@ -516,7 +516,7 @@
printf("\n");
printf("\n");
printf("\n");
- printf("Extended Information\n");
+ printf("情報\n");
printf("\n");
if(use_stylesheet==TRUE){
@@ -697,9 +697,8 @@
/* make sure the user has rights to view system information */
if(is_authorized_for_system_information(¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view process information...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
- printf("Hint: It looks as though you have not defined a command for checking the process state by supplying a value for the nagios_check_command option in the CGI configuration file. \n");
- printf("Read the documentation for more information on checking the status of the Nagios process in the CGIs.\n");
+ printf("ヒント:プロセス情報をチェックするコマンドが設定されてない可能性があります。CGI設定ファイル中のnagios_check_commandをチェックしてください。 \n");
+ printf("より詳しい情報はドキュメントを参照してください。 \n");
}
printf("
\n",state_class,state_string);
/* process check command result */
- printf("
Check Command Output:
%s
\n",nagios_process_info);
+ printf("
チェックコマンド出力:
%s
\n",nagios_process_info);
printf("
\n");
printf("
\n");
@@ -939,9 +938,8 @@
/* make sure the user has rights to view host information */
if(is_authorized_for_host(temp_host,¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view information for this host...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
@@ -1244,9 +1242,8 @@
/* make sure the user has rights to view service information */
if(is_authorized_for_service(temp_service,¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view information for this service...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
@@ -1574,16 +1571,15 @@
/* make sure the user has rights to view hostgroup information */
if(is_authorized_for_hostgroup(temp_hostgroup,¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view information for this hostgroup...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
@@ -1667,16 +1663,15 @@
/* make sure the user has rights to view servicegroup information */
if(is_authorized_for_servicegroup(temp_servicegroup,¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view information for this servicegroup...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
/* display all the service comments */
for(temp_comment=comment_list,total_comments=0;temp_comment!=NULL;temp_comment=temp_comment->next){
@@ -1896,13 +1891,13 @@
printf("
\n");
/* display all the service downtime */
for(temp_downtime=scheduled_downtime_list,total_downtime=0;temp_downtime!=NULL;temp_downtime=temp_downtime->next){
@@ -2625,7 +2620,7 @@
printf("
\n");
@@ -2664,9 +2659,8 @@
/* make sure the user has rights to view system information */
if(is_authorized_for_system_information(¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view process information...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n");
if(display_type==DISPLAY_HOST_HISTOGRAM)
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Host Alert Histogram");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"ホストの警報ヒストグラム");
else if(display_type==DISPLAY_SERVICE_HISTOGRAM)
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Service Alert Histogram");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"サービスの警報ヒストグラム");
else
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"Host and Service Alert Histogram");
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"ホスト・サービスの警報ヒストグラム");
temp_buffer[sizeof(temp_buffer)-1]='\x0';
display_info_table(temp_buffer,FALSE,¤t_authdata);
@@ -342,24 +344,24 @@
if(display_type==DISPLAY_HOST_HISTOGRAM){
#ifdef USE_TRENDS
- printf("View Trends For This Host \n",TRENDS_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("このホストの傾向を見る \n",TRENDS_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
#endif
- printf("View Availability Report For This Host \n",AVAIL_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
- printf("View Status Detail For This Host \n",STATUS_CGI,url_encode(host_name));
- printf("View History For This Host \n",HISTORY_CGI,url_encode(host_name));
- printf("View Notifications For This Host \n",NOTIFICATIONS_CGI,url_encode(host_name));
+ printf("このホストの稼働レポートを表示 \n",AVAIL_CGI,url_encode(host_name),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("このホストのステータス詳細を見る \n",STATUS_CGI,url_encode(host_name));
+ printf(">このホストの履歴を見る \n",HISTORY_CGI,url_encode(host_name));
+ printf("このホストの通知履歴を見る \n",NOTIFICATIONS_CGI,url_encode(host_name));
}
else{
#ifdef USE_TRENDS
printf("View Trends For This Service \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s'>このサービスの傾向を見る \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
printf("View Availability Report For This Service \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
+ printf("&service=%s&t1=%lu&t2=%lu&assumestateretention=%s&show_log_entries'>このサービスの稼働レポートを見る \n",url_encode(svc_description),t1,t2,(assume_state_retention==TRUE)?"yes":"no");
printf("View History This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの履歴を見る \n",url_encode(svc_description));
printf("View Notifications For This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの通知履歴を見る \n",url_encode(svc_description));
}
printf("
\n");
if(display_type==DISPLAY_HOSTS){
- printf("View Status Detail For %s \n",STATUS_CGI,(show_all_hosts==TRUE)?"all":url_encode(host_name),(show_all_hosts==TRUE)?"All Hosts":"This Host");
- printf("View Notifications For %s \n",NOTIFICATIONS_CGI,(show_all_hosts==TRUE)?"all":url_encode(host_name),(show_all_hosts==TRUE)?"All Hosts":"This Host");
+ printf("%sの稼動状態を見る \n",STATUS_CGI,(show_all_hosts==TRUE)?"all":url_encode(host_name),(show_all_hosts==TRUE)?"全ホスト":"このホスト");
+ printf("%sの通知履歴を見る \n",NOTIFICATIONS_CGI,(show_all_hosts==TRUE)?"all":url_encode(host_name),(show_all_hosts==TRUE)?"全ホスト":"このホスト");
#ifdef USE_TRENDS
if(show_all_hosts==FALSE)
- printf("View Trends For This Host\n",TRENDS_CGI,url_encode(host_name));
+ printf("このホストの傾向を見る\n",TRENDS_CGI,url_encode(host_name));
#endif
}
else{
printf("View Notifications For This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの通知履歴を見る \n",url_encode(svc_description));
#ifdef USE_TRENDS
printf("View Trends For This Service \n",url_encode(svc_description));
+ printf("service=%s'>このサービスの傾向を見る \n",url_encode(svc_description));
#endif
- printf("View History For This Host\n",HISTORY_CGI,url_encode(host_name));
+ printf("このホストの履歴を見る\n",HISTORY_CGI,url_encode(host_name));
}
printf("
\n");
if(query_type==FIND_HOST){
- printf("View Status Detail For %s \n",STATUS_CGI,(find_all==TRUE)?"all":url_encode(query_host_name),(find_all==TRUE)?"All Hosts":"This Host");
- printf("View History For %s \n",HISTORY_CGI,(find_all==TRUE)?"all":url_encode(query_host_name),(find_all==TRUE)?"All Hosts":"This Host");
+ printf("%sのステータス詳細を見る \n",STATUS_CGI,(find_all==TRUE)?"all":url_encode(query_host_name),(find_all==TRUE)?"全ホスト":"このホスト");
+ printf("%sの履歴を見る \n",HISTORY_CGI,(find_all==TRUE)?"all":url_encode(query_host_name),(find_all==TRUE)?"全ホスト":"このホスト");
#ifdef USE_TRENDS
if(find_all==FALSE)
- printf("View Trends For This Host \n",TRENDS_CGI,url_encode(query_host_name));
+ printf("このホストの傾向を見る \n",TRENDS_CGI,url_encode(query_host_name));
#endif
}
else if(query_type==FIND_SERVICE){
printf("View History For This Service \n",url_encode(query_svc_description));
+ printf("service=%s'>このサービスの履歴を見る \n",url_encode(query_svc_description));
#ifdef USE_TRENDS
printf("View Trends For This Service \n",url_encode(query_svc_description));
+ printf("service=%s'>このサービスの傾向を見る \n",url_encode(query_svc_description));
#endif
}
printf("
");
if(find_all==FALSE){
if(query_type==FIND_SERVICE)
- printf(" for this service");
+ printf("このサービスの");
else if(query_type==FIND_CONTACT)
- printf(" for this contact");
+ printf("この通知先の");
else
- printf(" for this host");
+ printf("このホストの");
}
- printf(" in %s log file
\n");
/* middle column of top row */
@@ -225,8 +225,9 @@
printf("\n");
printf("\n");
+ printf("\n");
printf("\n");
- printf("Network Outages\n");
+ printf("ネットワーク障害\n");
printf("\n");
if(use_stylesheet==TRUE){
@@ -317,6 +318,8 @@
int odd=0;
char *bg_class="";
char *status="";
+ /* ステータスを日本語表記にするために追加 sato */
+ char *string="";
int days;
int hours;
int minutes;
@@ -330,9 +333,8 @@
/* user must be authorized for all hosts.. */
if(is_authorized_for_all_hosts(¤t_authdata)==FALSE){
- printf("
It appears as though you do not have permission to view information you requested...
\n");
- printf("
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI ");
- printf("and check the authorization options in your CGI configuration file.
\n",total_entries);
/* free memory allocated to the host outage list */
free_hostoutage_list();
diff -Nnaur cgi/showlog.c.orig cgi/showlog.c
--- cgi/showlog.c.orig Wed Mar 22 06:31:46 2006
+++ cgi/showlog.c Sun Oct 29 23:41:08 2006
@@ -112,7 +112,7 @@
/* left column of top table - info box */
printf("