diff --git a/README.md b/README.md index 4a1c172..61f8c22 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,16 @@ A degraded InfiniBand link still passes traffic. A 4X link that retrains at 1X l The plugin closes these gaps by reading the fabric through its own diagnostic tools (and later through UFM), identifying nodes and ports by GUID, and publishing counters and link state as Cacti data sources. It reads only: it never resets counters or changes port state. +## First discovery + +A new fabric has no nodes, and sweeps start from the script server only for a node that is mapped to a Cacti device. The first discovery is therefore a manual step. After saving an enabled fabric, run this once on the poller the fabric is assigned to, as the poller's account, with `/path/to/cacti` replaced by your Cacti directory (the absolute path also works from cron): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +The inventory then fills in. Map nodes to Cacti devices on the Fabric Admin page; later sweeps start from the data query. While no node of a fabric is mapped, nothing refreshes its inventory, so run the same command again, from cron if you like, to record new or missing nodes. The health page shows this command for an enabled fabric that has not been discovered or has no mapped node. + ## Planned scope | Phase | Scope | Milestones | diff --git a/docs/PLAN.md b/docs/PLAN.md index 04dc003..afae04b 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -442,7 +442,7 @@ Milestone 2 is implemented on a local branch. Where it differs from the requirem - **Limited.** A link state `limited` is added for a link that enabled values explain. No diags tool supplies those values, so phase 1 never reports it. - **Device deletion.** REQ-LIFE-003 does not apply yet: milestone 2 creates no Cacti devices. Deleting a fabric removes only plugin rows. - **Recorded fixtures.** REQ-TEST-001 asks for captures from real tools. The fixtures are generated from rdma-core v66.0's print formats and marked as such; captures stay with #14. -- **Starting a sweep.** The script server call that starts a sweep arrives with the data query in milestone 3. Until then sweeps run from `fabric_sweep.php`. +- **Starting a sweep.** The script server call that starts a sweep arrives with the data query in milestone 3. It sweeps only the nodes mapped to the polled device, so the first discovery of a fabric, and any refresh while no node is mapped, still runs from `fabric_sweep.php` (ADR 0008 rejects a `poller_bottom` prefetch). README and the health page say so. - **Unreadable iblinkinfo lines.** REQ-INV-004 keeps the inventory whole on a parse failure; no requirement asks the same of link states, and one node description should not hide every link in the fabric. A line that starts with a port GUID but reads in no way or in more than one, which a description imitating the tool's fields can cause, is skipped. The node keeps its last link states, the count is stored per fabric and shown on the health page with a warning, and the rest is applied. Any other unknown line, a repeated port, contradicting fields, or output without a final newline still fails the whole read. - **Accepted identities.** REQ-INV-005 is kept: a changed identity or a GUID printed more than once is a conflict, the node is not swept, and only an operator clears it. When the operator accepts the seen identity, the plugin records what that discovery saw under the GUID: each identity printed and whether the GUID was printed more than once. A later discovery that sees exactly that again raises no new conflict, so an accepted duplicate stays accepted. A sighting with any other identity, or a duplicate with other blocks, raises a new conflict. A GUID printed once again with the accepted identity is an ordinary match. - **One fabric per adapter port.** Two fabrics on one poller, adapter, and port would see the same nodes, and the second would import each again, unmapped. The form refuses it and a unique key backs the form. A backend without a local adapter (phase 2) needs its own key. diff --git a/docs/i18n/ar-SA/README.md b/docs/i18n/ar-SA/README.md index 8b82949..1fc6015 100644 --- a/docs/i18n/ar-SA/README.md +++ b/docs/i18n/ar-SA/README.md @@ -1,4 +1,4 @@ - + [English](../../../README.md) | [简体中文](../zh-CN/README.md) | [हिन्दी](../hi-IN/README.md) | [Español (España)](../es-ES/README.md) | [Español (Latinoamérica)](../es-419/README.md) | [العربية](README.md) @@ -53,6 +53,16 @@ تسد الإضافة هذه الفجوات بقراءة شبكة الربط عبر أدوات تشخيصها (ولاحقًا عبر UFM)، وتحديد العقد والمنافذ بواسطة GUID، ونشر العدّادات وحالة الروابط كمصادر بيانات Cacti. إنها تقرأ فقط: لا تعيد ضبط العدّادات ولا تغيّر حالة المنافذ مطلقًا. +## الاكتشاف الأول + +لا تحتوي شبكة الربط الجديدة على عقد، ولا يبدأ الفحص من خادم النصوص إلا من عقدة مرتبطة بجهاز Cacti، لذا فالاكتشاف الأول خطوة يدوية. بعد حفظ شبكة ربط مفعّلة، شغّل الأمر التالي مرة واحدة على المُستطلِع المسندة إليه، بحساب المُستطلِع، مع استبدال `/path/to/cacti` بمسار دليل Cacti لديك (يعمل المسار المطلق أيضًا من cron): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +بعد ذلك يمتلئ المخزون. اربط العقد بأجهزة Cacti في صفحة Fabric Admin؛ وتبدأ الفحوص اللاحقة من استعلام البيانات. ما دامت أي عقدة من شبكة الربط غير مرتبطة فلا يُحدَّث مخزونها، لذا شغّل الأمر نفسه مجددًا، ومن cron إن شئت، لتسجيل العقد الجديدة أو المفقودة. تعرض صفحة الصحة هذا الأمر لشبكة ربط مفعّلة لم تُكتشف أو لا تحتوي على عقدة مرتبطة. + ## النطاق المخطط diff --git a/docs/i18n/es-419/README.md b/docs/i18n/es-419/README.md index bd03a7e..fbee44c 100644 --- a/docs/i18n/es-419/README.md +++ b/docs/i18n/es-419/README.md @@ -1,4 +1,4 @@ - + [English](../../../README.md) | [简体中文](../zh-CN/README.md) | [हिन्दी](../hi-IN/README.md) | [Español (España)](../es-ES/README.md) | [Español (Latinoamérica)](README.md) | [العربية](../ar-SA/README.md) @@ -53,6 +53,16 @@ Un enlace InfiniBand degradado sigue transportando tráfico. Un enlace 4X que re El complemento cubre esas carencias leyendo la red mediante sus herramientas de diagnóstico (y posteriormente mediante UFM), identificando nodos y puertos por GUID y publicando contadores y estados de enlaces como fuentes de datos Cacti. Solo lee: nunca reinicia contadores ni cambia el estado de los puertos. +## Primer descubrimiento + +Un fabric nuevo no tiene nodos, y las consultas que inicia el servidor de scripts parten solo de un nodo asignado a un dispositivo de Cacti. Por eso el primer descubrimiento es un paso manual. Después de guardar un fabric habilitado, ejecute esto una vez en el sondeador al que está asignado, con la cuenta del sondeador y sustituyendo `/path/to/cacti` por su directorio de Cacti (la ruta absoluta también funciona desde cron): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +Después se llena el inventario. Asigne los nodos a dispositivos de Cacti en la página Fabric Admin; las consultas posteriores parten de la consulta de datos. Mientras ningún nodo de un fabric esté asignado, nada actualiza su inventario; ejecute de nuevo el mismo comando, desde cron si lo desea, para registrar nodos nuevos o ausentes. La página de estado muestra este comando para un fabric habilitado que no se ha descubierto o que no tiene ningún nodo asignado. + ## Alcance previsto diff --git a/docs/i18n/es-ES/README.md b/docs/i18n/es-ES/README.md index 49576be..b5e2aea 100644 --- a/docs/i18n/es-ES/README.md +++ b/docs/i18n/es-ES/README.md @@ -1,4 +1,4 @@ - + [English](../../../README.md) | [简体中文](../zh-CN/README.md) | [हिन्दी](../hi-IN/README.md) | [Español (España)](README.md) | [Español (Latinoamérica)](../es-419/README.md) | [العربية](../ar-SA/README.md) @@ -53,6 +53,16 @@ Un enlace InfiniBand degradado sigue transportando tráfico. Un enlace 4X que re El complemento cubre esas carencias leyendo la red mediante sus herramientas de diagnóstico (y posteriormente mediante UFM), identificando nodos y puertos por GUID y publicando contadores y estados de enlaces como fuentes de datos Cacti. Solo lee: nunca reinicia contadores ni cambia el estado de los puertos. +## Primer descubrimiento + +Un fabric nuevo no tiene nodos, y las consultas que inicia el servidor de scripts parten solo de un nodo asignado a un dispositivo de Cacti. Por eso el primer descubrimiento es un paso manual. Después de guardar un fabric habilitado, ejecute esto una vez en el sondeador al que está asignado, con la cuenta del sondeador y sustituyendo `/path/to/cacti` por su directorio de Cacti (la ruta absoluta también funciona desde cron): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +Después se llena el inventario. Asigne los nodos a dispositivos de Cacti en la página Fabric Admin; las consultas posteriores parten de la consulta de datos. Mientras ningún nodo de un fabric esté asignado, nada actualiza su inventario; ejecute de nuevo el mismo comando, desde cron si lo desea, para registrar nodos nuevos o ausentes. La página de estado muestra este comando para un fabric habilitado que no se ha descubierto o que no tiene ningún nodo asignado. + ## Alcance previsto diff --git a/docs/i18n/hi-IN/README.md b/docs/i18n/hi-IN/README.md index 0d02aa1..31c4ffa 100644 --- a/docs/i18n/hi-IN/README.md +++ b/docs/i18n/hi-IN/README.md @@ -1,4 +1,4 @@ - + [English](../../../README.md) | [简体中文](../zh-CN/README.md) | [हिन्दी](README.md) | [Español (España)](../es-ES/README.md) | [Español (Latinoamérica)](../es-419/README.md) | [العربية](../ar-SA/README.md) @@ -53,6 +53,16 @@ Cacti डिवाइस अनुमतियाँ अब भी हर उप प्लगइन फ़ैब्रिक के अपने निदान उपकरणों (और बाद में UFM) से पढ़कर, नोड और पोर्ट को GUID से पहचानकर और काउंटर तथा लिंक स्थिति को Cacti डेटा स्रोत बनाकर ये कमियाँ भरता है। यह केवल पढ़ता है: कभी काउंटर रीसेट या पोर्ट स्थिति नहीं बदलता। +## पहली खोज + +नए फ़ैब्रिक में कोई नोड नहीं होता, और स्क्रिप्ट सर्वर से शुरू होने वाला सर्वेक्षण केवल Cacti डिवाइस से जुड़े नोड से शुरू होता है। इसलिए पहली खोज मैन्युअल चरण है। सक्षम फ़ैब्रिक सहेजने के बाद, जिस पोलर को वह दिया गया है उस पर पोलर के खाते से यह एक बार चलाएँ, जहाँ `/path/to/cacti` की जगह अपनी Cacti निर्देशिका लिखें (पूर्ण पथ cron में भी काम करता है): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +इसके बाद सूची भर जाती है। Fabric Admin पृष्ठ पर नोड को Cacti डिवाइस से जोड़ें; बाद के सर्वेक्षण डेटा क्वेरी से शुरू होते हैं। जब तक फ़ैब्रिक का कोई नोड जुड़ा नहीं है, उसकी सूची ताज़ा नहीं होती, इसलिए नए या गायब नोड दर्ज करने के लिए यही कमांड फिर चलाएँ, चाहें तो cron से। जिस सक्षम फ़ैब्रिक की खोज नहीं हुई या जिसका कोई नोड जुड़ा नहीं है, उसके लिए स्वास्थ्य पृष्ठ यही कमांड दिखाता है। + ## नियोजित दायरा diff --git a/docs/i18n/zh-CN/README.md b/docs/i18n/zh-CN/README.md index 27935e6..a15114c 100644 --- a/docs/i18n/zh-CN/README.md +++ b/docs/i18n/zh-CN/README.md @@ -1,4 +1,4 @@ - + [English](../../../README.md) | [简体中文](README.md) | [हिन्दी](../hi-IN/README.md) | [Español (España)](../es-ES/README.md) | [Español (Latinoamérica)](../es-419/README.md) | [العربية](../ar-SA/README.md) @@ -53,6 +53,16 @@ Cacti 设备权限仍限制每位用户可访问的行和操作;未映射对 插件通过网络自身的诊断工具(以后也通过 UFM)读取互连网络,按 GUID 标识节点和端口,并将计数器和链路状态发布为 Cacti 数据源,补足这些缺口。它只读取:绝不重置计数器或改变端口状态。 +## 首次发现 + +新的互连网络没有节点,而脚本服务器发起的扫描只会从已分配给 Cacti 设备的节点开始,因此首次发现需要手动完成。保存已启用的互连网络后,请在其所分配的采集器上,以采集器账户运行一次(请将 `/path/to/cacti` 替换为您的 Cacti 目录;绝对路径同样适用于 cron): + +``` +php /path/to/cacti/plugins/fabric/fabric_sweep.php --fabric=ID --force +``` + +之后清单会被填充。在 Fabric Admin 页面将节点分配给 Cacti 设备;后续扫描由数据查询发起。互连网络中没有任何节点被分配时,其清单不会刷新,请再次运行同一命令(可通过 cron)以记录新增或缺失的节点。对于尚未发现或没有已分配节点的已启用互连网络,健康页面会显示此命令。 + ## 计划范围 diff --git a/fabric_health.php b/fabric_health.php index dec09ef..204daa3 100644 --- a/fabric_health.php +++ b/fabric_health.php @@ -60,7 +60,8 @@ return fabric_device_allowed($host) || $fabric_hosts->gone($host); }), $fabric_templates, - $fabric_import + $fabric_import, + (string) $config['base_path'] ); top_header(); diff --git a/lib/HealthPage.php b/lib/HealthPage.php index a01e569..abc3944 100644 --- a/lib/HealthPage.php +++ b/lib/HealthPage.php @@ -44,6 +44,7 @@ public function __construct( private readonly DeviceAccess $access, private readonly ?TemplateInstaller $templates = null, private readonly bool $canImport = false, + private readonly string $basePath = '/path/to/cacti', ) { } @@ -91,6 +92,16 @@ public function render(): void { return; } + // Whether a fabric has a mapped node must not depend on which devices + // this user may see, so count before the permission filter. + $mapped = []; + + foreach ($nodes as $node) { + if ($node->hostId > 0) { + $mapped[$node->fabricId] = true; + } + } + $nodes = $this->access->visible($nodes); $proposals = array_values(array_filter($proposals, fn (array $r): bool => $this->access->host(Row::int($r, 'old_host_id')) && $this->access->host(Row::int($r, 'new_host_id')))); $now = $this->clock->now(); @@ -107,8 +118,12 @@ public function render(): void { $warnings = []; + // The command is shown with an absolute path so it also works from cron. + $base = rtrim($this->basePath, '/'); + foreach ($fabrics as $fabric) { - $row = $this->health->find($fabric->id) ?? []; + $found = $this->health->find($fabric->id); + $row = $found ?? []; $fabricNodes = array_filter($nodes, static fn (Node $n): bool => $n->fabricId === $fabric->id); $outcomes = []; @@ -132,6 +147,18 @@ public function render(): void { $warnings[] = __('Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller.', $fabric->name, $fabric->pollerId, 'fabric'); } + // Sweeps start from a mapped node (ADR 0008), so a fabric with no + // discovery or no mapped node waits for the command line. + if ($found === null) { + $warnings[] = __('Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log.', $fabric->name, 'fabric'); + } elseif ($fabric->enabled() && $fabric->onMainPoller()) { + if (Row::int($row, 'discovery_attempt') === 0) { + $warnings[] = __('Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run "php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force" on the main poller once.', $fabric->name, $base, $fabric->id, 'fabric'); + } elseif (!isset($mapped[$fabric->id])) { + $warnings[] = __('Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run "php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force" on the main poller.', $fabric->name, $base, $fabric->id, 'fabric'); + } + } + if (Row::int($row, 'links_skipped') > 0 && Row::string($row, 'links_error') === '') { $warnings[] = __('Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states.', $fabric->name, Row::int($row, 'links_skipped'), 'fabric'); } diff --git a/locales/LC_MESSAGES/ar-SA.mo b/locales/LC_MESSAGES/ar-SA.mo index 70b9744..44f16cd 100644 Binary files a/locales/LC_MESSAGES/ar-SA.mo and b/locales/LC_MESSAGES/ar-SA.mo differ diff --git a/locales/LC_MESSAGES/es-419.mo b/locales/LC_MESSAGES/es-419.mo index e668c82..5f4b5e8 100644 Binary files a/locales/LC_MESSAGES/es-419.mo and b/locales/LC_MESSAGES/es-419.mo differ diff --git a/locales/LC_MESSAGES/es-ES.mo b/locales/LC_MESSAGES/es-ES.mo index 6e598f1..94b1cb2 100644 Binary files a/locales/LC_MESSAGES/es-ES.mo and b/locales/LC_MESSAGES/es-ES.mo differ diff --git a/locales/LC_MESSAGES/hi-IN.mo b/locales/LC_MESSAGES/hi-IN.mo index b5cf54e..d2aeae9 100644 Binary files a/locales/LC_MESSAGES/hi-IN.mo and b/locales/LC_MESSAGES/hi-IN.mo differ diff --git a/locales/LC_MESSAGES/zh-CN.mo b/locales/LC_MESSAGES/zh-CN.mo index 1250b15..f84b9ba 100644 Binary files a/locales/LC_MESSAGES/zh-CN.mo and b/locales/LC_MESSAGES/zh-CN.mo differ diff --git a/locales/po/ar-SA.po b/locales/po/ar-SA.po index 7b75f85..7e79d19 100644 --- a/locales/po/ar-SA.po +++ b/locales/po/ar-SA.po @@ -565,6 +565,21 @@ msgstr "شبكة الربط %s: المخزون %s؛ كان آخر اكتشاف msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "شبكة الربط %s: أُسندت إلى المُستطلِع %d، لكن لا يمكن فحصها إلا بالمُستطلِع الرئيسي حتى تُضاف إمكانية المُستطلِعات البعيدة. لا تُفحص حاليًا؛ أسندها إلى المُستطلِع الرئيسي." +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "شبكة الربط %s: تعذّرت قراءة سجل حالتها الصحية، لذا حالة اكتشافها غير معروفة. راجع سجل Cacti." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "شبكة الربط %s: لم يُكتشف بعد. لا يبدأ الفحص إلا من عقدة مرتبطة بجهاز Cacti، لذا شغّل \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" مرة واحدة على المُستطلِع الرئيسي." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "شبكة الربط %s: لا توجد عقدة مرتبطة بجهاز Cacti، لذلك لا يبدأ أي فحص ولا يُحدَّث المخزون. اربط عقدة في صفحة Fabric Admin، أو شغّل \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" على المُستطلِع الرئيسي." + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states." diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot index fa3a7fb..9080b9e 100644 --- a/locales/po/cacti.pot +++ b/locales/po/cacti.pot @@ -567,6 +567,21 @@ msgstr "" msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "" +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "" + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states." diff --git a/locales/po/es-419.po b/locales/po/es-419.po index 160c899..cf0ad6d 100644 --- a/locales/po/es-419.po +++ b/locales/po/es-419.po @@ -565,6 +565,21 @@ msgstr "Red %s: el inventario está %s; el último descubrimiento correcto fue % msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "Red %s: está asignada al sondeador %d, pero solo el principal puede consultarla hasta que se admitan sondeadores remotos. No se está consultando; asígnela al sondeador principal." +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "Red %s: no se pudo leer su registro de estado, por lo que se desconoce su estado de descubrimiento. Consulte el registro de Cacti." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "Red %s: no se ha descubierto. Las consultas solo parten de un nodo asignado a un dispositivo de Cacti, así que ejecute \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" una vez en el sondeador principal." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "Red %s: ningún nodo está asignado a un dispositivo de Cacti, por lo que no se inicia ninguna consulta y el inventario no se actualiza. Asigne un nodo en la página Fabric Admin o ejecute \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" en el sondeador principal." + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states." diff --git a/locales/po/es-ES.po b/locales/po/es-ES.po index 357cd56..dd68847 100644 --- a/locales/po/es-ES.po +++ b/locales/po/es-ES.po @@ -565,6 +565,21 @@ msgstr "Red %s: el inventario está %s; el último descubrimiento correcto fue % msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "Red %s: está asignada al sondeador %d, pero solo el principal puede consultarla hasta que se admitan sondeadores remotos. No se está consultando; asígnela al sondeador principal." +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "Red %s: no se pudo leer su registro de estado, por lo que se desconoce su estado de descubrimiento. Consulte el registro de Cacti." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "Red %s: no se ha descubierto. Las consultas solo parten de un nodo asignado a un dispositivo de Cacti, así que ejecute \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" una vez en el sondeador principal." + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "Red %s: ningún nodo está asignado a un dispositivo de Cacti, por lo que no se inicia ninguna consulta y el inventario no se actualiza. Asigne un nodo en la página Fabric Admin o ejecute \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" en el sondeador principal." + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states." diff --git a/locales/po/hi-IN.po b/locales/po/hi-IN.po index 4674724..9e7766b 100644 --- a/locales/po/hi-IN.po +++ b/locales/po/hi-IN.po @@ -565,6 +565,21 @@ msgstr "फ़ैब्रिक %s: सूची %s है; पिछली स msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "फ़ैब्रिक %s: इसे पोलर %d दिया गया है, पर दूरस्थ पोलर समर्थन जुड़ने तक केवल मुख्य पोलर फ़ैब्रिक का सर्वेक्षण कर सकता है। इसका सर्वेक्षण नहीं हो रहा; इसे मुख्य पोलर दें।" +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "फ़ैब्रिक %s: इसका स्वास्थ्य रिकॉर्ड पढ़ा नहीं जा सका, इसलिए इसकी खोज की स्थिति अज्ञात है। Cacti लॉग देखें।" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "फ़ैब्रिक %s: इसकी खोज नहीं हुई है। सर्वेक्षण केवल Cacti डिवाइस से जुड़े नोड से शुरू होता है, इसलिए मुख्य पोलर पर एक बार \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" चलाएँ।" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "फ़ैब्रिक %s: कोई नोड Cacti डिवाइस से नहीं जुड़ा है, इसलिए कोई सर्वेक्षण शुरू नहीं होता और सूची ताज़ा नहीं होती। Fabric Admin पृष्ठ पर नोड जोड़ें, या मुख्य पोलर पर \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" चलाएँ।" + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states." diff --git a/locales/po/zh-CN.po b/locales/po/zh-CN.po index 3b98746..25f2420 100644 --- a/locales/po/zh-CN.po +++ b/locales/po/zh-CN.po @@ -565,6 +565,21 @@ msgstr "互连网络 %s:清单状态为 %s;上次成功发现时间为 %s。 msgid "Fabric %s: it is assigned to poller %d, but only the main poller can sweep a fabric until remote poller support is added. It is not swept; assign it to the main poller." msgstr "互连网络 %s:已分配给采集器 %d,但在添加远程采集器支持之前,仅主采集器可扫描互连网络。当前不会扫描;请将其分配给主采集器。" +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: its health record could not be read, so its discovery state is unknown. See the Cacti log." +msgstr "互连网络 %s:无法读取其健康状态记录,因此其发现状态未知。请查看 Cacti 日志。" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: it has not been discovered. Sweeps start only from a node mapped to a Cacti device, so run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller once." +msgstr "互连网络 %s:尚未发现。扫描只会从已分配给 Cacti 设备的节点开始,因此请在主采集器上运行一次 \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\"。" + +#: lib/HealthPage.php +#, php-format +msgid "Fabric %s: no node is mapped to a Cacti device, so no sweep starts and the inventory is not refreshed. Map a node on the Fabric Admin page, or run \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\" on the main poller." +msgstr "互连网络 %s:没有节点分配给 Cacti 设备,因此不会启动任何扫描,清单也不会刷新。请在 Fabric Admin 页面分配节点,或在主采集器上运行 \"php %s/plugins/fabric/fabric_sweep.php --fabric=%d --force\"。" + #: lib/HealthPage.php #, php-format msgid "Fabric %s: %d iblinkinfo lines could not be read, most likely because a node description imitates the tool output. Those nodes keep their last link states."