diff --git a/modules/monitoring/application/views/scripts/list/hostgroups.phtml b/modules/monitoring/application/views/scripts/list/hostgroups.phtml index 0c5989bff..c702197b2 100644 --- a/modules/monitoring/application/views/scripts/list/hostgroups.phtml +++ b/modules/monitoring/application/views/scripts/list/hostgroups.phtml @@ -79,39 +79,53 @@ - - escape($h->hostgroup_alias) ?> - + qlink( + $h->hostgroup_alias, + 'monitoring/list/hosts', + array('hostgroup' => $h->hostgroup), + array('title' => sprintf($this->translate('List all hosts in the group "%s"'), $h->hostgroup_alias)) + ); ?> - qlink($h->services_total, 'monitoring/list/services', array('hostgroup' => $h->hostgroup)) ?> + qlink( + $h->services_total, + 'monitoring/list/services', + array('hostgroup' => $h->hostgroup), + array('title' => sprintf( + $this->translate('List all services of all hosts in host group "%s"'), + $h->hostgroup_alias + )) + ); ?> services_ok): ?> - - services_ok; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state OK on hosts in the host group "%s"', + 'List %u services which are currently in state OK on hosts in the host group "%s"', + $h->services_ok + ), + $h->services_ok, + $h->hostgroup_alias + ) + ) + ); ?> services_critical_unhandled): ?> - - services_critical_unhandled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state CRITICAL on hosts in the host group "%s"', + 'List %u services which are currently in state CRITICAL on hosts in the host group "%s"', + $h->services_critical_unhandled + ), + $h->services_critical_unhandled, + $h->hostgroup_alias + ) + ) + ); ?> services_critical_handled): ?> - - services_critical_handled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state CRITICAL (Acknowledged) on hosts in the host group "%s"', + 'List %u services which are currently in state CRITICAL (Acknowledged) on hosts in the host group "%s"', + $h->services_critical_handled + ), + $h->services_critical_handled, + $h->hostgroup_alias + ) + ) + ); ?> services_critical_unhandled): ?> @@ -161,7 +178,8 @@ services_unknown_unhandled): ?> - - services_unknown_unhandled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state UNKNOWN on hosts in the host group "%s"', + 'List %u services which are currently in state UNKNOWN on hosts in the host group "%s"', + $h->services_unknown_unhandled + ), + $h->services_unknown_unhandled, + $h->hostgroup_alias + ) + ) + ); ?> services_unknown_handled): ?> - - services_unknown_handled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state UNKNOWN (Acknowledged) on hosts in the host group "%s"', + 'List %u services which are currently in state UNKNOWN (Acknowledged) on hosts in the host group "%s"', + $h->services_unknown_handled + ), + $h->services_unknown_handled, + $h->hostgroup_alias + ) + ) + ); ?> services_unknown_unhandled): ?> @@ -211,7 +232,8 @@ services_warning_unhandled): ?> - - services_warning_unhandled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state WARNING on hosts in the host group "%s"', + 'List %u services which are currently in state WARNING on hosts in the host group "%s"', + $h->services_warning_unhandled + ), + $h->services_warning_unhandled, + $h->hostgroup_alias + ) + ) + ); ?> services_warning_handled): ?> - - services_warning_handled; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state WARNING (Acknowledged) on hosts in the host group "%s"', + 'List %u services which are currently in state WARNING (Acknowledged) on hosts in the host group "%s"', + $h->services_warning_handled + ), + $h->services_warning_handled, + $h->hostgroup_alias + ) + ) + ); ?> services_warning_unhandled): ?> @@ -261,24 +286,26 @@ services_pending): ?> - - services_pending; ?> - + array( + 'title' => sprintf( + $this->translatePlural( + 'List %u service that is currently in state PENDING on hosts in the host group "%s"', + 'List %u services which are currently in state PENDING on hosts in the host group "%s"', + $h->services_pending + ), + $h->services_pending, + $h->hostgroup_alias + ) + ) + ); ?>