From 7cda9b31672038a91923cdd96dbd38a54a97d37a Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Tue, 17 Nov 2026 02:28:06 -0800 Subject: [PATCH 1/3] feat: add operator access and localized guides Signed-off-by: Thomas Vincent --- README.md | 28 +- docs/PLAN.md | 2 +- docs/i18n/ar-SA/README.md | 134 ++++ docs/i18n/ar-SA/docs/operator-guide.md | 72 ++ docs/i18n/es-419/README.md | 134 ++++ docs/i18n/es-419/docs/operator-guide.md | 72 ++ docs/i18n/es-ES/README.md | 134 ++++ docs/i18n/es-ES/docs/operator-guide.md | 72 ++ docs/i18n/hi-IN/README.md | 134 ++++ docs/i18n/hi-IN/docs/operator-guide.md | 72 ++ docs/i18n/manifest.json | 13 + docs/i18n/zh-CN/README.md | 134 ++++ docs/i18n/zh-CN/docs/operator-guide.md | 72 ++ include/operator.php | 47 ++ lib/OperatorPage.php | 133 ++++ lib/Pages.php | 5 +- lib/Schema.php | 1 + locales/LC_MESSAGES/ar-SA.mo | Bin 0 -> 31606 bytes locales/LC_MESSAGES/es-419.mo | Bin 0 -> 27542 bytes locales/LC_MESSAGES/es-ES.mo | Bin 0 -> 27562 bytes locales/LC_MESSAGES/hi-IN.mo | Bin 0 -> 38959 bytes locales/LC_MESSAGES/zh-CN.mo | Bin 0 -> 25348 bytes locales/build_gettext.sh | 2 + locales/po/ar-SA.po | 970 ++++++++++++++++++++++++ locales/po/cacti.pot | 62 +- locales/po/es-419.po | 970 ++++++++++++++++++++++++ locales/po/es-ES.po | 970 ++++++++++++++++++++++++ locales/po/hi-IN.po | 970 ++++++++++++++++++++++++ locales/po/zh-CN.po | 970 ++++++++++++++++++++++++ phpstan.neon | 1 + redfish_operator.php | 115 +++ setup.php | 79 +- tests/Integration/LifecycleTest.php | 31 +- tests/Unit/OperatorTest.php | 78 ++ tests/bin/lifecycle.php | 4 + tests/bin/operator-roles.php | 114 +++ tests/check_translations.py | 153 ++++ 37 files changed, 6732 insertions(+), 16 deletions(-) create mode 100644 docs/i18n/ar-SA/README.md create mode 100644 docs/i18n/ar-SA/docs/operator-guide.md create mode 100644 docs/i18n/es-419/README.md create mode 100644 docs/i18n/es-419/docs/operator-guide.md create mode 100644 docs/i18n/es-ES/README.md create mode 100644 docs/i18n/es-ES/docs/operator-guide.md create mode 100644 docs/i18n/hi-IN/README.md create mode 100644 docs/i18n/hi-IN/docs/operator-guide.md create mode 100644 docs/i18n/manifest.json create mode 100644 docs/i18n/zh-CN/README.md create mode 100644 docs/i18n/zh-CN/docs/operator-guide.md create mode 100644 include/operator.php create mode 100644 lib/OperatorPage.php create mode 100644 locales/LC_MESSAGES/ar-SA.mo create mode 100644 locales/LC_MESSAGES/es-419.mo create mode 100644 locales/LC_MESSAGES/es-ES.mo create mode 100644 locales/LC_MESSAGES/hi-IN.mo create mode 100644 locales/LC_MESSAGES/zh-CN.mo create mode 100644 locales/po/ar-SA.po create mode 100644 locales/po/es-419.po create mode 100644 locales/po/es-ES.po create mode 100644 locales/po/hi-IN.po create mode 100644 locales/po/zh-CN.po create mode 100644 redfish_operator.php create mode 100644 tests/Unit/OperatorTest.php create mode 100644 tests/bin/operator-roles.php create mode 100644 tests/check_translations.py diff --git a/README.md b/README.md index 709afca..8d60f7f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + +[English](README.md) | [简体中文](docs/i18n/zh-CN/README.md) | [हिन्दी](docs/i18n/hi-IN/README.md) | [Español (España)](docs/i18n/es-ES/README.md) | [Español (Latinoamérica)](docs/i18n/es-419/README.md) | [العربية](docs/i18n/ar-SA/README.md) + + # plugin_redfish A Cacti 1.2 plugin that brings server power draw, inlet temperature, fan state, and power supply health from baseboard management controllers (BMCs) into Cacti as ordinary devices, data sources, and graphs, using Redfish with an optional IPMI fallback. Thold and Maint then alert on and suppress them, and a later phase adds rack-level power totals. @@ -7,7 +11,7 @@ A Cacti 1.2 plugin that brings server power draw, inlet temperature, fan state, ### What milestone 2 ships - Install, upgrade, disable, and uninstall through Cacti's plugin API, with tables kept on uninstall unless the setting is cleared. On PHP older than 8.2 the plugin refuses to install or enable and says why. -- Realms "Redfish View" (health page) and "Redfish Admin" (BMCs and credentials pages), and settings under Configuration > Settings > Redfish. +- Realms "Redfish View" (health page), "Redfish Operator" (operations page), and "Redfish Admin" (BMCs and credentials pages), and settings under Configuration > Settings > Redfish. - A BMC registry with CSV import and JSON export. Import files must not contain passwords; credentials are referenced by name. - Credentials stored encrypted with AES-256-GCM. The key is a file outside the database, `/etc/cacti/redfish-vault.key` by default, holding 64 hexadecimal characters (`openssl rand -hex 32`) or exactly 32 random bytes, owned by the poller user, not readable by other users, in a directory only the poller user or root can write. A key of 32 printable characters is refused as a passphrase. **Back up the key file with the database**; without it every stored password must be entered again. - TLS verification on by default, with a per-BMC CA bundle or SPKI SHA-256 pin. A logged, per-BMC unverified opt-out stays on the health page as a warning. @@ -28,6 +32,28 @@ A Cacti 1.2 plugin that brings server power draw, inlet temperature, fan state, Deleting a device unmaps its BMC and keeps the BMC and its cache. Deleting a BMC, or uninstalling the plugin, keeps its device and graphs. +## Access roles + +| Realm | Access | +| --- | --- | +| Redfish View | Existing monitoring pages. | +| Redfish Operator | Monitoring plus the Operations page and personal triage acknowledgments. | +| Redfish Admin | Operator access plus the existing configuration and administrative actions. | + +After copying upgrade files, open the Plugins page as an administrator to register +the new realm. Assign the Operator realm explicitly under **Configuration > Users** or user groups. +Upgrades retain the existing View and Admin realm IDs and grants. Admin access +inherits Operator access, and Operator access inherits View access on each request; +this does not add stored grants to users or groups. Plugin settings also require +Redfish Admin access in addition to Cacti's Settings permission. + +Cacti device permissions still limit the rows and actions available to each user; unmapped objects require an administrator. Operators can release a collection hold on a permitted BMC for the next scheduled run. +Credentials, configuration, mapping, deletion and other administrative changes +remain in the administrative pages. Acknowledgments last only in the current +user's session, for at most one hour and only while the same observation remains +fresh. New or changed observations invalidate them. They never mark a failed +measurement healthy or suppress alerts. + ## Why Every server has a BMC that reports power and thermal state independently of the operating system, so it keeps answering when the OS is down. The data serves capacity and cost tracking, early warning of a failed fan or power supply, and, in high-performance computing, power-capping decisions. The plugin is not HPC-specific. diff --git a/docs/PLAN.md b/docs/PLAN.md index 88be8b7..df71e8d 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -377,7 +377,7 @@ Plugin code is object-oriented where Cacti's plugin contract allows it. No maint - Page scripts, which include `include/auth.php`, read request variables with `get_filter_request_var()`, and call a page class. - The script server input function and the collector CLI entry point. -**Layout.** Classes live in `lib/*.php` under `Somethingwithproof\Redfish` (milestone 2 diverged from the `Cacti\Redfish` named here and in issue 33; see [ADR 0014](decisions/0014-plugin-name-namespace-and-provisional-harness.md)), one class per file, loaded by a small `spl_autoload_register()` loader registered only after the PHP version check. No Composer runtime dependency is added. Files stay at depth 2 or less because the gettext build scans only `find . -maxdepth 2`. Settings use `config_settings`, logging uses `cacti_log()` with a `REDFISH` tag, strings use the `redfish` text domain, and realms are "Redfish View" and "Redfish Admin". The slug and namespace are provisional until decision #12. +**Layout.** Classes live in `lib/*.php` under `Somethingwithproof\Redfish` (milestone 2 diverged from the `Cacti\Redfish` named here and in issue 33; see [ADR 0014](decisions/0014-plugin-name-namespace-and-provisional-harness.md)), one class per file, loaded by a small `spl_autoload_register()` loader registered only after the PHP version check. No Composer runtime dependency is added. Files stay at depth 2 or less because the gettext build scans only `find . -maxdepth 2`. Settings use `config_settings`, logging uses `cacti_log()` with a `REDFISH` tag, strings use the `redfish` text domain, and realms are "Redfish View", "Redfish Operator" and "Redfish Admin". The slug and namespace are provisional until decision #12. **As built in milestone 2.** The table above was a forecast. The shipped classes differ: normalization is one pure `Normalizer` with a rule per source instead of separate new and legacy normalizers; discovery is `Discoverer` producing a stored `DiscoveryPlan`; collection is `Collector` with `LeaseRepository`, `HealthRepository`, `DiscoveryRepository`, and `ReadingRepository`; credentials are `CredentialRepository`, `CredentialStore`, and `Vault`; HTTP is `SocketTransport` behind `GuardedTransport` and `OperationGuard`. `IpmiClient`, `Rack`, and `RackRepository` arrive with their phases. diff --git a/docs/i18n/ar-SA/README.md b/docs/i18n/ar-SA/README.md new file mode 100644 index 0000000..0a6c2eb --- /dev/null +++ b/docs/i18n/ar-SA/README.md @@ -0,0 +1,134 @@ + + + +[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) + + + +# plugin_redfish + +إضافة إلى Cacti 1.2 تعرض استهلاك طاقة الخادم ودرجة حرارة الهواء الداخل وحالة المراوح وسلامة وحدات الطاقة من متحكمات إدارة اللوحة الأساسية (BMC) ضمن أجهزة Cacti ومصادر بياناته ورسومه العادية، باستخدام Redfish مع بديل IPMI اختياري ضمن الخطة. تتيح Thold وMaint التنبيه وكتم الإشعارات، وتضيف مرحلة لاحقة إجماليات الطاقة على مستوى الرفوف. + +> **الحالة: قيد التطوير، ولم يصدر إصدار بعد (0.1.0-dev).** دُمجت المرحلتان 2 (الأساس) و3 (كائنات Cacti والتنبيهات) في `main`. هذه الإضافة غير تابعة لمشروع Cacti. تُثبت على Cacti 1.2.31 مع PHP 8.2 أو أحدث، وتسجل وحدات BMC وبيانات الاعتماد، وتقرأ الطاقة والحرارة والمراوح وسلامة وحدات الطاقة عبر Redfish إلى ذاكرتها المؤقتة، وتعرض سلامة الجمع. تضيف أجهزة Cacti ورسوم الأعضاء والملخصات، وتدعم Thold وMaint عبر مصادر بيانات عادية. اختبرت CI وحدة BMC وهمية ببيانات مكتوبة يدويًا وخادم محاكاة Redfish من DMTF؛ ولم تُؤهّل أي وحدة BMC حقيقية أو بيئة تجريبية. يوجد التصميم والبحث في [docs/PLAN.md](../../PLAN.md) و[docs/research/](../../research) و[docs/decisions/](../../decisions). + + +### ما توفره المرحلة 2 + +- التثبيت والترقية والتعطيل وإلغاء التثبيت عبر واجهة إضافات Cacti، مع الاحتفاظ بالجداول عند الإزالة ما لم يُلغَ الإعداد. ترفض الإضافة التثبيت أو التفعيل على PHP الأقدم من 8.2 وتوضح السبب. +- نطاقات الصلاحيات «Redfish View» لصفحة السلامة، و«Redfish Operator» لصفحة العمليات، و«Redfish Admin» لصفحات BMC وبيانات الاعتماد، وإعدادات ضمن Configuration > Settings > Redfish. +- سجل BMC يدعم استيراد CSV وتصدير JSON. يجب ألا تحتوي ملفات الاستيراد على كلمات مرور؛ تُشار إلى بيانات الاعتماد بالاسم. +- بيانات اعتماد مشفرة باستخدام AES-256-GCM. المفتاح ملف خارج قاعدة البيانات، افتراضيًا `/etc/cacti/redfish-vault.key`، يحتوي على 64 حرفًا سداسيًا عشريًا (`openssl rand -hex 32`) أو 32 بايت عشوائيًا بالضبط. يملكه مستخدم المستطلِع ولا يقرؤه الآخرون، ويوجد في دليل لا يكتب فيه إلا مستخدم المستطلِع أو root. يُرفض مفتاح من 32 حرفًا قابلًا للطباعة باعتباره عبارة مرور. **انسخ ملف المفتاح احتياطيًا مع قاعدة البيانات**؛ بدونه يجب إدخال جميع كلمات المرور المحفوظة مجددًا. +- التحقق من TLS مفعّل افتراضيًا، مع حزمة CA أو تثبيت SPKI SHA-256 لكل BMC. يُسجل تعطيل التحقق لكل وحدة ويبقى تحذيرًا في صفحة السلامة. +- عميل Redfish للقراءة فقط: يسمح بـ `GET` وتسجيل الجلسة والخروج منها فقط، وتُفحص قائمة السماح قبل إرسال أي طلب. +- جامع بيانات يبدأ من `poller_bottom` لوحدات BMC على المستطلِع الرئيسي، مع حجوزات ومهل لكل BMC وتراجع بين المحاولات وتنظيف الجلسة الوحيدة التي سجلتها الإضافة بعد تعطل التشغيل. لا تُدعم الجامعات البعيدة بعد؛ إذ يلزم تحديد كيفية وصولها إلى قاعدة البيانات والمفتاح صراحةً في المرحلة 4. +- تتبع سجلات BMC وبيانات الاعتماد صلاحيات أجهزة Cacti: لا يرى مسؤول Redfish أو يغيّر أو يربط إلا وحدات BMC على أجهزة يمكنه رؤيتها، ولا يتعامل إلا مع بيانات اعتماد لا تستخدمها BMC على جهاز مخفي. + + +### ما تضيفه المرحلة 3 + +- قوالب XML لـ Cacti ضمن `templates/`، تُستورد بأداة Cacti عند التثبيت والترقية وتُطابق بالتجزئة لتحديث الكائنات دون تكرار. تُنسخ ملفات استعلام البيانات الثلاثة إلى `/resource/script_server/` مع تسجيل التجزئة؛ ولا تستبدل الإضافة ملفًا لم تكتبه. تحذر صفحة السلامة المسؤولين عند غياب القوالب أو ملفات الاستعلام. يعيد **Reinstall the Redfish Templates** في صفحة BMC استيرادها، ويتطلب صلاحية Import Templates في Cacti. +- **Create Device** أو **Add Graphs** لكل BMC ([ADR 0015](../../decisions/0015-attach-to-the-server-device-or-create-one-per-bmc.md)). تحصل BMC المرتبطة بجهاز خادم موجود على استعلاماتها ورسومها على ذلك الجهاز. تحصل BMC غير المرتبطة على جهاز جديد من قالب «Redfish BMC» مع تعطيل اختبارات التوفر واسم مضيف ضمن `.invalid`، فلا يتصل Cacti بوحدة BMC ولا يُظهر عنوانها. يؤكد المسؤول أولًا خطة بما سيُضاف في الحالتين. يتطلب الإجراء صلاحية إدارة أجهزة Cacti وRedfish Admin؛ ويُزال الجهاز الجديد إن لم يتمكن منشئه من رؤيته. +- ثلاثة استعلامات لخادم السكربتات: «Redfish Fans» و«Redfish Temperatures» و«Redfish Power Supplies»، مفهرسة بمفتاح عضو BMC، مع رسم لكل عضو: سرعة المروحة بالنسبة المئوية أو RPM وفق الوحدة المبلّغ عنها، ودرجة الحرارة، وقدرة دخل وخروج وحدات الطاقة بالواط، مع رمز السلامة لكل منها. +- مُدخل «Redfish Node Summary» يتضمن الطاقة وحرارة الهواء الداخل وأعلى حرارة والمراوح ووحدات الطاقة غير السليمة وسلامة العقدة وعمر آخر قراءة ناجحة. تُرسم في أربعة رسوم: الطاقة والحرارة وسلامة المكونات وعمر البيانات. تنبه Thold على مصادر البيانات هذه، وتكتم Maint التنبيهات، دون تعديل أي منهما. +- يجيب خادم السكربتات من ذاكرة الإضافة المؤقتة فقط ولا يتصل بوحدة BMC. تُعاد القيمة المفقودة أو القديمة أو ذات الوحدة المختلفة أو التابعة لعضو اختفى كـ `U`، فتظهر فجوة لا صفرًا؛ ولـ `age` قيمة دائمًا، فتكتشف العتبة عليه وحدة BMC التي توقفت عن الرد. +- رابط من كل رسم Redfish إلى رسوم Redfish للجهاز، لا يظهر إلا لمن تسمح لهم Cacti برؤية الجهاز. + +**عند تغيّر أعضاء BMC**، كاستبدال مروحة أو تحديث برنامج ثابت يعيد تسمية المستشعرات، اختر **Add Graphs** مجددًا. تُحسب المروحة أو وحدة الطاقة التي كانت موجودة ثم غابت ضمن `fans_bad` أو `psus_bad` حتى تفعل ذلك، فيؤدي سحب المروحة إلى تنبيه؛ أما الفتحة التي لم تُشغل مطلقًا فلا تُحسب. يقبل Add Graphs الأعضاء التي تبلغ عنها BMC الآن ويعيد Cacti فهرسة الاستعلامات. يحتفظ العضو المختفي بمصدر بياناته ورسمه اللذين يقرآن `U` من حينها، ويحصل العضو الجديد على رسم. احذف رسوم الأعضاء المختفية يدويًا فقط عندما لا تحتاج إلى تاريخها. + +يؤدي حذف الجهاز إلى إلغاء ربط BMC مع الاحتفاظ بها وبذاكرتها المؤقتة. ويحتفظ حذف BMC أو إزالة الإضافة بالجهاز ورسومه. + + +## أدوار الوصول + +| نطاق الصلاحيات | الوصول | +| --- | --- | +| Redfish View | صفحات المراقبة الموجودة. | +| Redfish Operator | المراقبة وصفحة العمليات والإقرارات الشخصية أثناء التحقيق. | +| Redfish Admin | صلاحيات المشغّل مع إعدادات وإجراءات الإدارة الموجودة. | + +بعد نسخ ملفات الترقية، افتح صفحة Plugins كمسؤول لتسجيل النطاق الجديد. امنح Operator صراحةً ضمن **Configuration > Users** أو مجموعات المستخدمين. تحتفظ الترقيات بمعرّفات ومنح View وAdmin الحالية. يرث Admin صلاحيات Operator ويرث Operator صلاحيات View في كل طلب، دون إضافة منح محفوظة للمستخدمين أو المجموعات. تتطلب إعدادات الإضافة Redfish Admin إلى جانب صلاحية Settings في Cacti. + +تظل صلاحيات أجهزة Cacti تحدد الصفوف والإجراءات المتاحة لكل مستخدم؛ وتتطلب الكائنات غير المرتبطة مسؤولًا. يستطيع المشغّلون رفع تعليق الجمع عن BMC مسموح بها للتشغيل المجدول التالي. تبقى تغييرات بيانات الاعتماد والإعدادات والربط والحذف وسائر الإدارة في صفحات الإدارة. تستمر الإقرارات في جلسة المستخدم الحالية فقط، لمدة أقصاها ساعة وما دامت الملاحظة نفسها حديثة. تُبطلها الملاحظات الجديدة أو المتغيرة. ولا تجعل قياسًا فاشلًا سليمًا أو تكتم التنبيهات. + + +## الدافع + +لكل خادم BMC تبلغ عن حالة الطاقة والحرارة باستقلال عن نظام التشغيل، فتستمر بالرد عند تعطله. تخدم البيانات تتبع السعة والتكلفة والإنذار المبكر بتعطل مروحة أو وحدة طاقة وقرارات تحديد الطاقة في الحوسبة عالية الأداء. الإضافة ليست خاصة بـ HPC. + +يغطي Cacti بعض ذلك حاليًا: + +- **حزم SNMP الخاصة بالمصنعين.** يرفق الفرع 1.2.x قوالب Dell iDRAC وHPE iLO التي تحتاج إلى وكيل SNMP وتخص مصنعًا بعينه؛ ووجد بحث المرحلة 1 أن أيًا منهما لا يبلغ عن استهلاك الطاقة بالواط ([docs/research/overlap.md](../../research/overlap.md)). +- **نوع بيانات اعتماد دون جامع.** يعرّف plugin_credentials بيانات اعتماد «IPMI / Redfish (BMC)» لكنه لا يقرأ BMC. +- **غياب عرض الرفوف.** لا يملك نواة Cacti كائن رف؛ للجهاز حقل نص حر `location`. + +تستطلع الإضافة وحدات BMC خارج دورة استطلاع Cacti، وتخزن قراءات موحدة وتعرضها عبر استعلام خادم سكربتات ومصادر بيانات ملخصة. تعيد استخدام رسوم Cacti وصلاحياته وThold وMaint وجامعاته البعيدة، ولا تغيّر حالة BMC. + + +## النطاق المخطط + +| المرحلة | النطاق | المعالم | +|---|---|---| +| 0، البحث | مصفوفة المصنعين، تأكيد سلوك المنبع على BMC حقيقية، تكلفة الاستطلاع، وتجربة استعلام البيانات | [M1](https://github.com/somethingwithproof/plugin_redfish/milestone/1) | +| 1، المراقبة | سجل BMC وبيانات الاعتماد وTLS وجامع Redfish والقراءات الموحدة والأجهزة والرسوم لكل فهرس وتنبيهات Thold وكتم Maint وصفحة السلامة | [M2](https://github.com/somethingwithproof/plugin_redfish/milestone/2)، [M3](https://github.com/somethingwithproof/plugin_redfish/milestone/3)، [M4](https://github.com/somethingwithproof/plugin_redfish/milestone/4) | +| 2، IPMI | بديل IPMI لوحدات BMC التي لا توفر Redfish صالحًا، معطل افتراضيًا | [M5](https://github.com/somethingwithproof/plugin_redfish/milestone/5) | +| 3، الرفوف | سجل الرفوف وإجماليات الطاقة مع التغطية والهامش المتبقي من الميزانية | [M6](https://github.com/somethingwithproof/plugin_redfish/milestone/6) | +| 4، البعيد | جامعات Cacti البعيدة لشبكات BMC المعزولة | [M7](https://github.com/somethingwithproof/plugin_redfish/milestone/7) | + +خارج النطاق: ضبط حدود الطاقة أو أي إعداد BMC آخر، والتحكم بالطاقة، وتحديث البرامج الثابتة، والوصول إلى وحدة التحكم، ومحرك تنبيهات خاص بالإضافة، والتكامل مع المجدولات. + + +## أهداف التوافق + +| المكوّن | الهدف | +|---|---| +| Cacti | 1.2.31 أو أحدث، دون رقع للنواة | +| قاعدة البيانات | MariaDB 10.2 أو MySQL 5.7 أو أحدث؛ يضمن مفتاح فريد على عمود مولّد وجود BMC واحدة لكل جهاز | +| PHP | 8.2 أو أحدث؛ يبقى `setup.php` قابلًا للتحليل في 8.0 لرفض بيئة غير مدعومة بدل تعطيل واجهة Cacti | +| BMC | Dell iDRAC وHPE iLO وLenovo XCC وOpenBMC بحسب نطاق البرامج الثابتة؛ راجع [مصفوفة المصنعين](../../research/vendor-matrix.md) | +| Redfish | موارد الأنظمة الفرعية والمستشعرات الجديدة أولًا، مع `Power` و`Thermal` المهملين كبديل | +| Thold وMaint | لا يلزم تغيير | + + +## التصميم + +- [docs/PLAN.md](../../PLAN.md) هي الخطة الكاملة: المعمارية وحقائق المنبع التي يعتمد عليها التصميم، بمصادرها وافتراضاتها غير المؤكدة، ونموذج القياس وحدود الأمان وحسابات الأداء والاختبار والمخاطر. +- [docs/decisions/](../../decisions) يحتوي سجلات القرارات المعمارية المتخذة. +- [docs/REQUIREMENTS.md](../../REQUIREMENTS.md) يربط كل معرّف متطلب بقضيته. + +```mermaid +flowchart LR + BMC[BMCs: Redfish over HTTPS] --> C[Collector on the Cacti poller] + C --> CACHE[(Normalized reading cache)] + CACHE --> SS[Script server data query] + SS -->|poller_output| T[Thold and Maint] + SS --> G[Cacti graphs and permissions] + CACHE --> R[Rack totals, phase 3] +``` + + +## الأمان + +تتحكم بيانات اعتماد BMC في إدارة الخوادم خارج النطاق. يبقيها التصميم خارج أسطر الأوامر والسجلات والصفحات، ويتحقق من TLS افتراضيًا، ويشغّل الأوامر الخارجية بمصفوفات معاملات وأوامر فرعية مسموحة، ويستخدم حسابات BMC للقراءة فقط. راجع [docs/PLAN.md](../../PLAN.md#security) و[SECURITY.md](../../../SECURITY.md). + + +## دليل المشغّل + +راجع [docs/operator-guide.md](docs/operator-guide.md) لمتطلبات التثبيت وإعداد الخزنة وTLS وتسجيل BMC وإنشاء الرسوم وفواصل التنبيه والنسخ الاحتياطي ومعالجة الفشل. لا يعلن الدليل دعم خط برامج ثابتة حقيقي حتى تجتاز بيانات ملتقطة منه بعد تنقيحها مجموعة الاختبارات. + + +## تتبع العمل + +- تتبع **المعالم** الخطة؛ ولكل منها قضية رئيسية تسرد قضاياها الفرعية وأدلة الاكتمال. +- تُصنف **القضايا** بالوسوم `type: requirement` و`type: research` و`type: decision` و`type: epic`. تسرد قضايا المتطلبات بنودًا مرقمة قابلة للاختبار (`REQ-AREA-NNN`) ومعايير قبول. +- تحمل **الوسوم** أيضًا `area:` و`phase:` و`priority:` و`status:`. راجع [CONTRIBUTING.md](../../../CONTRIBUTING.md#labels). +- تعرض [لوحة المشروع](https://github.com/users/somethingwithproof/projects/12) جميع القضايا عبر المعالم. + + +## المساهمة + +اقرأ [CONTRIBUTING.md](../../../CONTRIBUTING.md). تحتاج الإيداعات إلى توقيع DCO. تُناقش التصاميم في القضايا، وتحمل القرارات المفتوحة وسم `type: decision`. الأدلة من BMC حقيقية هي المساهمة الأكثر نفعًا الآن؛ نقّح العناوين والأرقام التسلسلية وبيانات الاعتماد قبل نشر أي بيانات ملتقطة. + + +## الترخيص + +رخصة GNU العامة الإصدار 2.0، وهي رخصة Cacti وإضافاته نفسها. راجع [LICENSE](../../../LICENSE). diff --git a/docs/i18n/ar-SA/docs/operator-guide.md b/docs/i18n/ar-SA/docs/operator-guide.md new file mode 100644 index 0000000..8d2a289 --- /dev/null +++ b/docs/i18n/ar-SA/docs/operator-guide.md @@ -0,0 +1,72 @@ + + + +# دليل مشغّل Redfish + +يغطي هذا الدليل نسخة تطوير plugin_redfish بعد المرحلتين 2 و3. لا يوجد إصدار موسوم بعد. تختبر CI Cacti 1.2.31 وفرع 1.2.x الحالي على PHP من 8.2 إلى 8.5، بما في ذلك التثبيت وإنشاء الرسوم. تستخدم هذه المهام وحدات BMC اختبارية وخادم محاكاة Redfish من DMTF؛ ولا تؤهل مصنعًا أو خط برامج ثابتة حقيقيًا. + + +## قبل التثبيت + +- استخدم Cacti 1.2.31 أو أحدث وPHP 8.2 أو أحدث. ترفض الإضافة عمدًا التثبيت أو التفعيل على PHP الأقدم من 8.2. +- شغّل مستطلِع Cacti مع إمكانية الوصول إلى شبكة إدارة BMC. يستخدم الجامع الحالي HTTPS للوصول إلى Redfish على TCP 443. لا يستخدم IPMI أو UDP 623؛ فـ IPMI مرحلة لاحقة. +- اختر حسابًا يقرأ الموارد التي تجمعها الإضافة. لا تستخدم حساب مسؤول. لم تُؤهل أسماء أدوار المصنعين وصلاحياتهم على برامج BMC ثابتة حقيقية؛ تحقق من الحساب مقابل الموارد التي تعرضها وحدتك. +- حدد كيفية قراءة المستطلِع وخادم الويب لمفتاح بيانات الاعتماد، وكيفية النسخ الاحتياطي لقاعدة البيانات والمفتاح معًا. + + +## التثبيت وتجهيز الخزنة + +ثبّت الإضافة ضمن دليل Cacti `plugins/redfish`، ثم فعّلها من صفحة Plugin Management. تتحقق الإضافة من متطلب PHP وتنشئ جداولها عبر واجهة إضافات Cacti. بعد التفعيل، افتح **Configuration → Settings → Redfish** واضبط مسار المفتاح إذا لم تستخدم `/etc/cacti/redfish-vault.key`. + +أنشئ مفتاحًا عشوائيًا من 32 بايت خارج جذر الويب. لملف مفتاح سداسي عشري: + +```sh +openssl rand -hex 32 +``` + +اكتب الناتج في المسار المحدد بصلاحيات تتيح لخادم الويب والمستطلِع قراءته وتمنع الآخرين من قراءته أو استبداله. اجعل الدليل الحاوي قابلًا للكتابة فقط من root وحساب الخدمة المالك للمفتاح. لا تنشئ الإضافة ملف المفتاح أو تصلحه. انسخ المفتاح احتياطيًا مع قاعدة بيانات Cacti؛ فلا يمكن لاستعادة قاعدة البيانات دون المفتاح المطابق فك تشفير كلمات المرور المحفوظة. + +اجعل ميزانية الجامع أقل من فاصل استطلاع Cacti. القيم الافتراضية هي فاصل جمع 300 ثانية وميزانية 240 ثانية. يعالج الجامع وحدات BMC غير المكتملة في تشغيل لاحق. اضبط فاصل إعادة الاكتشاف وعدد العمّال ومهلة الاتصال والطلب وحد حجم الاستجابة بما يلائم شبكة الإدارة؛ تعرض صفحة الإعدادات النطاق والقيمة الافتراضية لكل منها. + + +## إعداد TLS وتسجيل BMC + +أبقِ التحقق من الشهادات مفعّلًا. استخدم حزمة CA لسلطة شهادات خاصة أو ثبّت بصمة SPKI SHA-256 لوحدة BMC. يعطّل إعداد عدم التحقق لكل BMC التحقق من الطرف المقابل لتلك الوحدة ويترك تحذيرًا في صفحة السلامة؛ استخدمه فقط استثناءً تشخيصيًا مؤقتًا على شبكة إدارة معزولة. + +أنشئ سجل بيانات اعتماد بحساب القراءة فقط وكلمة مروره. ثم أضف BMC باسم DNS أو عنوان الإدارة ومنفذ HTTPS وبيانات الاعتماد ووضع TLS. يجب أن تشير ملفات الاستيراد إلى بيانات الاعتماد بالاسم وألا تحتوي على كلمات مرور. استيراد CSV إجراء إداري؛ راجع الصفوف والعناوين المستهدفة قبل الاستيراد. + +يعرض نموذج BMC وصفحة السلامة حالة الجمع وعمر البيانات. افحص تحذيرات المصادقة وTLS وDNS والمهل وحجم الاستجابة والبيانات القديمة قبل إنشاء عتبات تنبيه. لم يُؤهل الكود الحالي على برامج BMC ثابتة حقيقية. تسجل مصفوفة المصنعين في [research/vendor-matrix.md](../../../research/vendor-matrix.md) ما هو معلوم وما لم يُتحقق منه؛ لا تستنتج دعم برنامج ثابت من مهمة المحاكاة في CI. + + +## إنشاء جهاز ورسوم + +في صفحة BMC، اختر **Create Device** لإنشاء جهاز Cacti منفصل، أو **Add Graphs** لإرفاق استعلامات BMC بجهاز خادم موجود. راجع الخطة قبل التأكيد. لا تفحص الإضافة BMC عبر اختبارات توفر أجهزة Cacti. يحتاج المنشئ إلى وصول إدارة Redfish وصلاحية إدارة أجهزة Cacti معًا. يُتراجع عن إنشاء جهاز لا يستطيع منشئه رؤيته. + +بعد التجهيز، استخدم مسار إنشاء الرسوم في Cacti لإضافة رسوم Redfish الملخصة ورسوم الأعضاء. يُقرأ عضو BMC الذي يغيب أو يختفي كغير معروف (`U`)؛ وتحتفظ الإضافة برسمه وتاريخ RRD. بعد تحديث البرنامج الثابت أو استبدال مكوّن، شغّل **Add Graphs** مجددًا لإعادة فهرسة الأعضاء الحاليين. احذف الرسوم القديمة يدويًا فقط عندما لا تحتاج إلى تاريخها. + + +## إعداد التنبيهات + +قيم Redfish الملخصة وقيم الأعضاء مصادر بيانات Cacti عادية. أنشئ عتبات Thold للقيم المهمة للموقع، واستخدم جداول Maint لكتم الإشعارات أثناء العمل المخطط. اختر مدة عتبة لا تقل عن فاصل جمع واحد، كي لا تبدو إعادة استطلاع القراءة المؤقتة نفسها ملاحظة جديدة. أبقِ عتبة `age` مفعّلة إن كنت تحتاج إلى اكتشاف BMC توقفت عن الرد. تحقق من سلوك إطلاق التنبيه واستعادته باستخدام نسختي Thold وMaint لديك قبل الاعتماد عليه تشغيليًا. + + +## النسخ الاحتياطي والاستعادة ومعالجة الفشل + +انسخ قاعدة بيانات Cacti وإعداداته وملفات `rra/` وملف مفتاح الخزنة المطابق كمجموعة استعادة واحدة. خزّن نسخة المفتاح منفصلة عن نسخة قاعدة البيانات، وقيّد الوصول إلى كل نسخة. اختبر الاستعادة في نسخة Cacti غير إنتاجية قبل الاعتماد على النسخ. تتطلب استعادة قاعدة البيانات وحدها أو فقدان المفتاح إعادة إدخال كلمات مرور BMC؛ وتؤدي استعادة قاعدة البيانات دون ملفات RRD إلى فقدان تاريخ الرسوم. + +لتمرين استعادة، أنشئ نسخة Cacti معزولة بالإصدار نفسه من الإضافة واستعد نسخًا من قاعدة البيانات وإعدادات Cacti وملفات `rra/`. غيّر الإعدادات المنسوخة لتستخدم مضيف قاعدة البيانات المستعادة واسمها. قبل تشغيل Cacti، طبّق قاعدة شبكة تمنع نسخة الاختبار من الوصول إلى قاعدة بيانات الإنتاج، وتحقق من حظر محاولة الاتصال بمضيف الإنتاج. اسمح بالوصول إلى القاعدة المستعادة فقط. + +ثبّت مفتاح الخزنة المطابق في المسار المحدد مع الحفاظ على مالكه وصلاحياته المقيدة. قبل الاتصال بأي BMC، استخدم فحص PHP مؤقتًا للمسؤولين فقط لاستدعاء `CredentialStore::resolve()` لبيانات اعتماد مستعادة واحدة. تخلّص فورًا من كلمة المرور المعادة وسجل النجاح أو الفشل فقط؛ لا تطبع السر أو تسجله. لا تملك الإضافة إجراء واجهة لهذا الفحص الخاص ببيانات الاعتماد وحدها. ثم سجّل BMC اختبارية مخصصة يمكن للنسخة المعزولة الوصول إليها، ببيانات اعتماد خاصة بالاختبار. أبقِ عناوين BMC الإنتاجية معطلة وغير قابلة للوصول من نسخة الاختبار؛ ولا ترسل بيانات اعتماد الإنتاج إلى الوحدة الاختبارية. سجل نتيجة فحص الاعتماد منفصلة عن الجمع من وحدة الاختبار. تأكد من اكتمال الجمع، وإظهار صفحة السلامة قراءة حديثة، واحتفاظ رسم مستعاد بتاريخه. + +كرر بعد ذلك مع عدم توفر المفتاح: يجب أن يفشل الجمع بأمان، وأن تبقى صفحات Cacti متاحة، وأن تعرض صفحة السلامة فشل بيانات الاعتماد. سجل إصدارات Cacti وPHP وقاعدة البيانات والإضافة والنتائج؛ ولا تضع المفتاح أو كلمات المرور في التقرير. هذا إجراء مقترح، وليس تمرين استعادة مكتملًا. + +إذا كان المفتاح مفقودًا أو غير مقروء أو غير صالح، يفشل الجمع بأمان؛ لا تستبدله بمفتاح جديد وتتوقع عمل بيانات الاعتماد الحالية. استعد المفتاح المطابق أو أدخل بيانات الاعتماد مجددًا. عند عدم توفر BMC، تحتفظ الإضافة بالقراءات المؤقتة وتوسمها بالقديمة؛ تصبح القيم غير معروفة بدل الصفر. افحص صفحة السلامة وسجلات المستطلِع وDNS وإمكانية الوصول إلى شبكة الإدارة وصلاحيات الحساب وثقة الشهادات. لا تعطّل التحقق من TLS عالميًا لتجاوز مشكلة شهادة. + +يوقف تعطيل الإضافة الجمع. عند إلغاء التثبيت يكون الافتراضي الاحتفاظ بالجداول. يمكن للإعداد طلب حذفها؛ صدّر بيانات BMC وبيانات الاعتماد الوصفية المطلوبة أولًا. تترك الإضافة أجهزة Cacti ورسومه وإعدادات BMC كما هي. لا تؤدي إزالتها إلى إيقاف BMC أو إعادة إعدادها. + + +## حدود التوافق والتأهيل + +لا يُعلن حاليًا دعم أي خط برامج ثابتة حقيقي. تتضمن اختبارات التطوير أشكال Dell وHPE وLenovo المكتوبة يدويًا وخادم محاكاة DMTF، لكنها مدخلات اختبار وليست تأهيل أجهزة حقيقية. تحتاج OpenBMC والعائلات الأخرى أيضًا إلى بيانات ملتقطة منقحة وتشغيل اختبارات قبل إعلان الدعم. راجع [research/vendor-matrix.md](../../../research/vendor-matrix.md) والقضية [#19](https://github.com/somethingwithproof/plugin_redfish/issues/19). + +لم تُصدر الإضافة بعد. لا تزال تقارير تجارب المرحلة 1 وقياسات زمن الاستجابة لوحدات BMC الحقيقية وتمارين النسخ والاستعادة والتأهيل الأمني مفتوحة. لا تستخدم نسخة التطوير الحالية دليلًا على تأهيل BMC أو برنامج ثابت أو حجم أسطول أو إجراء استعادة بعينه. diff --git a/docs/i18n/es-419/README.md b/docs/i18n/es-419/README.md new file mode 100644 index 0000000..7526cbb --- /dev/null +++ b/docs/i18n/es-419/README.md @@ -0,0 +1,134 @@ + + + +[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) + + + +# plugin_redfish + +Un complemento para Cacti 1.2 que incorpora el consumo eléctrico, la temperatura de entrada, el estado de los ventiladores y la salud de las fuentes de alimentación de los controladores de gestión de placa base (BMC) como dispositivos, fuentes de datos y gráficos normales de Cacti, mediante Redfish y con una alternativa IPMI opcional prevista. Thold y Maint permiten alertar y suprimir notificaciones; una fase posterior agregará totales de potencia por rack. + +> **Estado: en desarrollo, aún sin versión publicada (0.1.0-dev).** Los hitos 2 (base) y 3 (objetos Cacti y alertas) están integrados en `main`. Este complemento no está afiliado al proyecto Cacti. Se instala en Cacti 1.2.31 con PHP 8.2 o posterior, registra BMC y credenciales, lee por Redfish la potencia, temperaturas, ventiladores y salud de las fuentes en su propia caché, y muestra el estado de la recopilación. Agrega dispositivos Cacti, gráficos por miembro y de resumen, y compatibilidad con Thold y Maint mediante fuentes de datos normales. CI ha probado un BMC simulado con datos escritos a mano y el servidor de simulación Redfish de DMTF; no se ha validado ningún BMC real ni despliegue piloto. El diseño y la investigación están en [docs/PLAN.md](../../PLAN.md), [docs/research/](../../research) y [docs/decisions/](../../decisions). + + +### Qué incluye el hito 2 + +- Instalación, actualización, desactivación y desinstalación mediante la API de complementos de Cacti. Las tablas se conservan al desinstalar salvo que se desmarque la opción. En PHP anterior a 8.2 el complemento rechaza instalarse o activarse e indica el motivo. +- Permisos «Redfish View» (página de estado), «Redfish Operator» (operaciones) y «Redfish Admin» (BMC y credenciales), y ajustes en Configuration > Settings > Redfish. +- Registro de BMC con importación CSV y exportación JSON. Los archivos de importación no deben contener contraseñas; las credenciales se referencian por nombre. +- Credenciales cifradas con AES-256-GCM. La clave reside en un archivo fuera de la base de datos, por defecto `/etc/cacti/redfish-vault.key`, con 64 caracteres hexadecimales (`openssl rand -hex 32`) o exactamente 32 bytes aleatorios. Debe pertenecer al usuario del sondeador, no ser legible por otros usuarios y estar en un directorio donde solo ese usuario o root puedan escribir. Una clave de 32 caracteres imprimibles se rechaza por considerarse una frase de contraseña. **Respalde el archivo de clave junto con la base de datos**; sin él deberá volver a ingresar todas las contraseñas. +- Verificación TLS activada por defecto, con un paquete de certificados CA o una huella SPKI SHA-256 por BMC. La desactivación por BMC se registra y permanece como advertencia en la página de estado. +- Cliente Redfish de solo lectura: únicamente `GET`, inicio y cierre de sesión, comprobados contra una lista de operaciones permitidas antes de enviar cada solicitud. +- Recopilador iniciado desde `poller_bottom` para los BMC del sondeador principal, con arrendamientos y plazos por BMC, espera progresiva y limpieza tras un fallo de la única sesión registrada por el complemento. Aún no se admiten recopiladores remotos; requieren decidir expresamente cómo accederán a la base de datos y la clave (fase 4). +- Los registros y credenciales respetan los permisos de dispositivos Cacti: un Redfish Admin solo ve, modifica y vincula BMC de dispositivos visibles, y solo credenciales que ningún BMC de un dispositivo oculto utilice. + + +### Qué agrega el hito 3 + +- Plantillas XML de Cacti en `templates/`, importadas con el importador de Cacti durante la instalación y actualización, identificadas por hash para actualizar los objetos sin duplicarlos. Los tres archivos de consulta se copian a `/resource/script_server/` y se registra su hash; nunca se sustituye allí un archivo que el complemento no haya escrito. La página de estado avisa cuando faltan plantillas o archivos de consulta. **Reinstall the Redfish Templates**, en la página BMC, vuelve a importarlos y requiere el permiso Import Templates de Cacti. +- **Create Device** o **Add Graphs** en cada BMC ([ADR 0015](../../decisions/0015-attach-to-the-server-device-or-create-one-per-bmc.md)). Un BMC asignado a un dispositivo existente agrega allí sus consultas y gráficos. Un BMC sin asignar obtiene un dispositivo de la plantilla «Redfish BMC», con comprobaciones de disponibilidad desactivadas y un nombre bajo `.invalid`, para que Cacti nunca contacte con el BMC ni muestre su dirección. En ambos casos, un administrador confirma antes un plan de elementos que se agregarán. Se requieren Redfish Admin y el permiso de gestión de dispositivos; si el creador no puede ver el dispositivo nuevo, se elimina de nuevo. +- Tres consultas del servidor de scripts: «Redfish Fans», «Redfish Temperatures» y «Redfish Power Supplies», indexadas por la clave de miembro del BMC y con un gráfico por miembro: velocidad de ventilador en porcentaje o RPM, según la unidad notificada; temperatura; y vatios de entrada y salida de las fuentes, junto con sus códigos de salud. +- Entrada «Redfish Node Summary» con potencia, temperatura de entrada, temperatura máxima, ventiladores y fuentes en estado incorrecto, salud del nodo y antigüedad de la última lectura correcta. Se representa en cuatro gráficos: potencia, temperaturas, salud de componentes y antigüedad de datos. Thold alerta sobre estas fuentes y Maint suprime notificaciones sin modificar ninguno de los dos complementos. +- El servidor de scripts responde exclusivamente desde la caché y nunca contacta con un BMC. Un valor ausente, obsoleto, con otra unidad o perteneciente a un miembro desaparecido es `U`: el gráfico muestra un hueco, nunca cero. `age` siempre tiene valor, de modo que un umbral detecta un BMC que deja de responder. +- Enlace desde cada gráfico Redfish a los gráficos Redfish de su dispositivo, visible solo para los usuarios a quienes Cacti permite ver el dispositivo. + +**Cuando cambien los miembros de un BMC** (sustitución de un ventilador o firmware que renombra sensores), seleccione de nuevo **Add Graphs**. Un ventilador o fuente antes presente que ahora falta cuenta en `fans_bad` o `psus_bad` hasta hacerlo, de modo que retirar un ventilador provoca una alerta; una ranura nunca ocupada no cuenta. Add Graphs acepta los miembros notificados actualmente y Cacti reindexa las consultas. Un miembro desaparecido conserva su fuente y gráfico, que desde entonces leen `U`, y los miembros nuevos reciben gráficos. Elimine manualmente los gráficos obsoletos solo cuando ya no necesite su historial. + +Eliminar un dispositivo desasigna su BMC y conserva el BMC y su caché. Eliminar un BMC o desinstalar el complemento conserva el dispositivo y los gráficos. + + +## Roles de acceso + +| Permiso | Acceso | +| --- | --- | +| Redfish View | Páginas de supervisión existentes. | +| Redfish Operator | Supervisión, página de operaciones y acuses personales de investigación. | +| Redfish Admin | Acceso de operador más configuración y acciones administrativas existentes. | + +Después de copiar los archivos de actualización, abra Plugins como administrador para registrar el nuevo permiso. Asigne expresamente Operator en **Configuration > Users** o en los grupos. Las actualizaciones conservan los identificadores y concesiones existentes de View y Admin. En cada solicitud, Admin hereda Operator y Operator hereda View; no se agregan concesiones persistentes a usuarios o grupos. Los ajustes del complemento requieren Redfish Admin además del permiso Settings de Cacti. + +Los permisos de dispositivos Cacti siguen limitando las filas y acciones disponibles para cada usuario; los objetos sin asignar requieren un administrador. Los operadores pueden liberar una retención de recopilación de un BMC permitido para la siguiente ejecución programada. Las credenciales, configuración, asignación, eliminación y demás cambios administrativos permanecen en las páginas de administración. Los acuses solo duran en la sesión actual, como máximo una hora y mientras la misma observación siga vigente. Las observaciones nuevas o modificadas los invalidan. Nunca convierten una medición fallida en saludable ni suprimen alertas. + + +## Motivo + +Cada servidor tiene un BMC que informa de potencia y estado térmico con independencia del sistema operativo, por lo que sigue respondiendo cuando este falla. Los datos permiten seguir capacidad y costos, detectar pronto fallos de ventiladores o fuentes y, en computación de alto rendimiento, decidir límites de potencia. El complemento no es exclusivo de HPC. + +Cacti ya cubre parte de estas necesidades: + +- **Paquetes SNMP de fabricantes.** La rama 1.2.x incluye plantillas Dell iDRAC y HPE iLO que requieren un agente SNMP y son específicas del fabricante. La investigación del hito 1 encontró que ninguna informa del consumo en vatios ([docs/research/overlap.md](../../research/overlap.md)). +- **Un tipo de credencial sin recopilador.** plugin_credentials define una credencial «IPMI / Redfish (BMC)», pero no lee ningún BMC. +- **Sin vista por rack.** El núcleo de Cacti no tiene un objeto rack; los dispositivos tienen un campo libre `location`. + +El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold, Maint y recopiladores remotos de Cacti, sin cambiar el estado de los BMC. + + +## Alcance previsto + +| Fase | Alcance | Hitos | +|---|---|---| +| 0, investigación | Matriz de fabricantes, confirmación del comportamiento upstream en BMC reales, coste del sondeo y prueba de consulta de datos | [M1](https://github.com/somethingwithproof/plugin_redfish/milestone/1) | +| 1, observación | Registro BMC, credenciales, TLS, recopilador Redfish, lecturas normalizadas, dispositivos, gráficos por índice, alertas Thold, supresión Maint y página de estado | [M2](https://github.com/somethingwithproof/plugin_redfish/milestone/2), [M3](https://github.com/somethingwithproof/plugin_redfish/milestone/3), [M4](https://github.com/somethingwithproof/plugin_redfish/milestone/4) | +| 2, IPMI | Alternativa IPMI para BMC sin Redfish utilizable, desactivada por defecto | [M5](https://github.com/somethingwithproof/plugin_redfish/milestone/5) | +| 3, racks | Registro de racks, totales de potencia con cobertura y margen presupuestado | [M6](https://github.com/somethingwithproof/plugin_redfish/milestone/6) | +| 4, remoto | Recopiladores remotos Cacti para redes BMC aisladas | [M7](https://github.com/somethingwithproof/plugin_redfish/milestone/7) | + +Fuera de alcance: fijar límites de potencia u otra configuración BMC, control de encendido, actualización de firmware, acceso a consola, motor propio de alertas e integración con planificadores. + + +## Objetivos de compatibilidad + +| Componente | Objetivo | +|---|---| +| Cacti | 1.2.31 o posterior, sin parches del núcleo | +| Base de datos | MariaDB 10.2 o MySQL 5.7 o posterior: una clave única sobre una columna generada garantiza un BMC por dispositivo | +| PHP | 8.2 o posterior; `setup.php` sigue siendo interpretable en 8.0 para rechazar una versión no compatible sin romper la interfaz | +| BMC | Dell iDRAC, HPE iLO, Lenovo XCC y OpenBMC, por intervalo de firmware; consulte la [matriz de fabricantes](../../research/vendor-matrix.md) | +| Redfish | Primero los recursos nuevos de subsistemas y sensores; `Power` y `Thermal`, obsoletos, como alternativa | +| Thold, Maint | Sin cambios necesarios | + + +## Diseño + +- [docs/PLAN.md](../../PLAN.md) contiene el plan completo: arquitectura, hechos upstream de los que depende, fuentes y supuestos pendientes, modelo de medición, límites de seguridad, cálculos de rendimiento, pruebas y riesgos. +- [docs/decisions/](../../decisions) contiene los registros de decisiones de arquitectura ya tomadas. +- [docs/REQUIREMENTS.md](../../REQUIREMENTS.md) relaciona cada identificador de requisito con su incidencia. + +```mermaid +flowchart LR + BMC[BMCs: Redfish over HTTPS] --> C[Collector on the Cacti poller] + C --> CACHE[(Normalized reading cache)] + CACHE --> SS[Script server data query] + SS -->|poller_output| T[Thold and Maint] + SS --> G[Cacti graphs and permissions] + CACHE --> R[Rack totals, phase 3] +``` + + +## Seguridad + +Las credenciales BMC controlan la gestión fuera de banda de los servidores. El diseño las mantiene fuera de comandos, registros y páginas, verifica TLS por defecto, ejecuta comandos externos mediante matrices de argumentos con subcomandos permitidos y usa cuentas BMC de solo lectura. Consulte [docs/PLAN.md](../../PLAN.md#security) y [SECURITY.md](../../../SECURITY.md). + + +## Guía del operador + +Consulte [docs/operator-guide.md](docs/operator-guide.md) para requisitos de instalación, bóveda y TLS, registro BMC, gráficos, intervalos de alerta, copias de seguridad y fallos. La guía no declara compatible una línea real de firmware hasta que una captura anonimizada de esa versión supera la batería de pruebas. + + +## Seguimiento del trabajo + +- Los **hitos** siguen el plan. Cada uno tiene una incidencia principal con subincidencias y pruebas de cumplimiento. +- Las **incidencias** se clasifican con `type: requirement`, `type: research`, `type: decision` y `type: epic`. Las de requisitos incluyen requisitos numerados y comprobables (`REQ-AREA-NNN`) y criterios de aceptación. +- Las **etiquetas** también incluyen `area:`, `phase:`, `priority:` y `status:`. Consulte [CONTRIBUTING.md](../../../CONTRIBUTING.md#labels). +- El [tablero del proyecto](https://github.com/users/somethingwithproof/projects/12) muestra todas las incidencias de los hitos. + + +## Contribuciones + +Lea [CONTRIBUTING.md](../../../CONTRIBUTING.md). Los commits necesitan firma DCO. El diseño se debate en incidencias y las decisiones abiertas llevan `type: decision`. Las pruebas de BMC reales son ahora la contribución más útil; oculte direcciones, números de serie y credenciales antes de publicar capturas. + + +## Licencia + +Licencia Pública General GNU v2.0, la misma que Cacti y sus complementos. Consulte [LICENSE](../../../LICENSE). diff --git a/docs/i18n/es-419/docs/operator-guide.md b/docs/i18n/es-419/docs/operator-guide.md new file mode 100644 index 0000000..c364627 --- /dev/null +++ b/docs/i18n/es-419/docs/operator-guide.md @@ -0,0 +1,72 @@ + + + +# Guía del operador de Redfish + +Esta guía cubre la versión de desarrollo de plugin_redfish posterior a los hitos 2 y 3. Todavía no hay una versión etiquetada. CI prueba Cacti 1.2.31 y la rama 1.2.x actual en PHP 8.2 a 8.5, incluidos los flujos de instalación y gráficos. Esas tareas usan BMC de prueba y el servidor de simulación Redfish de DMTF; no validan un fabricante ni una línea de firmware reales. + + +## Antes de instalar + +- Use Cacti 1.2.31 o posterior y PHP 8.2 o posterior. El complemento rechaza expresamente instalarse o activarse en versiones de PHP anteriores a 8.2. +- Ejecute el sondeador de Cacti con acceso a la red de gestión BMC. El recopilador actual usa HTTPS hacia Redfish por TCP 443. No utiliza IPMI ni UDP 623; IPMI corresponde a una fase posterior. +- Elija una cuenta que pueda leer los recursos recopilados. No use una cuenta administrativa. Los nombres y permisos de roles de cada fabricante aún no se han validado en firmware BMC real; verifique la cuenta contra los recursos que expone su BMC. +- Decida cómo leerán la clave de credenciales el sondeador y el servidor web, y cómo respaldará juntos la base de datos y esa clave. + + +## Instalar y preparar la bóveda + +Instale el complemento en el directorio `plugins/redfish` de Cacti y actívelo mediante Plugin Management. El complemento comprueba el requisito de PHP y crea sus tablas mediante la API de complementos de Cacti. Después de activarlo, abra **Configuration → Settings → Redfish** y ajuste la ruta de la clave si no utiliza `/etc/cacti/redfish-vault.key`. + +Cree una clave aleatoria de 32 bytes fuera de la raíz web. Para un archivo hexadecimal: + +```sh +openssl rand -hex 32 +``` + +Escriba la salida en la ruta configurada con permisos que permitan leer al servidor web y al sondeador, pero impidan a otros usuarios leerla o sustituirla. Solo root y la cuenta de servicio propietaria de la clave deben poder escribir en el directorio. El complemento no crea ni repara el archivo. Respáldelo junto con la base de datos Cacti: una restauración sin la clave correspondiente no puede descifrar contraseñas guardadas. + +Fije el presupuesto del recopilador por debajo del intervalo del sondeador. Los valores predeterminados son 300 segundos de intervalo y 240 de presupuesto. Los BMC incompletos se procesan en una ejecución posterior. Ajuste el intervalo de redescubrimiento, número de procesos, tiempos de conexión y solicitud y límite de respuesta a la red de gestión; la página de ajustes indica el rango y valor predeterminado de cada uno. + + +## Configurar TLS y registrar un BMC + +Mantenga activada la verificación de certificados. Use un paquete CA para una autoridad privada o fije la huella SPKI SHA-256 del BMC. Desactivar la verificación en un BMC omite la comprobación del interlocutor para ese BMC y deja una advertencia en la página de estado; úselo solo como excepción temporal de diagnóstico en una red de gestión aislada. + +Cree una credencial con la cuenta de solo lectura y su contraseña. Agregue después el BMC con su nombre DNS o dirección de gestión, puerto HTTPS, credencial y modo TLS. Los archivos de importación deben referenciar credenciales por nombre y no contener contraseñas. Importar CSV es una acción administrativa: revise filas y direcciones de destino antes de importar. + +El formulario BMC y la página de estado muestran la recopilación y la antigüedad de los datos. Investigue las advertencias de autenticación, TLS, DNS, tiempo de espera, tamaño de respuesta y datos obsoletos antes de crear umbrales. El código actual no se ha validado en firmware BMC real. La matriz de [research/vendor-matrix.md](../../../research/vendor-matrix.md) registra lo conocido y lo pendiente; no deduzca compatibilidad de firmware a partir de la tarea CI de simulación. + + +## Crear un dispositivo y gráficos + +En la página BMC, elija **Create Device** para crear un dispositivo Cacti independiente o **Add Graphs** para vincular las consultas a un servidor existente. Revise el plan antes de confirmar. El complemento no sondea el BMC mediante las comprobaciones de disponibilidad de dispositivos Cacti. El creador necesita acceso administrativo Redfish y permiso de gestión de dispositivos Cacti. Un dispositivo nuevo que el creador no pueda ver se revierte. + +Tras aprovisionar, use el flujo de creación de gráficos de Cacti para agregar resúmenes y gráficos por miembro. Un miembro ausente o desaparecido se lee como desconocido (`U`); su gráfico e historial RRD se conservan. Después de actualizar firmware o sustituir componentes, ejecute de nuevo **Add Graphs** para reindexar los miembros actuales. Elimine gráficos obsoletos manualmente solo cuando ya no necesite el historial. + + +## Configurar alertas + +Los valores de resumen y por miembro son fuentes de datos Cacti normales. Cree umbrales Thold para los valores relevantes y use programas Maint para suprimir notificaciones durante trabajos planificados. Elija una duración de umbral de al menos un intervalo del recopilador para que una consulta repetida de la misma lectura en caché no parezca una observación nueva. Mantenga activado el umbral `age` si necesita detectar BMC que dejan de responder. Compruebe el disparo y recuperación de umbrales con sus versiones de Thold y Maint antes de depender de ellos en operación. + + +## Copias de seguridad, restauración y fallos + +Respalde como un conjunto de recuperación la base de datos Cacti, su configuración, los archivos `rra/` y el archivo exacto de clave de la bóveda. Guarde la copia de la clave separada de la copia de la base de datos y restrinja el acceso a cada una. Pruebe la restauración en una instancia no productiva antes de confiar en ella. Restaurar solo la base de datos o perder la clave obliga a volver a ingresar las contraseñas BMC; restaurar sin sus RRD pierde el historial de los gráficos. + +Para un ensayo de recuperación, cree una instancia aislada con la misma versión del complemento y restaure copias de la base de datos, configuración y archivos `rra/`. Modifique la configuración copiada para usar el host y nombre de la base restaurada. Antes de iniciar Cacti, aplique una regla de red que impida a la instancia de prueba acceder a la base de producción y confirme que un intento de conexión a ese host queda bloqueado. Permita acceso únicamente a la base restaurada. + +Instale la clave correspondiente en la ruta configurada, conservando propietario y permisos restrictivos. Antes de contactar con cualquier BMC, use una comprobación PHP temporal solo para administradores que llame a `CredentialStore::resolve()` para una credencial restaurada. Descarte inmediatamente la contraseña devuelta y registre solo éxito o fallo; no imprima ni registre el secreto. No existe una acción de interfaz para esta comprobación exclusiva de credenciales. Registre después un BMC de pruebas dedicado y accesible desde la instancia aislada con credenciales exclusivas de prueba. Mantenga desactivadas e inaccesibles las direcciones BMC de producción; no envíe credenciales productivas al simulador. Registre por separado el resultado de credenciales y la recopilación del BMC de prueba. Confirme que la recopilación termina, que la página de estado indica una lectura actual y que un gráfico restaurado conserva su historial. + +Repita después sin la clave disponible: la recopilación debe fallar de forma cerrada, las páginas Cacti deben seguir disponibles y la página de estado debe indicar el fallo de credenciales. Registre versiones de Cacti, PHP, base de datos y complemento, y los resultados; no incluya claves ni contraseñas. Esto es un procedimiento, no un ensayo de recuperación ya realizado. + +Si la clave falta, no puede leerse o es inválida, la recopilación falla de forma cerrada; no la sustituya por otra esperando que las credenciales existentes funcionen. Restaure la clave correcta o ingrese de nuevo las credenciales. Si un BMC no está disponible, se conservan las lecturas en caché y se marcan obsoletas; pasan a desconocidas en vez de cero. Revise página de estado, registros del sondeador, DNS, conectividad de gestión, acceso de cuenta y confianza de certificados. No desactive globalmente TLS para sortear un problema de certificado. + +Desactivar el complemento detiene la recopilación. La desinstalación conserva las tablas por defecto, aunque una opción permite eliminarlas: exporte primero los metadatos BMC y de credenciales que necesite. Se conservan dispositivos, gráficos y configuración BMC. Quitar el complemento no apaga ni reconfigura ningún BMC. + + +## Límites de compatibilidad y validación + +Actualmente no se declara compatible ninguna línea real de firmware. La batería de desarrollo incluye estructuras Dell, HPE y Lenovo escritas a mano y el simulador DMTF, pero son entradas de prueba, no validaciones de dispositivos reales. OpenBMC y otros fabricantes también necesitan capturas anonimizadas y pruebas antes de declarar compatibilidad. Consulte [research/vendor-matrix.md](../../../research/vendor-matrix.md) y la incidencia [#19](https://github.com/somethingwithproof/plugin_redfish/issues/19). + +El complemento aún no se ha publicado. Siguen pendientes los informes piloto de fase 1, medidas de latencia en BMC reales, ensayos de copia y restauración, y validación de seguridad. No use la versión de desarrollo como prueba de que se ha validado un BMC, firmware, tamaño de despliegue o procedimiento de recuperación concreto. diff --git a/docs/i18n/es-ES/README.md b/docs/i18n/es-ES/README.md new file mode 100644 index 0000000..f3a94e2 --- /dev/null +++ b/docs/i18n/es-ES/README.md @@ -0,0 +1,134 @@ + + + +[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) + + + +# plugin_redfish + +Un complemento para Cacti 1.2 que incorpora el consumo eléctrico, la temperatura de entrada, el estado de los ventiladores y la salud de las fuentes de alimentación de los controladores de gestión de placa base (BMC) como dispositivos, fuentes de datos y gráficos normales de Cacti, mediante Redfish y con una alternativa IPMI opcional prevista. Thold y Maint permiten alertar y suprimir notificaciones; una fase posterior añadirá totales de potencia por rack. + +> **Estado: en desarrollo, aún sin versión publicada (0.1.0-dev).** Los hitos 2 (base) y 3 (objetos Cacti y alertas) están integrados en `main`. Este complemento no está afiliado al proyecto Cacti. Se instala en Cacti 1.2.31 con PHP 8.2 o posterior, registra BMC y credenciales, lee por Redfish la potencia, temperaturas, ventiladores y salud de las fuentes en su propia caché, y muestra el estado de la recopilación. Añade dispositivos Cacti, gráficos por miembro y de resumen, y compatibilidad con Thold y Maint mediante fuentes de datos normales. CI ha probado un BMC simulado con datos escritos a mano y el servidor de simulación Redfish de DMTF; no se ha validado ningún BMC real ni despliegue piloto. El diseño y la investigación están en [docs/PLAN.md](../../PLAN.md), [docs/research/](../../research) y [docs/decisions/](../../decisions). + + +### Qué incluye el hito 2 + +- Instalación, actualización, desactivación y desinstalación mediante la API de complementos de Cacti. Las tablas se conservan al desinstalar salvo que se desmarque la opción. En PHP anterior a 8.2 el complemento rechaza instalarse o activarse e indica el motivo. +- Permisos «Redfish View» (página de estado), «Redfish Operator» (operaciones) y «Redfish Admin» (BMC y credenciales), y ajustes en Configuration > Settings > Redfish. +- Registro de BMC con importación CSV y exportación JSON. Los archivos de importación no deben contener contraseñas; las credenciales se referencian por nombre. +- Credenciales cifradas con AES-256-GCM. La clave reside en un archivo fuera de la base de datos, por defecto `/etc/cacti/redfish-vault.key`, con 64 caracteres hexadecimales (`openssl rand -hex 32`) o exactamente 32 bytes aleatorios. Debe pertenecer al usuario del sondeador, no ser legible por otros usuarios y estar en un directorio donde solo ese usuario o root puedan escribir. Una clave de 32 caracteres imprimibles se rechaza por considerarse una frase de contraseña. **Respalde el archivo de clave junto con la base de datos**; sin él deberá volver a introducir todas las contraseñas. +- Verificación TLS activada por defecto, con un paquete de certificados CA o una huella SPKI SHA-256 por BMC. La desactivación por BMC se registra y permanece como advertencia en la página de estado. +- Cliente Redfish de solo lectura: únicamente `GET`, inicio y cierre de sesión, comprobados contra una lista de operaciones permitidas antes de enviar cada solicitud. +- Recopilador iniciado desde `poller_bottom` para los BMC del sondeador principal, con arrendamientos y plazos por BMC, espera progresiva y limpieza tras un fallo de la única sesión registrada por el complemento. Aún no se admiten recopiladores remotos; requieren decidir expresamente cómo accederán a la base de datos y la clave (fase 4). +- Los registros y credenciales respetan los permisos de dispositivos Cacti: un Redfish Admin solo ve, modifica y vincula BMC de dispositivos visibles, y solo credenciales que ningún BMC de un dispositivo oculto utilice. + + +### Qué añade el hito 3 + +- Plantillas XML de Cacti en `templates/`, importadas con el importador de Cacti durante la instalación y actualización, identificadas por hash para actualizar los objetos sin duplicarlos. Los tres archivos de consulta se copian a `/resource/script_server/` y se registra su hash; nunca se sustituye allí un archivo que el complemento no haya escrito. La página de estado avisa cuando faltan plantillas o archivos de consulta. **Reinstall the Redfish Templates**, en la página BMC, vuelve a importarlos y requiere el permiso Import Templates de Cacti. +- **Create Device** o **Add Graphs** en cada BMC ([ADR 0015](../../decisions/0015-attach-to-the-server-device-or-create-one-per-bmc.md)). Un BMC asignado a un dispositivo existente añade allí sus consultas y gráficos. Un BMC sin asignar obtiene un dispositivo de la plantilla «Redfish BMC», con comprobaciones de disponibilidad desactivadas y un nombre bajo `.invalid`, para que Cacti nunca contacte con el BMC ni muestre su dirección. En ambos casos, un administrador confirma antes un plan de elementos que se añadirán. Se requieren Redfish Admin y el permiso de gestión de dispositivos; si el creador no puede ver el dispositivo nuevo, se elimina de nuevo. +- Tres consultas del servidor de scripts: «Redfish Fans», «Redfish Temperatures» y «Redfish Power Supplies», indexadas por la clave de miembro del BMC y con un gráfico por miembro: velocidad de ventilador en porcentaje o RPM, según la unidad notificada; temperatura; y vatios de entrada y salida de las fuentes, junto con sus códigos de salud. +- Entrada «Redfish Node Summary» con potencia, temperatura de entrada, temperatura máxima, ventiladores y fuentes en estado incorrecto, salud del nodo y antigüedad de la última lectura correcta. Se representa en cuatro gráficos: potencia, temperaturas, salud de componentes y antigüedad de datos. Thold alerta sobre estas fuentes y Maint suprime notificaciones sin modificar ninguno de los dos complementos. +- El servidor de scripts responde exclusivamente desde la caché y nunca contacta con un BMC. Un valor ausente, obsoleto, con otra unidad o perteneciente a un miembro desaparecido es `U`: el gráfico muestra un hueco, nunca cero. `age` siempre tiene valor, de modo que un umbral detecta un BMC que deja de responder. +- Enlace desde cada gráfico Redfish a los gráficos Redfish de su dispositivo, visible solo para los usuarios a quienes Cacti permite ver el dispositivo. + +**Cuando cambien los miembros de un BMC** (sustitución de un ventilador o firmware que renombra sensores), seleccione de nuevo **Add Graphs**. Un ventilador o fuente antes presente que ahora falta cuenta en `fans_bad` o `psus_bad` hasta hacerlo, de modo que retirar un ventilador provoca una alerta; una ranura nunca ocupada no cuenta. Add Graphs acepta los miembros notificados actualmente y Cacti reindexa las consultas. Un miembro desaparecido conserva su fuente y gráfico, que desde entonces leen `U`, y los miembros nuevos reciben gráficos. Elimine manualmente los gráficos obsoletos solo cuando ya no necesite su historial. + +Eliminar un dispositivo desasigna su BMC y conserva el BMC y su caché. Eliminar un BMC o desinstalar el complemento conserva el dispositivo y los gráficos. + + +## Roles de acceso + +| Permiso | Acceso | +| --- | --- | +| Redfish View | Páginas de supervisión existentes. | +| Redfish Operator | Supervisión, página de operaciones y acuses personales de investigación. | +| Redfish Admin | Acceso de operador más configuración y acciones administrativas existentes. | + +Después de copiar los archivos de actualización, abra Plugins como administrador para registrar el nuevo permiso. Asigne expresamente Operator en **Configuration > Users** o en los grupos. Las actualizaciones conservan los identificadores y concesiones existentes de View y Admin. En cada solicitud, Admin hereda Operator y Operator hereda View; no se añaden concesiones persistentes a usuarios o grupos. Los ajustes del complemento requieren Redfish Admin además del permiso Settings de Cacti. + +Los permisos de dispositivos Cacti siguen limitando las filas y acciones disponibles para cada usuario; los objetos sin asignar requieren un administrador. Los operadores pueden liberar una retención de recopilación de un BMC permitido para la siguiente ejecución programada. Las credenciales, configuración, asignación, eliminación y demás cambios administrativos permanecen en las páginas de administración. Los acuses solo duran en la sesión actual, como máximo una hora y mientras la misma observación siga vigente. Las observaciones nuevas o modificadas los invalidan. Nunca convierten una medición fallida en saludable ni suprimen alertas. + + +## Motivo + +Cada servidor tiene un BMC que informa de potencia y estado térmico con independencia del sistema operativo, por lo que sigue respondiendo cuando este falla. Los datos permiten seguir capacidad y costes, detectar pronto fallos de ventiladores o fuentes y, en computación de alto rendimiento, decidir límites de potencia. El complemento no es exclusivo de HPC. + +Cacti ya cubre parte de estas necesidades: + +- **Paquetes SNMP de fabricantes.** La rama 1.2.x incluye plantillas Dell iDRAC y HPE iLO que requieren un agente SNMP y son específicas del fabricante. La investigación del hito 1 encontró que ninguna informa del consumo en vatios ([docs/research/overlap.md](../../research/overlap.md)). +- **Un tipo de credencial sin recopilador.** plugin_credentials define una credencial «IPMI / Redfish (BMC)», pero no lee ningún BMC. +- **Sin vista por rack.** El núcleo de Cacti no tiene un objeto rack; los dispositivos tienen un campo libre `location`. + +El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold, Maint y recopiladores remotos de Cacti, sin cambiar el estado de los BMC. + + +## Alcance previsto + +| Fase | Alcance | Hitos | +|---|---|---| +| 0, investigación | Matriz de fabricantes, confirmación del comportamiento upstream en BMC reales, coste del sondeo y prueba de consulta de datos | [M1](https://github.com/somethingwithproof/plugin_redfish/milestone/1) | +| 1, observación | Registro BMC, credenciales, TLS, recopilador Redfish, lecturas normalizadas, dispositivos, gráficos por índice, alertas Thold, supresión Maint y página de estado | [M2](https://github.com/somethingwithproof/plugin_redfish/milestone/2), [M3](https://github.com/somethingwithproof/plugin_redfish/milestone/3), [M4](https://github.com/somethingwithproof/plugin_redfish/milestone/4) | +| 2, IPMI | Alternativa IPMI para BMC sin Redfish utilizable, desactivada por defecto | [M5](https://github.com/somethingwithproof/plugin_redfish/milestone/5) | +| 3, racks | Registro de racks, totales de potencia con cobertura y margen presupuestado | [M6](https://github.com/somethingwithproof/plugin_redfish/milestone/6) | +| 4, remoto | Recopiladores remotos Cacti para redes BMC aisladas | [M7](https://github.com/somethingwithproof/plugin_redfish/milestone/7) | + +Fuera de alcance: fijar límites de potencia u otra configuración BMC, control de encendido, actualización de firmware, acceso a consola, motor propio de alertas e integración con planificadores. + + +## Objetivos de compatibilidad + +| Componente | Objetivo | +|---|---| +| Cacti | 1.2.31 o posterior, sin parches del núcleo | +| Base de datos | MariaDB 10.2 o MySQL 5.7 o posterior: una clave única sobre una columna generada garantiza un BMC por dispositivo | +| PHP | 8.2 o posterior; `setup.php` sigue siendo interpretable en 8.0 para rechazar una versión no compatible sin romper la interfaz | +| BMC | Dell iDRAC, HPE iLO, Lenovo XCC y OpenBMC, por intervalo de firmware; consulte la [matriz de fabricantes](../../research/vendor-matrix.md) | +| Redfish | Primero los recursos nuevos de subsistemas y sensores; `Power` y `Thermal`, obsoletos, como alternativa | +| Thold, Maint | Sin cambios necesarios | + + +## Diseño + +- [docs/PLAN.md](../../PLAN.md) contiene el plan completo: arquitectura, hechos upstream de los que depende, fuentes y supuestos pendientes, modelo de medición, límites de seguridad, cálculos de rendimiento, pruebas y riesgos. +- [docs/decisions/](../../decisions) contiene los registros de decisiones de arquitectura ya tomadas. +- [docs/REQUIREMENTS.md](../../REQUIREMENTS.md) relaciona cada identificador de requisito con su incidencia. + +```mermaid +flowchart LR + BMC[BMCs: Redfish over HTTPS] --> C[Collector on the Cacti poller] + C --> CACHE[(Normalized reading cache)] + CACHE --> SS[Script server data query] + SS -->|poller_output| T[Thold and Maint] + SS --> G[Cacti graphs and permissions] + CACHE --> R[Rack totals, phase 3] +``` + + +## Seguridad + +Las credenciales BMC controlan la gestión fuera de banda de los servidores. El diseño las mantiene fuera de comandos, registros y páginas, verifica TLS por defecto, ejecuta comandos externos mediante matrices de argumentos con subcomandos permitidos y usa cuentas BMC de solo lectura. Consulte [docs/PLAN.md](../../PLAN.md#security) y [SECURITY.md](../../../SECURITY.md). + + +## Guía del operador + +Consulte [docs/operator-guide.md](docs/operator-guide.md) para requisitos de instalación, bóveda y TLS, registro BMC, gráficos, intervalos de alerta, copias de seguridad y fallos. La guía no declara compatible una línea real de firmware hasta que una captura anonimizada de esa versión supera la batería de pruebas. + + +## Seguimiento del trabajo + +- Los **hitos** siguen el plan. Cada uno tiene una incidencia principal con subincidencias y pruebas de cumplimiento. +- Las **incidencias** se clasifican con `type: requirement`, `type: research`, `type: decision` y `type: epic`. Las de requisitos incluyen requisitos numerados y comprobables (`REQ-AREA-NNN`) y criterios de aceptación. +- Las **etiquetas** también incluyen `area:`, `phase:`, `priority:` y `status:`. Consulte [CONTRIBUTING.md](../../../CONTRIBUTING.md#labels). +- El [tablero del proyecto](https://github.com/users/somethingwithproof/projects/12) muestra todas las incidencias de los hitos. + + +## Contribuciones + +Lea [CONTRIBUTING.md](../../../CONTRIBUTING.md). Los commits necesitan firma DCO. El diseño se debate en incidencias y las decisiones abiertas llevan `type: decision`. Las pruebas de BMC reales son ahora la contribución más útil; oculte direcciones, números de serie y credenciales antes de publicar capturas. + + +## Licencia + +Licencia Pública General GNU v2.0, la misma que Cacti y sus complementos. Consulte [LICENSE](../../../LICENSE). diff --git a/docs/i18n/es-ES/docs/operator-guide.md b/docs/i18n/es-ES/docs/operator-guide.md new file mode 100644 index 0000000..bfa79af --- /dev/null +++ b/docs/i18n/es-ES/docs/operator-guide.md @@ -0,0 +1,72 @@ + + + +# Guía del operador de Redfish + +Esta guía cubre la versión de desarrollo de plugin_redfish posterior a los hitos 2 y 3. Todavía no hay una versión etiquetada. CI prueba Cacti 1.2.31 y la rama 1.2.x actual en PHP 8.2 a 8.5, incluidos los flujos de instalación y gráficos. Esas tareas usan BMC de prueba y el servidor de simulación Redfish de DMTF; no validan un fabricante ni una línea de firmware reales. + + +## Antes de instalar + +- Use Cacti 1.2.31 o posterior y PHP 8.2 o posterior. El complemento rechaza expresamente instalarse o activarse en versiones de PHP anteriores a 8.2. +- Ejecute el sondeador de Cacti con acceso a la red de gestión BMC. El recopilador actual usa HTTPS hacia Redfish por TCP 443. No utiliza IPMI ni UDP 623; IPMI corresponde a una fase posterior. +- Elija una cuenta que pueda leer los recursos recopilados. No use una cuenta administrativa. Los nombres y permisos de roles de cada fabricante aún no se han validado en firmware BMC real; verifique la cuenta contra los recursos que expone su BMC. +- Decida cómo leerán la clave de credenciales el sondeador y el servidor web, y cómo respaldará juntos la base de datos y esa clave. + + +## Instalar y preparar la bóveda + +Instale el complemento en el directorio `plugins/redfish` de Cacti y actívelo mediante Plugin Management. El complemento comprueba el requisito de PHP y crea sus tablas mediante la API de complementos de Cacti. Después de activarlo, abra **Configuration → Settings → Redfish** y ajuste la ruta de la clave si no utiliza `/etc/cacti/redfish-vault.key`. + +Cree una clave aleatoria de 32 bytes fuera de la raíz web. Para un archivo hexadecimal: + +```sh +openssl rand -hex 32 +``` + +Escriba la salida en la ruta configurada con permisos que permitan leer al servidor web y al sondeador, pero impidan a otros usuarios leerla o sustituirla. Solo root y la cuenta de servicio propietaria de la clave deben poder escribir en el directorio. El complemento no crea ni repara el archivo. Respáldelo junto con la base de datos Cacti: una restauración sin la clave correspondiente no puede descifrar contraseñas guardadas. + +Fije el presupuesto del recopilador por debajo del intervalo del sondeador. Los valores predeterminados son 300 segundos de intervalo y 240 de presupuesto. Los BMC incompletos se procesan en una ejecución posterior. Ajuste el intervalo de redescubrimiento, número de procesos, tiempos de conexión y solicitud y límite de respuesta a la red de gestión; la página de ajustes indica el rango y valor predeterminado de cada uno. + + +## Configurar TLS y registrar un BMC + +Mantenga activada la verificación de certificados. Use un paquete CA para una autoridad privada o fije la huella SPKI SHA-256 del BMC. Desactivar la verificación en un BMC omite la comprobación del interlocutor para ese BMC y deja una advertencia en la página de estado; úselo solo como excepción temporal de diagnóstico en una red de gestión aislada. + +Cree una credencial con la cuenta de solo lectura y su contraseña. Añada después el BMC con su nombre DNS o dirección de gestión, puerto HTTPS, credencial y modo TLS. Los archivos de importación deben referenciar credenciales por nombre y no contener contraseñas. Importar CSV es una acción administrativa: revise filas y direcciones de destino antes de importar. + +El formulario BMC y la página de estado muestran la recopilación y la antigüedad de los datos. Investigue las advertencias de autenticación, TLS, DNS, tiempo de espera, tamaño de respuesta y datos obsoletos antes de crear umbrales. El código actual no se ha validado en firmware BMC real. La matriz de [research/vendor-matrix.md](../../../research/vendor-matrix.md) registra lo conocido y lo pendiente; no deduzca compatibilidad de firmware a partir de la tarea CI de simulación. + + +## Crear un dispositivo y gráficos + +En la página BMC, elija **Create Device** para crear un dispositivo Cacti independiente o **Add Graphs** para vincular las consultas a un servidor existente. Revise el plan antes de confirmar. El complemento no sondea el BMC mediante las comprobaciones de disponibilidad de dispositivos Cacti. El creador necesita acceso administrativo Redfish y permiso de gestión de dispositivos Cacti. Un dispositivo nuevo que el creador no pueda ver se revierte. + +Tras aprovisionar, use el flujo de creación de gráficos de Cacti para añadir resúmenes y gráficos por miembro. Un miembro ausente o desaparecido se lee como desconocido (`U`); su gráfico e historial RRD se conservan. Después de actualizar firmware o sustituir componentes, ejecute de nuevo **Add Graphs** para reindexar los miembros actuales. Elimine gráficos obsoletos manualmente solo cuando ya no necesite el historial. + + +## Configurar alertas + +Los valores de resumen y por miembro son fuentes de datos Cacti normales. Cree umbrales Thold para los valores relevantes y use programas Maint para suprimir notificaciones durante trabajos planificados. Elija una duración de umbral de al menos un intervalo del recopilador para que una consulta repetida de la misma lectura en caché no parezca una observación nueva. Mantenga activado el umbral `age` si necesita detectar BMC que dejan de responder. Compruebe el disparo y recuperación de umbrales con sus versiones de Thold y Maint antes de depender de ellos en operación. + + +## Copias de seguridad, restauración y fallos + +Respalde como un conjunto de recuperación la base de datos Cacti, su configuración, los archivos `rra/` y el archivo exacto de clave de la bóveda. Guarde la copia de la clave separada de la copia de la base de datos y restrinja el acceso a cada una. Pruebe la restauración en una instancia no productiva antes de confiar en ella. Restaurar solo la base de datos o perder la clave obliga a volver a introducir las contraseñas BMC; restaurar sin sus RRD pierde el historial de los gráficos. + +Para un ensayo de recuperación, cree una instancia aislada con la misma versión del complemento y restaure copias de la base de datos, configuración y archivos `rra/`. Modifique la configuración copiada para usar el host y nombre de la base restaurada. Antes de iniciar Cacti, aplique una regla de red que impida a la instancia de prueba acceder a la base de producción y confirme que un intento de conexión a ese host queda bloqueado. Permita acceso únicamente a la base restaurada. + +Instale la clave correspondiente en la ruta configurada, conservando propietario y permisos restrictivos. Antes de contactar con cualquier BMC, use una comprobación PHP temporal solo para administradores que llame a `CredentialStore::resolve()` para una credencial restaurada. Descarte inmediatamente la contraseña devuelta y registre solo éxito o fallo; no imprima ni registre el secreto. No existe una acción de interfaz para esta comprobación exclusiva de credenciales. Registre después un BMC de pruebas dedicado y accesible desde la instancia aislada con credenciales exclusivas de prueba. Mantenga desactivadas e inaccesibles las direcciones BMC de producción; no envíe credenciales productivas al simulador. Registre por separado el resultado de credenciales y la recopilación del BMC de prueba. Confirme que la recopilación termina, que la página de estado indica una lectura actual y que un gráfico restaurado conserva su historial. + +Repita después sin la clave disponible: la recopilación debe fallar de forma cerrada, las páginas Cacti deben seguir disponibles y la página de estado debe indicar el fallo de credenciales. Registre versiones de Cacti, PHP, base de datos y complemento, y los resultados; no incluya claves ni contraseñas. Esto es un procedimiento, no un ensayo de recuperación ya realizado. + +Si la clave falta, no puede leerse o es inválida, la recopilación falla de forma cerrada; no la sustituya por otra esperando que las credenciales existentes funcionen. Restaure la clave correcta o introduzca de nuevo las credenciales. Si un BMC no está disponible, se conservan las lecturas en caché y se marcan obsoletas; pasan a desconocidas en vez de cero. Revise página de estado, registros del sondeador, DNS, conectividad de gestión, acceso de cuenta y confianza de certificados. No desactive globalmente TLS para sortear un problema de certificado. + +Desactivar el complemento detiene la recopilación. La desinstalación conserva las tablas por defecto, aunque una opción permite eliminarlas: exporte primero los metadatos BMC y de credenciales que necesite. Se conservan dispositivos, gráficos y configuración BMC. Quitar el complemento no apaga ni reconfigura ningún BMC. + + +## Límites de compatibilidad y validación + +Actualmente no se declara compatible ninguna línea real de firmware. La batería de desarrollo incluye estructuras Dell, HPE y Lenovo escritas a mano y el simulador DMTF, pero son entradas de prueba, no validaciones de dispositivos reales. OpenBMC y otros fabricantes también necesitan capturas anonimizadas y pruebas antes de declarar compatibilidad. Consulte [research/vendor-matrix.md](../../../research/vendor-matrix.md) y la incidencia [#19](https://github.com/somethingwithproof/plugin_redfish/issues/19). + +El complemento aún no se ha publicado. Siguen pendientes los informes piloto de fase 1, medidas de latencia en BMC reales, ensayos de copia y restauración, y validación de seguridad. No use la versión de desarrollo como prueba de que se ha validado un BMC, firmware, tamaño de despliegue o procedimiento de recuperación concreto. diff --git a/docs/i18n/hi-IN/README.md b/docs/i18n/hi-IN/README.md new file mode 100644 index 0000000..737b266 --- /dev/null +++ b/docs/i18n/hi-IN/README.md @@ -0,0 +1,134 @@ + + + +[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) + + + +# plugin_redfish + +यह Cacti 1.2 प्लगइन बेसबोर्ड मैनेजमेंट कंट्रोलर (BMC) से सर्वर की बिजली खपत, इनलेट तापमान, पंखों की स्थिति और बिजली आपूर्तियों का स्वास्थ्य लेकर सामान्य Cacti डिवाइस, डेटा स्रोत और ग्राफ़ बनाता है। यह Redfish उपयोग करता है और योजना में वैकल्पिक IPMI फ़ॉलबैक भी है। Thold और Maint इन पर अलर्ट तथा सूचना दमन लागू कर सकते हैं; बाद का चरण रैक-स्तरीय बिजली योग जोड़ेगा। + +> **स्थिति: विकास में, अभी जारी नहीं हुआ (0.1.0-dev)।** माइलस्टोन 2 (आधार) और 3 (Cacti ऑब्जेक्ट तथा अलर्ट) `main` में मिल चुके हैं। यह प्लगइन Cacti परियोजना से संबद्ध नहीं है। यह PHP 8.2 या बाद के संस्करण पर Cacti 1.2.31 में स्थापित होता है, BMC और क्रेडेंशियल पंजीकृत करता है, हर BMC से Redfish द्वारा बिजली, तापमान, पंखे और बिजली आपूर्ति का स्वास्थ्य अपने कैश में पढ़ता है तथा संग्रह स्वास्थ्य दिखाता है। यह सामान्य डेटा स्रोतों से Cacti डिवाइस, सदस्य-वार और सारांश ग्राफ़, तथा Thold और Maint समर्थन जोड़ता है। CI ने हाथ से लिखे फ़िक्स्चर वाले नकली BMC और DMTF Redfish मॉकअप सर्वर का परीक्षण किया है; किसी वास्तविक BMC या पायलट समूह का सत्यापन नहीं हुआ। डिज़ाइन और शोध [docs/PLAN.md](../../PLAN.md), [docs/research/](../../research) और [docs/decisions/](../../decisions) में हैं। + + +### माइलस्टोन 2 में क्या मिलता है + +- Cacti प्लगइन API से इंस्टॉल, अपग्रेड, अक्षम और अनइंस्टॉल करना। सेटिंग हटाए बिना अनइंस्टॉल पर तालिकाएँ रहती हैं। PHP 8.2 से पुराने संस्करण पर प्लगइन इंस्टॉल या सक्षम होने से मना करता है और कारण बताता है। +- "Redfish View" (स्वास्थ्य पृष्ठ), "Redfish Operator" (संचालन पृष्ठ) और "Redfish Admin" (BMC तथा क्रेडेंशियल पृष्ठ) अनुमति क्षेत्र, और Configuration > Settings > Redfish में सेटिंग। +- CSV आयात और JSON निर्यात वाली BMC रजिस्ट्री। आयात फ़ाइलों में पासवर्ड नहीं होने चाहिए; क्रेडेंशियल नाम से संदर्भित होते हैं। +- क्रेडेंशियल AES-256-GCM से एन्क्रिप्ट करके संग्रहीत होते हैं। कुंजी डेटाबेस के बाहर फ़ाइल है, डिफ़ॉल्ट `/etc/cacti/redfish-vault.key`, जिसमें 64 हेक्साडेसिमल वर्ण (`openssl rand -hex 32`) या ठीक 32 यादृच्छिक बाइट होते हैं। उसका मालिक पोलर उपयोगकर्ता हो, अन्य उपयोगकर्ता पढ़ न सकें और निर्देशिका में केवल पोलर उपयोगकर्ता या root लिख सकें। 32 मुद्रण योग्य वर्णों की कुंजी पासफ़्रेज़ मानकर अस्वीकार होती है। **कुंजी फ़ाइल का डेटाबेस के साथ बैकअप लें**; उसके बिना हर संग्रहीत पासवर्ड फिर दर्ज करना होगा। +- TLS सत्यापन डिफ़ॉल्ट रूप से चालू है, हर BMC के लिए CA बंडल या SPKI SHA-256 पिन उपलब्ध है। किसी BMC पर सत्यापन बंद करने का निर्णय लॉग होता है और स्वास्थ्य पृष्ठ पर चेतावनी बना रहता है। +- केवल-पठन Redfish क्लाइंट: सिर्फ़ `GET` और सत्र लॉगिन/लॉगआउट, हर अनुरोध से पहले अनुमति सूची के विरुद्ध जाँचे जाते हैं। +- मुख्य पोलर के BMC के लिए `poller_bottom` से शुरू होने वाला कलेक्टर, जिसमें प्रति-BMC लीज़, समय सीमाएँ, बैकऑफ़ और क्रैश के बाद प्लगइन के दर्ज एक सत्र की सफ़ाई है। दूरस्थ कलेक्टर अभी समर्थित नहीं हैं; डेटाबेस और कुंजी तक उनकी पहुँच का स्पष्ट निर्णय आवश्यक है (चरण 4)। +- BMC रिकॉर्ड और क्रेडेंशियल Cacti डिवाइस अनुमति मानते हैं: Redfish Admin केवल दिखाई देने वाले डिवाइसों के BMC देख, बदल और बाँध सकता है तथा केवल ऐसे क्रेडेंशियल उपयोग कर सकता है जिन्हें किसी छिपे डिवाइस का BMC उपयोग न करता हो। + + +### माइलस्टोन 3 क्या जोड़ता है + +- `templates/` में Cacti टेम्पलेट XML, जो इंस्टॉल और अपग्रेड पर Cacti के आयातक से हैश के आधार पर आयात होते हैं; इसलिए ऑब्जेक्ट अद्यतन होते हैं, दो बार नहीं जुड़ते। तीन डेटा क्वेरी फ़ाइलें दर्ज हैश के साथ `/resource/script_server/` में कॉपी होती हैं। प्लगइन वहाँ कभी वह फ़ाइल नहीं बदलता जिसे उसने नहीं लिखा। टेम्पलेट या क्वेरी फ़ाइल गायब होने पर स्वास्थ्य पृष्ठ प्रशासक को चेतावनी देता है। BMC पृष्ठ का **Reinstall the Redfish Templates** उन्हें फिर आयात करता है और Cacti की Import Templates अनुमति चाहता है। +- हर BMC पर **Create Device** या **Add Graphs** ([ADR 0015](../../decisions/0015-attach-to-the-server-device-or-create-one-per-bmc.md))। सर्वर के मौजूदा डिवाइस से मैप BMC को उसी डिवाइस पर क्वेरी और ग्राफ़ मिलते हैं। बिना मैपिंग वाला BMC "Redfish BMC" टेम्पलेट से नया डिवाइस पाता है, उपलब्धता जाँच बंद रहती है और होस्टनाम `.invalid` के अंतर्गत होता है, इसलिए Cacti BMC से संपर्क नहीं करता और पता नहीं दिखाता। दोनों मामलों में प्रशासक पहले जोड़े जाने वाले ऑब्जेक्ट की योजना की पुष्टि करता है। Redfish Admin तथा Cacti डिवाइस प्रबंधन, दोनों अनुमतियाँ चाहिए; निर्माता को न दिखने वाला नया डिवाइस हटा दिया जाता है। +- तीन स्क्रिप्ट सर्वर डेटा क्वेरी: "Redfish Fans", "Redfish Temperatures" और "Redfish Power Supplies", जो BMC सदस्य कुंजी से अनुक्रमित हैं। हर सदस्य का ग्राफ़ होता है: प्रतिशत या RPM में पंखे की गति, जैसा BMC रिपोर्ट करे; तापमान; और बिजली आपूर्ति के इनपुट/आउटपुट वाट, प्रत्येक के स्वास्थ्य कोड सहित। +- "Redfish Node Summary" इनपुट में बिजली, इनलेट तापमान, उच्चतम तापमान, खराब पंखे और आपूर्तियाँ, नोड स्वास्थ्य तथा अंतिम अच्छी रीडिंग की आयु होती है। चार ग्राफ़ बनते हैं: बिजली, तापमान, घटक स्वास्थ्य और डेटा आयु। इन डेटा स्रोतों पर Thold थ्रेशोल्ड अलर्ट और Maint दमन देते हैं, दोनों प्लगइन बदले बिना। +- स्क्रिप्ट सर्वर केवल प्लगइन कैश से उत्तर देता है, BMC से कभी संपर्क नहीं करता। गायब, पुराने, दूसरी इकाई वाले या गायब सदस्य से आए मान `U` होते हैं; ग्राफ़ अंतराल दिखाता है, शून्य नहीं। `age` का मान हमेशा रहता है, इसलिए उसका थ्रेशोल्ड उत्तर देना बंद कर चुके BMC को पकड़ता है। +- हर Redfish ग्राफ़ से डिवाइस के Redfish ग्राफ़ का लिंक, केवल उस डिवाइस को देखने की Cacti अनुमति वाले उपयोगकर्ताओं को दिखाई देता है। + +**BMC के सदस्य बदलने पर**, जैसे पंखा बदलना या फ़र्मवेयर अपडेट से सेंसर का नाम बदलना, फिर **Add Graphs** चुनें। पहले मौजूद लेकिन अब अनुपस्थित पंखा या बिजली आपूर्ति तब तक `fans_bad` या `psus_bad` में गिनी जाती है, ताकि निकला पंखा अलर्ट दे; कभी न भरा स्लॉट नहीं गिना जाता। Add Graphs वर्तमान BMC सदस्यों को स्वीकार करता है और Cacti क्वेरी फिर अनुक्रमित करता है। गायब सदस्य का डेटा स्रोत और ग्राफ़ रहता है और आगे `U` पढ़ता है; नए सदस्य को ग्राफ़ मिलता है। गायब सदस्यों के ग्राफ़ तभी हाथ से मिटाएँ जब उनका इतिहास आवश्यक न रहे। + +डिवाइस मिटाने से BMC की मैपिंग हटती है, BMC और कैश रहते हैं। BMC मिटाने या प्लगइन अनइंस्टॉल करने पर डिवाइस और ग्राफ़ रहते हैं। + + +## पहुँच भूमिकाएँ + +| अनुमति क्षेत्र | पहुँच | +| --- | --- | +| Redfish View | मौजूदा निगरानी पृष्ठ। | +| Redfish Operator | निगरानी, संचालन पृष्ठ और व्यक्तिगत जाँच-स्वीकृतियाँ। | +| Redfish Admin | ऑपरेटर पहुँच तथा मौजूदा कॉन्फ़िगरेशन और प्रशासनिक कार्रवाइयाँ। | + +अपग्रेड फ़ाइलें कॉपी करने के बाद प्रशासक के रूप में Plugins पृष्ठ खोलकर नया अनुमति क्षेत्र पंजीकृत करें। **Configuration > Users** या उपयोगकर्ता समूहों में Operator स्पष्ट रूप से दें। अपग्रेड मौजूदा View और Admin क्षेत्र ID तथा अनुमतियाँ रखते हैं। हर अनुरोध में Admin को Operator और Operator को View पहुँच मिलती है; इससे उपयोगकर्ताओं या समूहों में संग्रहीत अनुमतियाँ नहीं जुड़तीं। प्लगइन सेटिंग के लिए Cacti Settings अनुमति के अतिरिक्त Redfish Admin भी चाहिए। + +Cacti डिवाइस अनुमतियाँ अब भी हर उपयोगकर्ता की उपलब्ध पंक्तियाँ और कार्रवाइयाँ सीमित करती हैं; बिना मैपिंग ऑब्जेक्ट के लिए प्रशासक चाहिए। ऑपरेटर अनुमति वाले BMC पर अगले निर्धारित रन के लिए संग्रह रोक हटा सकते हैं। क्रेडेंशियल, कॉन्फ़िगरेशन, मैपिंग, मिटाना और अन्य प्रशासनिक बदलाव प्रशासन पृष्ठों में ही हैं। स्वीकृतियाँ केवल वर्तमान सत्र में, अधिकतम एक घंटे और उसी अवलोकन के ताज़ा रहने तक प्रभावी हैं। नए या बदले अवलोकन उन्हें अमान्य करते हैं। वे विफल मापन को स्वस्थ नहीं बतातीं और अलर्ट नहीं दबातीं। + + +## आवश्यकता + +हर सर्वर का BMC ऑपरेटिंग सिस्टम से स्वतंत्र बिजली और तापीय स्थिति बताता है, इसलिए OS बंद होने पर भी उत्तर देता है। डेटा क्षमता और लागत का हिसाब, खराब पंखे या बिजली आपूर्ति की शुरुआती चेतावनी तथा उच्च प्रदर्शन कंप्यूटिंग में बिजली सीमा के निर्णयों में उपयोगी है। यह प्लगइन केवल HPC के लिए नहीं है। + +Cacti आज इसका कुछ भाग उपलब्ध कराता है: + +- **विक्रेता SNMP पैकेज।** 1.2.x शाखा में Dell iDRAC और HPE iLO टेम्पलेट हैं, जिन्हें SNMP एजेंट चाहिए और जो विक्रेता-विशिष्ट हैं। माइलस्टोन 1 के शोध में दोनों में वाट में बिजली खपत न मिलने की पुष्टि हुई ([docs/research/overlap.md](../../research/overlap.md))। +- **कलेक्टर के बिना क्रेडेंशियल प्रकार।** plugin_credentials "IPMI / Redfish (BMC)" क्रेडेंशियल परिभाषित करता है, पर BMC नहीं पढ़ता। +- **रैक-स्तरीय दृश्य नहीं।** Cacti कोर में रैक ऑब्जेक्ट नहीं है; डिवाइस का `location` मुक्त पाठ फ़ील्ड है। + +प्लगइन Cacti पोल चक्र से बाहर BMC पढ़ता है, मानकीकृत रीडिंग कैश करता है और स्क्रिप्ट सर्वर क्वेरी तथा सारांश डेटा स्रोतों से देता है। यह Cacti ग्राफ़, अनुमतियाँ, Thold, Maint और दूरस्थ डेटा कलेक्टर पुनः उपयोग करता है तथा BMC स्थिति नहीं बदलता। + + +## नियोजित दायरा + +| चरण | दायरा | माइलस्टोन | +|---|---|---| +| 0, शोध | विक्रेता मैट्रिक्स, वास्तविक BMC पर upstream व्यवहार की पुष्टि, पोलिंग लागत और डेटा क्वेरी प्रयोग | [M1](https://github.com/somethingwithproof/plugin_redfish/milestone/1) | +| 1, अवलोकन | BMC रजिस्ट्री, क्रेडेंशियल, TLS, Redfish कलेक्टर, मानकीकृत रीडिंग, डिवाइस, प्रति-इंडेक्स ग्राफ़, Thold अलर्ट, Maint दमन, स्वास्थ्य पृष्ठ | [M2](https://github.com/somethingwithproof/plugin_redfish/milestone/2), [M3](https://github.com/somethingwithproof/plugin_redfish/milestone/3), [M4](https://github.com/somethingwithproof/plugin_redfish/milestone/4) | +| 2, IPMI | उपयोगी Redfish न देने वाले BMC के लिए IPMI फ़ॉलबैक, डिफ़ॉल्ट रूप से बंद | [M5](https://github.com/somethingwithproof/plugin_redfish/milestone/5) | +| 3, रैक | रैक रजिस्ट्री, कवरेज सहित रैक बिजली योग और बजट में बची गुंजाइश | [M6](https://github.com/somethingwithproof/plugin_redfish/milestone/6) | +| 4, दूरस्थ | अलग BMC नेटवर्क के लिए Cacti दूरस्थ डेटा कलेक्टर | [M7](https://github.com/somethingwithproof/plugin_redfish/milestone/7) | + +दायरे से बाहर: बिजली सीमा या अन्य BMC कॉन्फ़िगरेशन बदलना, पावर नियंत्रण, फ़र्मवेयर अपडेट, कंसोल पहुँच, प्लगइन का अपना अलर्ट इंजन और शेड्यूलर एकीकरण। + + +## अनुकूलता लक्ष्य + +| घटक | लक्ष्य | +|---|---| +| Cacti | 1.2.31 या बाद का संस्करण, कोर पैच के बिना | +| डेटाबेस | MariaDB 10.2 या MySQL 5.7 या बाद का संस्करण; जनरेटेड कॉलम की अद्वितीय कुंजी प्रति डिवाइस एक BMC सुनिश्चित करती है | +| PHP | 8.2 या बाद का संस्करण; `setup.php` 8.0 पर पार्स हो सकता है, ताकि असमर्थित रनटाइम Cacti UI तोड़ने के बजाय अस्वीकृति दे | +| BMC | फ़र्मवेयर सीमा के अनुसार Dell iDRAC, HPE iLO, Lenovo XCC और OpenBMC; [विक्रेता मैट्रिक्स](../../research/vendor-matrix.md) देखें | +| Redfish | नए सबसिस्टम और सेंसर संसाधन पहले; अप्रचलित `Power` और `Thermal` फ़ॉलबैक हैं | +| Thold, Maint | बदलाव आवश्यक नहीं | + + +## डिज़ाइन + +- [docs/PLAN.md](../../PLAN.md) पूरी योजना है: आर्किटेक्चर, निर्भर upstream तथ्य, उनके स्रोत और अपुष्ट धारणाएँ, मापन मॉडल, सुरक्षा सीमाएँ, प्रदर्शन गणना, परीक्षण और जोखिम। +- [docs/decisions/](../../decisions) में लिए गए आर्किटेक्चर निर्णयों के रिकॉर्ड हैं। +- [docs/REQUIREMENTS.md](../../REQUIREMENTS.md) हर आवश्यकता ID को उसके इश्यू से जोड़ता है। + +```mermaid +flowchart LR + BMC[BMCs: Redfish over HTTPS] --> C[Collector on the Cacti poller] + C --> CACHE[(Normalized reading cache)] + CACHE --> SS[Script server data query] + SS -->|poller_output| T[Thold and Maint] + SS --> G[Cacti graphs and permissions] + CACHE --> R[Rack totals, phase 3] +``` + + +## सुरक्षा + +BMC क्रेडेंशियल सर्वर के आउट-ऑफ़-बैंड प्रबंधन को नियंत्रित करते हैं। डिज़ाइन उन्हें कमांड लाइन, लॉग और पृष्ठों से बाहर रखता है, TLS डिफ़ॉल्ट रूप से सत्यापित करता है, बाहरी कमांड को अनुमति-प्राप्त उपकमांड वाली आर्ग्युमेंट ऐरे से चलाता है और केवल-पठन BMC खाते उपयोग करता है। [docs/PLAN.md](../../PLAN.md#security) और [SECURITY.md](../../../SECURITY.md) देखें। + + +## ऑपरेटर मार्गदर्शिका + +इंस्टॉल की पूर्वापेक्षाएँ, वॉल्ट और TLS सेटअप, BMC पंजीकरण, ग्राफ़ निर्माण, अलर्ट अंतराल, बैकअप और विफलता प्रबंधन के लिए [docs/operator-guide.md](docs/operator-guide.md) देखें। किसी वास्तविक विक्रेता फ़र्मवेयर से गोपनीयता हटाकर लिया कैप्चर टेस्ट सूट पार करने तक मार्गदर्शिका उसे समर्थित घोषित नहीं करती। + + +## काम कैसे ट्रैक होता है + +- **माइलस्टोन** योजना के अनुसार हैं। हर एक में उप-इश्यू और पूर्णता प्रमाण वाला एपिक इश्यू है। +- **इश्यू** के प्रकार लेबल हैं: `type: requirement`, `type: research`, `type: decision`, `type: epic`। आवश्यकता इश्यू क्रमांकित, जाँच योग्य माँगें (`REQ-AREA-NNN`) और स्वीकृति मानदंड देते हैं। +- **लेबल** में `area:`, `phase:`, `priority:` और `status:` भी हैं। [CONTRIBUTING.md](../../../CONTRIBUTING.md#labels) देखें। +- [परियोजना बोर्ड](https://github.com/users/somethingwithproof/projects/12) सभी माइलस्टोन के इश्यू दिखाता है। + + +## योगदान + +[CONTRIBUTING.md](../../../CONTRIBUTING.md) पढ़ें। कमिट के लिए DCO साइन-ऑफ़ चाहिए। डिज़ाइन चर्चा इश्यू में होती है; खुले निर्णयों पर `type: decision` लेबल है। अभी वास्तविक BMC के प्रमाण सबसे उपयोगी हैं; कैप्चर पोस्ट करने से पहले पते, सीरियल नंबर और क्रेडेंशियल छिपाएँ। + + +## लाइसेंस + +GNU General Public License v2.0, वही लाइसेंस जो Cacti और उसके प्लगइन का है। [LICENSE](../../../LICENSE) देखें। diff --git a/docs/i18n/hi-IN/docs/operator-guide.md b/docs/i18n/hi-IN/docs/operator-guide.md new file mode 100644 index 0000000..d425691 --- /dev/null +++ b/docs/i18n/hi-IN/docs/operator-guide.md @@ -0,0 +1,72 @@ + + + +# Redfish ऑपरेटर मार्गदर्शिका + +यह मार्गदर्शिका माइलस्टोन 2 और 3 के बाद के plugin_redfish विकास संस्करण के लिए है। अभी कोई टैग किया रिलीज़ नहीं है। CI में Cacti 1.2.31 और वर्तमान 1.2.x शाखा PHP 8.2 से 8.5 पर जाँची जाती है, जिसमें प्लगइन इंस्टॉल और ग्राफ़ प्रवाह शामिल हैं। ये जॉब फ़िक्स्चर BMC और DMTF Redfish मॉकअप सर्वर उपयोग करते हैं; किसी वास्तविक विक्रेता या फ़र्मवेयर लाइन को प्रमाणित नहीं करते। + + +## इंस्टॉल करने से पहले + +- Cacti 1.2.31 या बाद का संस्करण और PHP 8.2 या बाद का संस्करण उपयोग करें। प्लगइन जानबूझकर PHP 8.2 से पुराने संस्करण पर इंस्टॉल या सक्षम होने से इनकार करता है। +- Cacti पोलर को BMC प्रबंधन नेटवर्क की पहुँच दें। वर्तमान कलेक्टर TCP 443 पर HTTPS से Redfish पढ़ता है। यह IPMI या UDP 623 उपयोग नहीं करता; IPMI बाद का चरण है। +- ऐसा खाता चुनें जो प्लगइन द्वारा एकत्रित संसाधन पढ़ सके। प्रशासक खाता उपयोग न करें। विक्रेता-विशिष्ट भूमिका नाम और अनुमतियाँ वास्तविक BMC फ़र्मवेयर पर अभी सत्यापित नहीं हैं; अपने BMC के संसाधनों पर खाते की जाँच करें। +- तय करें कि पोलर और वेब सर्वर क्रेडेंशियल कुंजी कैसे पढ़ेंगे तथा डेटाबेस और उस कुंजी का बैकअप साथ कैसे लिया जाएगा। + + +## इंस्टॉल करें और वॉल्ट तैयार करें + +प्लगइन Cacti के `plugins/redfish` में रखें और Plugin Management पृष्ठ से सक्षम करें। प्लगइन PHP आवश्यकता जाँचता है और Cacti प्लगइन API से अपनी तालिकाएँ बनाता है। सक्षम करने के बाद **Configuration → Settings → Redfish** खोलें और यदि `/etc/cacti/redfish-vault.key` नहीं उपयोग कर रहे तो वॉल्ट कुंजी पथ सेट करें। + +वेब रूट के बाहर 32-बाइट यादृच्छिक कुंजी बनाएँ। हेक्साडेसिमल कुंजी फ़ाइल के लिए: + +```sh +openssl rand -hex 32 +``` + +आउटपुट कॉन्फ़िगर किए पथ पर लिखें। अनुमतियाँ वेब सर्वर और पोलर को पढ़ने दें लेकिन अन्य उपयोगकर्ताओं को पढ़ने या बदलने से रोकें। निर्देशिका में केवल root और कुंजी के मालिक सेवा खाते को लिखने दें। प्लगइन कुंजी फ़ाइल बनाता या ठीक नहीं करता। कुंजी का Cacti डेटाबेस के साथ बैकअप लें; मेल खाती कुंजी बिना डेटाबेस बहाल करने पर संग्रहीत पासवर्ड डिक्रिप्ट नहीं होते। + +कलेक्टर बजट Cacti पोलर अंतराल से कम रखें। डिफ़ॉल्ट संग्रह अंतराल 300 सेकंड और कलेक्टर बजट 240 सेकंड है। अधूरे BMC बाद के रन में सँभाले जाते हैं। पुनः खोज अंतराल, वर्कर संख्या, कनेक्शन और अनुरोध समय सीमा तथा उत्तर आकार सीमा प्रबंधन नेटवर्क के अनुरूप रखें; सेटिंग पृष्ठ हर विकल्प की मान्य सीमा और डिफ़ॉल्ट बताता है। + + +## TLS कॉन्फ़िगर करें और BMC पंजीकृत करें + +प्रमाणपत्र सत्यापन चालू रखें। निजी प्रमाणपत्र प्राधिकरण के लिए CA बंडल उपयोग करें या BMC का SPKI SHA-256 फ़िंगरप्रिंट पिन करें। किसी BMC की बिना सत्यापन वाली सेटिंग उसके लिए पीयर सत्यापन बंद करती है और स्वास्थ्य पृष्ठ पर चेतावनी छोड़ती है; इसे केवल अलग प्रबंधन नेटवर्क पर अस्थायी निदान अपवाद के रूप में उपयोग करें। + +केवल-पठन खाता और पासवर्ड देकर क्रेडेंशियल प्रविष्टि बनाएँ। फिर DNS नाम या प्रबंधन पता, HTTPS पोर्ट, क्रेडेंशियल और TLS मोड से BMC जोड़ें। आयात फ़ाइलों में क्रेडेंशियल नाम से संदर्भित हों, पासवर्ड न हों। CSV आयात प्रशासक की कार्रवाई है; आयात से पहले पंक्तियाँ और लक्ष्य पते देखें। + +BMC फ़ॉर्म और स्वास्थ्य पृष्ठ संग्रह स्थिति और डेटा आयु दिखाते हैं। अलर्ट थ्रेशोल्ड बनाने से पहले प्रमाणीकरण, TLS, DNS, समय सीमा, उत्तर आकार और पुराने डेटा की चेतावनियाँ जाँचें। वर्तमान कोड वास्तविक BMC फ़र्मवेयर पर प्रमाणित नहीं है। [research/vendor-matrix.md](../../../research/vendor-matrix.md) में ज्ञात और अपुष्ट बातें दर्ज हैं; मॉकअप CI जॉब से फ़र्मवेयर समर्थन न मानें। + + +## डिवाइस और ग्राफ़ बनाएँ + +BMC पृष्ठ पर अलग Cacti डिवाइस के लिए **Create Device** या मौजूदा सर्वर डिवाइस से BMC क्वेरी जोड़ने के लिए **Add Graphs** चुनें। पुष्टि से पहले योजना देखें। प्लगइन Cacti डिवाइस उपलब्धता जाँच द्वारा BMC को प्रोब नहीं करता। निर्माता को Redfish प्रशासन पहुँच और Cacti डिवाइस प्रबंधन अनुमति, दोनों चाहिए। निर्माता को न दिखने वाला नया डिवाइस वापस हटा दिया जाता है। + +प्रोविज़निंग के बाद Cacti ग्राफ़ निर्माण प्रवाह से Redfish सारांश और सदस्य ग्राफ़ जोड़ें। गायब या अनुपस्थित BMC सदस्य अज्ञात (`U`) पढ़ता है; उसका ग्राफ़ और RRD इतिहास रहता है। फ़र्मवेयर अपडेट या घटक बदलने के बाद वर्तमान सदस्यों को फिर अनुक्रमित करने के लिए **Add Graphs** चलाएँ। पुराने ग्राफ़ हाथ से तभी हटाएँ जब इतिहास की आवश्यकता न रहे। + + +## अलर्ट कॉन्फ़िगर करें + +Redfish सारांश और सदस्य-वार मान सामान्य Cacti डेटा स्रोत हैं। साइट के महत्वपूर्ण मानों पर Thold थ्रेशोल्ड बनाएँ और नियोजित काम के समय Maint शेड्यूल से सूचनाएँ दबाएँ। थ्रेशोल्ड अवधि कम से कम एक कलेक्टर अंतराल रखें, ताकि उसी कैश रीडिंग को फिर पढ़ना नया अवलोकन न लगे। उत्तर देना बंद करने वाले BMC को पहचानना हो तो `age` थ्रेशोल्ड चालू रखें। संचालन में निर्भर होने से पहले अपने Thold और Maint संस्करणों में थ्रेशोल्ड सक्रिय होने और बहाली का व्यवहार सत्यापित करें। + + +## बैकअप, बहाली और विफलताएँ + +Cacti डेटाबेस, Cacti कॉन्फ़िगरेशन, `rra/` फ़ाइलें और ठीक वही वॉल्ट कुंजी फ़ाइल एक बहाली सेट के रूप में बैकअप करें। कुंजी बैकअप डेटाबेस बैकअप से अलग रखें और हर प्रति की पहुँच सीमित करें। भरोसा करने से पहले गैर-उत्पादन Cacti इंस्टेंस में बहाली जाँचें। केवल डेटाबेस बहाल करने या कुंजी खोने पर BMC पासवर्ड फिर दर्ज करने होंगे; RRD फ़ाइलों बिना डेटाबेस बहाल करने पर ग्राफ़ इतिहास खोता है। + +बहाली अभ्यास के लिए उसी प्लगइन संस्करण वाला अलग Cacti इंस्टेंस बनाएँ और डेटाबेस, कॉन्फ़िगरेशन तथा `rra/` प्रतियाँ बहाल करें। कॉपी की गई Cacti सेटिंग को बहाल डेटाबेस के होस्ट और नाम के लिए बदलें। Cacti शुरू करने से पहले नेटवर्क नियम लगाएँ जो टेस्ट इंस्टेंस की उत्पादन डेटाबेस पहुँच रोके, और पुष्टि करें कि उत्पादन होस्ट से जुड़ने का प्रयास अवरुद्ध होता है। केवल बहाल डेटाबेस की पहुँच दें। + +मेल खाती वॉल्ट कुंजी कॉन्फ़िगर किए पथ पर उसके मालिक और कठोर अनुमतियाँ बनाए रखते हुए रखें। किसी BMC से संपर्क से पहले केवल प्रशासक के लिए अस्थायी PHP जाँच से एक बहाल क्रेडेंशियल पर `CredentialStore::resolve()` बुलाएँ। लौटे पासवर्ड को तुरंत छोड़ दें और केवल सफलता या विफलता दर्ज करें; गोपनीय मान छापें या लॉग न करें। इस केवल-क्रेडेंशियल जाँच के लिए UI कार्रवाई नहीं है। फिर अलग इंस्टेंस की पहुँच वाला समर्पित फ़िक्स्चर BMC, केवल टेस्ट क्रेडेंशियल से पंजीकृत करें। उत्पादन BMC पते अक्षम और टेस्ट इंस्टेंस से अगम्य रखें; उत्पादन क्रेडेंशियल फ़िक्स्चर को न भेजें। क्रेडेंशियल-जाँच परिणाम फ़िक्स्चर संग्रह से अलग दर्ज करें। पुष्टि करें कि संग्रह पूरा होता है, स्वास्थ्य पृष्ठ वर्तमान रीड दिखाता है और बहाल ग्राफ़ में इतिहास बना है। + +फिर कुंजी अनुपलब्ध रखकर दोहराएँ: संग्रह को सुरक्षित रूप से विफल होना चाहिए, Cacti पृष्ठ उपलब्ध रहने चाहिए और स्वास्थ्य पृष्ठ को क्रेडेंशियल विफलता दिखानी चाहिए। Cacti, PHP, डेटाबेस, प्लगइन संस्करण तथा परिणाम दर्ज करें; रिपोर्ट में कुंजी या पासवर्ड न रखें। यह प्रक्रिया है, पूर्ण किया गया बहाली अभ्यास नहीं। + +कुंजी गायब, अपठनीय या अमान्य हो तो संग्रह बंद रहकर विफल होता है; नई कुंजी रखकर मौजूदा क्रेडेंशियल चलने की अपेक्षा न करें। मेल खाती कुंजी बहाल करें या क्रेडेंशियल फिर दर्ज करें। BMC अनुपलब्ध हो तो कैश रीडिंग रहती है और पुरानी चिह्नित होती है; पुराने मान शून्य के बजाय अज्ञात होते हैं। स्वास्थ्य पृष्ठ, पोलर लॉग, DNS, प्रबंधन नेटवर्क पहुँच, खाता पहुँच और प्रमाणपत्र भरोसा जाँचें। प्रमाणपत्र समस्या के लिए TLS सत्यापन वैश्विक रूप से बंद न करें। + +प्लगइन अक्षम करने से संग्रह रुकता है। अनइंस्टॉल में डिफ़ॉल्ट तालिकाएँ रखना है। सेटिंग तालिकाएँ हटाने को कह सकती है; आवश्यक BMC और क्रेडेंशियल मेटाडेटा पहले निर्यात करें। Cacti डिवाइस, ग्राफ़ और BMC कॉन्फ़िगरेशन बने रहते हैं। प्लगइन हटाने से BMC बंद या पुनः कॉन्फ़िगर नहीं होता। + + +## अनुकूलता और सत्यापन सीमाएँ + +अभी कोई वास्तविक विक्रेता फ़र्मवेयर लाइन समर्थित घोषित नहीं है। विकास टेस्ट में हाथ से लिखे Dell, HPE और Lenovo आकार तथा DMTF मॉकअप सर्वर हैं; ये परीक्षण इनपुट हैं, वास्तविक डिवाइस का प्रमाणन नहीं। OpenBMC और अन्य परिवारों के लिए भी समर्थन से पहले गोपनीयता हटाए कैप्चर और फ़िक्स्चर रन चाहिए। [research/vendor-matrix.md](../../../research/vendor-matrix.md) और इश्यू [#19](https://github.com/somethingwithproof/plugin_redfish/issues/19) देखें। + +प्लगइन अभी जारी नहीं हुआ। चरण 1 पायलट रिपोर्ट, वास्तविक BMC विलंब मापन, बैकअप/बहाली अभ्यास और सुरक्षा सत्यापन खुले हैं। वर्तमान विकास बिल्ड को किसी खास BMC, फ़र्मवेयर, समूह आकार या बहाली प्रक्रिया के प्रमाणन का साक्ष्य न मानें। diff --git a/docs/i18n/manifest.json b/docs/i18n/manifest.json new file mode 100644 index 0000000..64f0d2f --- /dev/null +++ b/docs/i18n/manifest.json @@ -0,0 +1,13 @@ +{ + "locales": [ + "zh-CN", + "hi-IN", + "es-ES", + "es-419", + "ar-SA" + ], + "sources": [ + "README.md", + "docs/operator-guide.md" + ] +} diff --git a/docs/i18n/zh-CN/README.md b/docs/i18n/zh-CN/README.md new file mode 100644 index 0000000..1405d12 --- /dev/null +++ b/docs/i18n/zh-CN/README.md @@ -0,0 +1,134 @@ + + + +[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) + + + +# plugin_redfish + +这是一个 Cacti 1.2 插件,通过 Redfish(并计划提供可选的 IPMI 回退)将基板管理控制器(BMC)报告的服务器功耗、进风温度、风扇状态和电源健康状况纳入 Cacti,作为普通设备、数据源和图表。Thold 和 Maint 可据此告警和抑制通知;后续阶段将添加机架级功率汇总。 + +> **状态:开发中,尚未发布(0.1.0-dev)。** 里程碑 2(基础)和 3(Cacti 对象及告警)已合并至 `main`。此插件不隶属于 Cacti 项目。它可在 PHP 8.2 或更高版本的 Cacti 1.2.31 上安装,注册 BMC 和凭据,通过 Redfish 将每个 BMC 的功率、温度、风扇及电源健康数据读入插件缓存,并显示采集健康状态。它添加 Cacti 设备、成员图表和汇总图表,通过普通数据源支持 Thold 和 Maint。CI 已使用手写测试数据构建的模拟 BMC 和 DMTF Redfish 模拟服务器进行测试;尚未验证真实 BMC 或试点集群。设计与研究见 [docs/PLAN.md](../../PLAN.md)、[docs/research/](../../research) 和 [docs/decisions/](../../decisions)。 + + +### 里程碑 2 提供的功能 + +- 通过 Cacti 插件 API 安装、升级、禁用和卸载;除非取消相应设置,否则卸载时保留表。PHP 低于 8.2 时,插件拒绝安装或启用并说明原因。 +- 提供“Redfish View”(健康页面)、“Redfish Operator”(运维页面)和“Redfish Admin”(BMC 与凭据页面)权限域,并在 Configuration > Settings > Redfish 下提供设置。 +- BMC 注册表支持 CSV 导入和 JSON 导出。导入文件不得含密码;凭据按名称引用。 +- 凭据以 AES-256-GCM 加密存储。密钥保存在数据库之外的文件中,默认路径为 `/etc/cacti/redfish-vault.key`,内容为 64 个十六进制字符(`openssl rand -hex 32`)或恰好 32 个随机字节。文件由轮询用户所有,其他用户不可读取,所在目录仅允许轮询用户或 root 写入。由 32 个可打印字符组成的密钥会被视为口令而拒绝。**请将密钥文件与数据库一起备份**;缺少密钥时必须重新输入所有已存储密码。 +- 默认启用 TLS 验证,可为每个 BMC 指定 CA 证书包或固定 SPKI SHA-256。针对单个 BMC 关闭验证会被记录,并持续显示为健康页面警告。 +- 只读 Redfish 客户端:只允许 `GET` 及会话登录和注销;发送任何请求前都检查允许列表。 +- 从主轮询器的 `poller_bottom` 启动采集器,提供每个 BMC 的租约、截止时间、退避,以及崩溃后清理插件记录的那一个会话。暂不支持远程采集器;需要明确设计采集器访问数据库和密钥的方式(阶段 4)。 +- BMC 记录和凭据遵循 Cacti 设备权限:Redfish Admin 只能查看、更改和绑定其可见设备的 BMC,且只能操作没有被隐藏设备的 BMC 使用的凭据。 + + +### 里程碑 3 新增的功能 + +- 模板以 Cacti 模板 XML 存放在 `templates/`,安装及升级时使用 Cacti 导入器按哈希匹配导入,因此会更新插件对象而不会重复添加。三个数据查询文件复制到 `/resource/script_server/` 并记录哈希;插件绝不覆盖并非自身写入的文件。模板或查询文件缺失时,健康页面会向管理员告警。BMC 页面上的 **Reinstall the Redfish Templates** 可重新导入,需要 Cacti 的 Import Templates 权限。 +- 每个 BMC 提供 **Create Device** 或 **Add Graphs**([ADR 0015](../../decisions/0015-attach-to-the-server-device-or-create-one-per-bmc.md))。已映射到服务器现有设备的 BMC 会将查询和图表添加到该设备。未映射的 BMC 会基于“Redfish BMC”设备模板创建新设备,关闭可用性检查,并使用 `.invalid` 域下的主机名,因此 Cacti 不会连接 BMC,也不会显示其地址。两种操作都要求管理员先确认新增内容清单,且同时需要 Redfish Admin 和 Cacti 设备管理权限;创建者无权查看的新设备会再次移除。 +- 三个脚本服务器数据查询:“Redfish Fans”、“Redfish Temperatures”和“Redfish Power Supplies”,以 BMC 成员键为索引,为每个成员提供图表:风扇速度为百分比或 RPM(取决于 BMC 报告的单位)、温度、电源输入和输出瓦数,并包含各自健康码。 +- “Redfish Node Summary”输入包含功率、进风温度、最高温度、异常风扇和电源数、节点健康及上次成功读数的年龄,绘制成功率、温度、组件健康和数据年龄四类图表。Thold 可对这些数据源设置阈值告警,Maint 可抑制通知,无须更改任一插件。 +- 脚本服务器仅从插件缓存返回数据,绝不连接 BMC。缺失、过期、单位不符或来自已消失成员的值返回 `U`,图表因此显示空缺而非零值;`age` 始终有值,对其设置阈值可检测停止响应的 BMC。 +- 每个 Redfish 图表提供指向该设备所有 Redfish 图表的链接,仅向 Cacti 允许查看该设备的用户显示。 + +**BMC 成员发生变化时**(例如更换风扇或固件更新重命名传感器),请再次选择 **Add Graphs**。此前存在而现在缺失或消失的风扇、电源在此之前计入 `fans_bad` 或 `psus_bad`,因此拔掉风扇会告警;从未安装组件的空槽不会。Add Graphs 会接纳 BMC 当前报告的成员,Cacti 重新索引查询;消失的成员保留数据源和图表,之后读数为 `U`,新成员获得新图表。只有在不再需要历史记录时,才手动删除消失成员的图表。 + +删除设备会解除其 BMC 映射,并保留 BMC 和缓存。删除 BMC 或卸载插件会保留设备和图表。 + + +## 访问角色 + +| 权限域 | 访问范围 | +| --- | --- | +| Redfish View | 现有监控页面。 | +| Redfish Operator | 监控页面、运维页面及个人排查确认。 | +| Redfish Admin | Operator 权限以及现有配置和管理操作。 | + +复制升级文件后,以管理员身份打开 Plugins 页面注册新权限域。在 **Configuration > Users** 或用户组中明确分配 Operator 权限域。升级保留现有 View 和 Admin 权限域 ID 及授权。每次请求中 Admin 继承 Operator,Operator 继承 View;不会向用户或组新增持久化授权。插件设置除 Cacti Settings 权限之外,还要求 Redfish Admin 权限。 + +Cacti 设备权限仍限制各用户可见的数据行和可执行操作;未映射对象需要管理员处理。操作员可以为其有权访问的 BMC 解除采集暂停,以便下次计划运行继续。凭据、配置、映射、删除及其他管理变更仍位于管理页面。确认仅在当前用户会话内有效,最长一小时,且要求同一观测结果仍然新鲜。新增或变化的观测结果会使确认失效。确认从不将失败测量标记为健康,也不抑制告警。 + + +## 为什么需要此插件 + +每台服务器的 BMC 都可独立于操作系统报告功率和散热状态,因此操作系统停止运行时仍能响应。这些数据用于容量和成本跟踪、风扇或电源故障的早期告警,以及高性能计算中的功率上限决策。本插件并不只适用于 HPC。 + +Cacti 目前已覆盖其中部分需求: + +- **厂商 SNMP 包。** 1.2.x 分支提供 Dell iDRAC 和 HPE iLO 模板,需要 SNMP 代理且针对特定厂商;里程碑 1 的研究发现两者均不报告以瓦为单位的功耗([docs/research/overlap.md](../../research/overlap.md))。 +- **有凭据类型但无采集器。** plugin_credentials 定义了“IPMI / Redfish (BMC)”凭据,但不读取 BMC。 +- **缺少机架视图。** Cacti 核心没有机架对象;设备只有自由文本 `location` 字段。 + +插件独立于 Cacti 轮询周期带外轮询 BMC,缓存规范化读数,并通过脚本服务器数据查询及汇总数据源提供这些数据。它复用 Cacti 图表、权限、Thold、Maint 和远程数据采集器,不更改 BMC 状态。 + + +## 计划范围 + +| 阶段 | 范围 | 里程碑 | +|---|---|---| +| 0,研究 | 厂商矩阵、在真实 BMC 上确认上游行为、轮询成本、数据查询试验 | [M1](https://github.com/somethingwithproof/plugin_redfish/milestone/1) | +| 1,观测 | BMC 注册表、凭据、TLS、Redfish 采集器、规范化读数、设备、按索引图表、Thold 告警、Maint 抑制、健康页面 | [M2](https://github.com/somethingwithproof/plugin_redfish/milestone/2)、[M3](https://github.com/somethingwithproof/plugin_redfish/milestone/3)、[M4](https://github.com/somethingwithproof/plugin_redfish/milestone/4) | +| 2,IPMI | 为没有可用 Redfish 的 BMC 提供 IPMI 回退,默认关闭 | [M5](https://github.com/somethingwithproof/plugin_redfish/milestone/5) | +| 3,机架 | 机架注册表、含覆盖率的机架功率汇总、预算余量 | [M6](https://github.com/somethingwithproof/plugin_redfish/milestone/6) | +| 4,远程 | 使用 Cacti 远程数据采集器访问隔离的 BMC 网络 | [M7](https://github.com/somethingwithproof/plugin_redfish/milestone/7) | + +不在范围内:设置功率上限或其他 BMC 配置、电源控制、固件更新、控制台访问、插件自有告警引擎和调度器集成。 + + +## 兼容性目标 + +| 组件 | 目标 | +|---|---| +| Cacti | 1.2.31 或更高版本,无须核心补丁 | +| 数据库 | MariaDB 10.2、MySQL 5.7 或更高版本:通过生成列上的唯一键保证每个设备只有一个 BMC | +| PHP | 8.2 或更高版本;`setup.php` 保持可在 8.0 解析,使不支持的运行时收到拒绝提示而非破坏 Cacti 界面 | +| BMC | Dell iDRAC、HPE iLO、Lenovo XCC 和 OpenBMC,按固件范围划分;参阅[厂商矩阵](../../research/vendor-matrix.md) | +| Redfish | 优先使用新的子系统和传感器资源,以已弃用的 `Power` 和 `Thermal` 作为回退 | +| Thold、Maint | 无须更改 | + + +## 设计 + +- [docs/PLAN.md](../../PLAN.md) 是完整计划:架构、所依赖的上游事实(含来源和仍待确认的假设)、测量模型、安全边界、性能计算、测试和风险。 +- [docs/decisions/](../../decisions) 保存已作决策的架构记录。 +- [docs/REQUIREMENTS.md](../../REQUIREMENTS.md) 将各需求 ID 对应到其议题。 + +```mermaid +flowchart LR + BMC[BMCs: Redfish over HTTPS] --> C[Collector on the Cacti poller] + C --> CACHE[(Normalized reading cache)] + CACHE --> SS[Script server data query] + SS -->|poller_output| T[Thold and Maint] + SS --> G[Cacti graphs and permissions] + CACHE --> R[Rack totals, phase 3] +``` + + +## 安全 + +BMC 凭据控制服务器带外管理。设计使凭据不出现在命令行、日志或页面中,默认验证 TLS,通过参数数组执行具有子命令允许列表的外部命令,并使用只读 BMC 账户。参阅 [docs/PLAN.md](../../PLAN.md#security) 和 [SECURITY.md](../../../SECURITY.md)。 + + +## 操作指南 + +安装前提、保险库和 TLS 设置、BMC 注册、图表创建、告警间隔、备份和故障处理见 [docs/operator-guide.md](docs/operator-guide.md)。只有来自真实固件的脱敏采集数据通过测试套件后,指南才会声明支持该厂商固件系列。 + + +## 工作跟踪方式 + +- **里程碑**遵循计划,每个里程碑有一个史诗议题列出子议题和完成证据。 +- **议题**通过标签分类:`type: requirement`、`type: research`、`type: decision`、`type: epic`。需求议题列出带编号、可测试的需求(`REQ-AREA-NNN`)和验收标准。 +- **标签**还包括 `area:`、`phase:`、`priority:` 和 `status:`。参阅 [CONTRIBUTING.md](../../../CONTRIBUTING.md#labels)。 +- [项目看板](https://github.com/users/somethingwithproof/projects/12)展示所有里程碑的议题。 + + +## 贡献 + +阅读 [CONTRIBUTING.md](../../../CONTRIBUTING.md)。提交需要 DCO 签署。设计讨论在议题中进行;待决事项使用 `type: decision` 标签。目前来自真实 BMC 的证据最有帮助;发布采集数据前请隐藏地址、序列号和凭据。 + + +## 许可证 + +GNU 通用公共许可证 v2.0,与 Cacti 及其插件相同。参阅 [LICENSE](../../../LICENSE)。 diff --git a/docs/i18n/zh-CN/docs/operator-guide.md b/docs/i18n/zh-CN/docs/operator-guide.md new file mode 100644 index 0000000..53a6d20 --- /dev/null +++ b/docs/i18n/zh-CN/docs/operator-guide.md @@ -0,0 +1,72 @@ + + + +# Redfish 操作指南 + +本指南适用于里程碑 2 和 3 之后的 plugin_redfish 开发版,目前尚无带标签的发布版本。CI 在 PHP 8.2 至 8.5 上测试 Cacti 1.2.31 和当前 1.2.x 分支,包括插件安装和图表流程。这些任务使用测试 BMC 和 DMTF Redfish 模拟服务器,不能证明真实厂商或固件系列已通过验证。 + + +## 安装之前 + +- 使用 Cacti 1.2.31 或更高版本,以及 PHP 8.2 或更高版本。插件会明确拒绝在 PHP 8.2 以下安装或启用。 +- 运行 Cacti 轮询器的主机必须能访问 BMC 管理网络。当前采集器通过 TCP 443 使用 HTTPS 访问 Redfish,不使用 IPMI 或 UDP 623;IPMI 属于后续阶段。 +- 选择有权读取插件所采集资源的账户,不要使用管理员账户。厂商特定角色名称和权限尚未针对真实 BMC 固件验证;请根据 BMC 实际提供的资源验证账户权限。 +- 决定轮询器与 Web 服务器读取凭据密钥的方式,以及数据库与密钥共同备份的方法。 + + +## 安装并准备保险库 + +将插件安装到 Cacti 的 `plugins/redfish` 目录,再通过 Cacti 的 Plugin Management 页面启用。插件检查 PHP 要求,并通过 Cacti 插件 API 创建表。启用后打开 **Configuration → Settings → Redfish**;如果不使用 `/etc/cacti/redfish-vault.key`,请设置保险库密钥路径。 + +在 Web 根目录外创建 32 字节随机密钥。使用十六进制密钥文件时运行: + +```sh +openssl rand -hex 32 +``` + +将输出写入配置路径,并设置权限,允许 Web 服务器与轮询器读取,阻止其他用户读取或替换。所在目录仅允许 root 和拥有密钥的服务账户写入。插件不会创建或修复密钥文件。请将密钥与 Cacti 数据库一起备份;恢复数据库时若没有匹配的密钥,将无法解密已存储密码。 + +将采集器预算设置为小于 Cacti 轮询间隔。默认采集间隔为 300 秒,采集器预算为 240 秒。未完成的 BMC 会在后续运行处理。重新发现间隔、工作进程数、连接超时、请求超时和响应大小限制应适合管理网络;设置页面给出每项有效范围与默认值。 + + +## 配置 TLS 并注册 BMC + +保持证书验证开启。使用私有证书颁发机构时配置 CA 证书包,或固定 BMC 的 SPKI SHA-256 指纹。单个 BMC 的不验证设置会关闭对该 BMC 的对端验证,并在健康页面持续告警;仅可作为隔离管理网络上的临时诊断例外使用。 + +用只读账户和密码创建凭据项。然后使用 BMC 的 DNS 名称或管理地址、HTTPS 端口、凭据和 TLS 模式添加 BMC。导入文件必须按名称引用凭据,不得含密码。CSV 导入属于管理员操作;导入前请审核数据行和目标地址。 + +BMC 表单和健康页面显示采集状态及数据年龄。在创建告警阈值之前,应排查认证、TLS、DNS、超时、响应大小和数据过期警告。当前代码尚未针对真实 BMC 固件验证。[research/vendor-matrix.md](../../../research/vendor-matrix.md) 中的厂商矩阵记录已知情况及未验证项目;不要根据模拟 CI 任务推断固件支持情况。 + + +## 创建设备和图表 + +在 BMC 页面选择 **Create Device** 创建独立 Cacti 设备,或选择 **Add Graphs** 将 BMC 查询附加到现有服务器设备。确认前审核计划。插件不会通过 Cacti 设备可用性检查探测 BMC。创建者同时需要 Redfish 管理权限和 Cacti 设备管理权限。创建者无权查看的新设备会回滚。 + +配置完成后,通过 Cacti 图表创建流程添加 Redfish 汇总和成员图表。BMC 成员变为缺失或消失时,读数为未知(`U`);插件保留其图表和 RRD 历史。固件更新或组件替换后,再次运行 **Add Graphs** 以重新索引当前成员。只有在不再需要历史记录后才手动移除过时图表。 + + +## 配置告警 + +Redfish 汇总和成员值都是普通 Cacti 数据源。为站点关心的值创建 Thold 阈值,使用 Maint 计划在预定维护期间抑制通知。阈值持续时间至少设为一个采集间隔,避免对同一缓存读数的重复轮询被视为新观测。如需检测停止响应的 BMC,请保持 `age` 阈值启用。在用于实际运维前,使用您部署的 Thold 和 Maint 版本验证阈值触发与恢复行为。 + + +## 备份、恢复和故障处理 + +将 Cacti 数据库、Cacti 配置、`rra/` 文件和完全匹配的保险库密钥文件作为一套恢复资料备份。密钥备份与数据库备份分开存储,并限制每个副本的访问。在依赖备份之前,先在非生产 Cacti 实例上测试恢复。只恢复数据库或丢失密钥意味着必须重新输入 BMC 密码;恢复数据库而不恢复 RRD 文件会丢失图表历史。 + +恢复演练时,创建具有相同插件版本的隔离 Cacti 实例,并恢复数据库、Cacti 配置和 `rra/` 文件的副本。修改复制的 Cacti 配置,使其使用恢复数据库的主机和数据库名。启动 Cacti 之前,配置网络规则禁止测试实例访问生产数据库,并确认对生产数据库主机的连接尝试被阻止。仅允许访问恢复的数据库。 + +在配置路径安装匹配的保险库密钥,保留其所有者与严格权限。连接任何 BMC 之前,使用仅管理员可用的临时 PHP 检查,调用插件的 `CredentialStore::resolve()` 解析一条恢复的凭据。立即丢弃返回的密码,只记录成功或失败,不得输出或记录秘密。插件没有用于这种仅检查凭据的界面操作。然后使用专用于测试的凭据,注册一个隔离实例可访问的专用测试 BMC。保持生产 BMC 地址禁用且无法从测试实例访问;不要将生产凭据发送给测试 BMC。分别记录凭据检查结果和测试 BMC 采集结果。确认采集完成、健康页面报告最新读数,且恢复的图表仍含历史记录。 + +随后在密钥不可用时重复:采集必须安全地失败,Cacti 页面仍可访问,健康页面必须报告凭据故障。记录 Cacti、PHP、数据库、插件版本及结果,不要将密钥或密码写入报告。这是一套操作步骤,并非已经完成的恢复演练。 + +如果密钥缺失、不可读或无效,采集会安全地失败;不要换成新密钥并期待旧凭据仍可使用。应恢复匹配的密钥或重新输入凭据。如果 BMC 不可用,插件保留缓存读数并将其标记过期;过期值变为未知而不是零。检查健康页面、轮询日志、DNS、管理网络连通性、账户权限及证书信任。不要为绕过证书问题而全局禁用 TLS 验证。 + +禁用插件会停止采集。卸载时默认保留插件表。卸载设置可要求删除表;请先导出所需 BMC 和凭据元数据。插件保留 Cacti 设备、图表和 BMC 配置。移除插件不会关闭或重新配置 BMC。 + + +## 兼容性及验证限制 + +目前未声明支持任何真实厂商固件系列。开发测试套件包含手写的 Dell、HPE、Lenovo 数据结构和 DMTF 模拟服务器,但这些是测试输入,并非真实设备验证。OpenBMC 及其他厂商系列也需要脱敏采集数据和测试运行后才能声明支持。参阅 [research/vendor-matrix.md](../../../research/vendor-matrix.md) 和议题 [#19](https://github.com/somethingwithproof/plugin_redfish/issues/19)。 + +插件尚未发布。阶段 1 试点报告、真实 BMC 延迟测量、备份恢复演练及安全验证仍未完成。不能以当前开发构建作为特定 BMC、固件、集群规模或恢复流程已验证的证据。 diff --git a/include/operator.php b/include/operator.php new file mode 100644 index 0000000..071b82b --- /dev/null +++ b/include/operator.php @@ -0,0 +1,47 @@ + + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of plugin_redfish, a plugin for Cacti. + * https://github.com/somethingwithproof/plugin_redfish + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +use Somethingwithproof\Redfish\HealthRepository; +use Somethingwithproof\Redfish\HealthPage; +use Somethingwithproof\Redfish\BmcHealth; + +/** @return list */ +function redfish_operator_rows(): array { + $rows = []; + $health = new HealthRepository(false); + + foreach (HealthPage::visible(redfish_device_scope()->filter(redfish_bmcs()->all()), false) as $bmc) { + $h = $health->find($bmc->id) ?? new BmcHealth($bmc->id); + $rows[] = [ + 'id' => (string) $bmc->id, + 'name' => $bmc->name, + 'state' => $bmc->enabled() ? $h->reachability->value : 'disabled', + 'observed' => $h->runFinished, + 'interval' => redfish_settings()->collectInterval, + 'detail' => ($h->failure->value ?? '') . ' ' . __('Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now.', 'redfish') + ]; + } + + return $rows; +} + +/** The caller has reloaded this BMC within the current device scope. */ +function redfish_operator_retry(int $id): void { + (new HealthRepository(false))->clearHolds($id); +} diff --git a/lib/OperatorPage.php b/lib/OperatorPage.php new file mode 100644 index 0000000..7cdd3e4 --- /dev/null +++ b/lib/OperatorPage.php @@ -0,0 +1,133 @@ + + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of plugin_redfish, a plugin for Cacti. + * https://github.com/somethingwithproof/plugin_redfish + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +namespace Somethingwithproof\Redfish; + +/** Personal triage of current observations. It never changes measured health. */ +final class OperatorPage { + /** @param list $actions */ + public static function actionStatus(bool $allowed, string $action, string $method, bool $csrf, array $actions): int { + if (!$allowed) { + return 403; + } + + if (!in_array($action, $actions, true)) { + return 400; + } + + if ($method !== 'POST') { + return 405; + } + + return $csrf ? 200 : 403; + } + + /** @param array{id: string, name: string, state: string, observed: int, interval: int, detail: string} $row */ + public static function fingerprint(array $row): string { + return hash('sha256', (string) json_encode($row)); + } + + /** @param array{id: string, name: string, state: string, observed: int, interval: int, detail: string} $row */ + public static function fresh(array $row, int $now): bool { + return $row['observed'] > 0 && $row['observed'] <= $now && $now - $row['observed'] <= max(60, $row['interval']) * 2; + } + + /** + * Session-only acknowledgments expire with the evidence or after one hour. + * Only rows reloaded within the current user's device scope may be supplied. + * @param array $session + * @param array{id: string, name: string, state: string, observed: int, interval: int, detail: string} $row + */ + public static function acknowledge(array &$session, array $row, string $fingerprint, int $user, int $now): bool { + if ($user <= 0 || !self::fresh($row, $now) || !hash_equals(self::fingerprint($row), $fingerprint)) { + return false; + } + $entries = isset($session['entries'], $session['user']) && $session['user'] === $user && is_array($session['entries']) ? $session['entries'] : []; + + foreach ($entries as $id => $entry) { + if (!is_array($entry) || !isset($entry['at']) || !is_int($entry['at']) || $entry['at'] > $now || $now - $entry['at'] > 3600) { + unset($entries[$id]); + } + } + unset($entries[$row['id']]); + $entries[$row['id']] = ['fingerprint' => $fingerprint, 'at' => $now]; + $session = ['user' => $user, 'entries' => array_slice($entries, -100, null, true)]; + + return true; + } + + /** + * @param array $session + * @param array{id: string, name: string, state: string, observed: int, interval: int, detail: string} $row + */ + public static function acknowledged(array $session, array $row, int $user, int $now): bool { + $entries = $session['entries'] ?? []; + $entry = is_array($entries) ? ($entries[$row['id']] ?? null) : null; + + return ($session['user'] ?? 0) === $user && is_array($entry) + && isset($entry['fingerprint'], $entry['at']) && is_string($entry['fingerprint']) && is_int($entry['at']) + && $entry['at'] <= $now && $now - $entry['at'] <= 3600 + && self::fresh($row, $now) && hash_equals(self::fingerprint($row), $entry['fingerprint']); + } + + /** @param array{id: string, name: string, state: string, observed: int, interval: int, detail: string} $row */ + public static function form(array $row, string $action, string $label): void { + form_start('redfish_operator.php'); + print ''; + print ''; + print ''; + print ''; + form_end(false); + } + + /** + * @param list $rows + * @param array $session + * @param array $actions + */ + public static function render(array $rows, array $session, int $user, int $now, array $actions): void { + print '

' . html_escape(__('Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health.', 'redfish')) . '

'; + print '
'; + html_start_box(__('Redfish Operations', 'redfish'), '100%', '', '3', 'center', ''); + print '' . implode('', array_map('html_escape', [__('Object', 'redfish'), __('State', 'redfish'), __('Observed (UTC)', 'redfish'), __('Investigation', 'redfish'), __('Actions', 'redfish')])) . ''; + + foreach ($rows as $row) { + $fresh = self::fresh($row, $now); + $state = $row['state'] . ($fresh ? '' : ' / ' . __('Unknown or stale', 'redfish')); + print '' . html_escape($row['name']) . '' . html_escape($state) . '' . html_escape($row['observed'] > 0 ? gmdate('Y-m-d H:i:s', $row['observed']) : __('Never', 'redfish')) . '' . html_escape($row['detail']) . ''; + + if (self::acknowledged($session, $row, $user, $now)) { + print html_escape(__('Acknowledged; health unchanged.', 'redfish')); + } elseif ($fresh) { + self::form($row, 'acknowledge', __('Acknowledge', 'redfish')); + } + + foreach ($actions as $action => $label) { + self::form($row, $action, $label); + } + print ''; + } + + if ($rows === []) { + print '' . html_escape(__('No observations are available for devices you may access.', 'redfish')) . ''; + } + html_end_box(); + print '
'; + } +} diff --git a/lib/Pages.php b/lib/Pages.php index 634816a..25eadb9 100644 --- a/lib/Pages.php +++ b/lib/Pages.php @@ -28,6 +28,7 @@ * credentials are Redfish Admin pages (REQ-UI-005). */ final class Pages { + public const OPERATOR = ['redfish_operator.php']; public const VIEW = ['redfish_health.php']; public const ADMIN = ['redfish_bmcs.php', 'redfish_credentials.php']; @@ -36,6 +37,7 @@ final class Pages { */ public static function realms(): array { return [ + ['name' => __('Redfish Operator', 'redfish'), 'files' => self::OPERATOR], ['name' => __('Redfish View', 'redfish'), 'files' => self::VIEW], ['name' => __('Redfish Admin', 'redfish'), 'files' => self::ADMIN], ]; @@ -45,7 +47,7 @@ public static function realms(): array { * @return list */ public static function files(): array { - return array_merge(self::VIEW, self::ADMIN); + return array_merge(self::VIEW, self::ADMIN, self::OPERATOR); } /** @@ -55,6 +57,7 @@ public static function files(): array { */ public static function menu(): array { return [ + 'redfish_operator.php' => __('Redfish Operations', 'redfish'), 'redfish_bmcs.php' => __('Redfish BMCs', 'redfish'), 'redfish_credentials.php' => __('Redfish Credentials', 'redfish'), 'redfish_health.php' => __('Redfish Health', 'redfish'), diff --git a/lib/Schema.php b/lib/Schema.php index c01f24d..9526b2e 100644 --- a/lib/Schema.php +++ b/lib/Schema.php @@ -37,6 +37,7 @@ final class Schema { public const VERSION = 2; public const HOOKS = [ + 'auth_alternate_realms' => 'redfish_auth_alternate_realms', 'api_device_new' => 'redfish_api_device_new', 'config_arrays' => 'redfish_config_arrays', 'config_settings' => 'redfish_config_settings', diff --git a/locales/LC_MESSAGES/ar-SA.mo b/locales/LC_MESSAGES/ar-SA.mo new file mode 100644 index 0000000000000000000000000000000000000000..28b26fd0a6d8fb3a353c8a92185ce1a050b68c22 GIT binary patch literal 31606 zcmb`P3z%GGndc9vr~zd}5K+(r8VH!~Tp$P?B7`JBgpiPgctOS)zEURGz6*>#`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a8O%x6bB7VNW}PM5QDAUbiU^_f|bQmdS{!{H-F? ze0;Zxl_T`l{UT-NnFWW;i#Xe5u$>Qg5h&BL^iPJECx+pXWa0RlAGguHyi4y=nRm%= z2v)(v_?y6EdWNaKFx-NI30oVGQVqKUTXJaeAeY7iuw<0yDT|bu9UDBZ;Tc%H{5l2_ zokBD*Qx%?W5^K8Sf~}ps%uGrTZfuzEVfboR^x0_J((5n_^&bCJ0 Ph4Ut!x0$1Qhz9>36h2ct literal 0 HcmV?d00001 diff --git a/locales/LC_MESSAGES/es-419.mo b/locales/LC_MESSAGES/es-419.mo new file mode 100644 index 0000000000000000000000000000000000000000..bd26e392c946088a3daa68a22d9c28becab8294e GIT binary patch literal 27542 zcmb`P36vdIncuGs#vp?Mv)C-gWn*CptDhDlV_LRxYq2G)mW0%jVT^(5_o};}_4?Iw z)q9fKgaK@`8ivgd0|c-MOzZ)}fN>Jc1QMEIh9wM>SxAPkPkC0lwoL=k_w*&x0D*nNN4_Jn-qD#yttH0=I%s z1E;|q;Cy(0AGm@02f&YlKL#%a-}(&ao((R8YUd}Q=J(&hM}WTq9|@ic(XIkd2WP;Y zpz3`f;K#w=;{J2sqrs;_6t#aI_$crY_;&CH5YoB73wX-2oO>bnPXUjB2f@dHUk4$T z`z!E?;Lkyg?^oaxz(+Cp$Af2sj{`3P>Dp}u-vaIjMUU@*s{d2)BJdx;_2Bu5pVx~) zeSZklI6ELq;SPuUTfoiSzZrZE_yzDn@W-I$dB*vEyiW%8-LpW^VKb_KLY09 z$H5nX&%A)O1`mOHe=B%Bcsuw8@F$??&}VVp1Reul2%bXc8s`)!KG+Ff3(kO=$6X*( zbe{mXgWmu(&L^$*{QFE$->n6o3vLEAuUCR};ob;d4t@;eKlfAqh>mAcN$c@6P;#&y z)VMDPwGP|CM}jlpTJWWy`0ZA33-}rEH1HRo>iW42&F90Q>VFy(zkUJK{Qe9SAN&+l`~Mr%cV|F+ z@#V8Xqi49k97HtSG>GbOhe569YeDsM7x-xK4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H38E~kqZTv--!!+Er+h z!XJV>&U;8n2Bh^a8Iu@s_6&bUs})a+g;OubKdEz25K>83JHY?2lCD#Y^B2djdlg36 zavJ9~>aRGjaVQ){^>v{gDJ_JZV41W1=3!`)Y?0VbN3rChvrUdT>Yr6qQI(gCDrbqJ z=TMmma+Qxns&zn3`4P^nK;5{19S<6;+}j}D$V#-F4kxm{mW7BW7axX$V`5G=F@4IB zr=lNL2d~?@}`xDOeIo_dmd+~Kjs)1(RUT|GF50yZ;L|Dx0nV literal 0 HcmV?d00001 diff --git a/locales/LC_MESSAGES/es-ES.mo b/locales/LC_MESSAGES/es-ES.mo new file mode 100644 index 0000000000000000000000000000000000000000..6f8276d067732012ce139ce80f9dba714007f23b GIT binary patch literal 27562 zcmb`P37lnBedjN3KqD@=fVgm3TDqa@^#To84MO!sw{&&4UDb_>sJGs`RrToi-hJHr zUUwHJ#x)RE5~Bi+5saFkf(tPjm*|X@kZ7F5OiVHvCC-fFGM{liI(}wJCNpuqzyCSs zF4f%(<}>fZso!1BJM?p|6g{8&r-D=91b76@zy$n0coVqmSyA*#@WbF$ z;3;%+7dQ#N4EzhQ2d+Ciie3fY4ZaWjJ8%NL^PDK!$9TU4YFtk_H;T>!&jmH^NpKao z6?_gj4ekIJ{QC#M4cvbg{0R7c@Cxwl&yAuB!DUeG`~cMaehfYy{73K!;Nu|Lb>OMs zEVv6)y$^W&1o#T>zW|;FJ{zK_{qw*lfrr3%fj5JYF8VJXPkBKUUCaHmz$4&6@O1F& zAf$@^3Vb^FBT(b}NAPLjlbHNd!Lz|L!HYqE9I6V$jr z3})abz!!nfyMVO@4}p6BCh#WkZQw71KLACC0gH17cnrK2JcZ6R&M8oQunW8aoCP(H zdqJicJqT_G{}j|XpRwBU@AE)?w-&qv+ze`7uL0>Ix*fb4{5Z&e(GU3}IzEL;T94;| zl7sc2#(g!Yb=VF*0h|Tbf-eWfZ*Ky(fWHGi5&Q|L`u_tIy`FTjYw!7>`n?1ceHQ%l z`#`n(AgF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{A`d=*CSte$#GtHJ|)aO-5>yEj>v-;P_+F_`Z z!X1k|&U;8m1|-#v8Iu@u8V!F&s};_V`9mgqy1vRcSH@iOQA&B@T7S)cGu=dYrMaft3@FGJlD# z=cJj*a+#Y%uytxpDH2YxK;W>Q9nKxB-0C3YNDCC5PAsy-mWT*u7dM8}Wa3ZuG+pkI z6-Ngs`FZRCz^o2Kfy vjI1i#7lnQ3$g#4{{$^1xY*$34(s2;A`HR0(P)%g2Dwq&+C^!mHc=Ue(Np`5w literal 0 HcmV?d00001 diff --git a/locales/LC_MESSAGES/hi-IN.mo b/locales/LC_MESSAGES/hi-IN.mo new file mode 100644 index 0000000000000000000000000000000000000000..7ea04d218572902a31d6788635688c6385b46573 GIT binary patch literal 38959 zcmdU%4U}C~mFF*hfC7r5s37VEjew>q2@=Evgphzl2*f0Sh>EYOUZtLS^a^XC&PX?uSEz4yKM z-B+)YU{5=1YUR{^_ug~%*&qMC&pzkA)Q^sQ+KmZ6KcO8288H%VUf zyd>dPay0Y>(Bq(oK~ID3hOUDi4*joC4f!8IljkSNOSnD)x&}G`-41O+E6|@pFNdCY zRFb?EItx7wdJvO*0=f$NX6Ro*>(HeyOp>=lKMDOf^dF!D&=0*RNiIU(N1>AI*~cWw z%b>?VCHE@mq0qCTM?*J2&w*}@=bwcx=Xx)64*FB*sn8o`W)!ND1QX>h0td~Pk=IYvJ(0M=q9M_ z@k6NkKLI@f`j60M(Bo3q>rGINzXU2dN1(VO*%sGVLsxSBe&{Qqk3nAn{V7y>9(J6| z`+TUzy%Z`ttb|I>4?!jOEVK!|7y3HrvB%?U=p|4+zXp0a^m^#E(4RqNhX&4>fnEhY z6M7JnOU^Y=;ov;z`Oqy;>2WI*6_fj*>!9C(O3vpkar_<&)wq+OuY#_GO0Rc7nIgFk zdOGwTDF2ct_$50&n@;k_(NM*~GN|M}9V$PpgFX$q1$q+nGN|x&4Rkg1^U$Y5e+5Fk$XQ=etiZbfgfgS>#g38W2p+`b@L8Z^_ zQ1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pn&N}3A;?zhtXJ?3T<#)Hd!NspBl?Wi|Mi~*X!2`Ge5{D?OX#RK|A zr~Z0%SNQ6TxF}^1Xz!EBH+}xIPj5bo1eXIz>A^w?W#s=N-!VD8Ed1n&-54lcyM`_~ z@X1pd4()c>VV^816M62&bG$_jsk{WD#Bk9lizomvSz>U>EFu7aR-j$tt{Y%Xfnq8U zfu@22CNiW!teiLFOaUowg$cZ1G2`#=V8bF35f!+igRlLV25ynE1KM#gLZ8r>Pq74= zj5|Htu!Wz*78%7nzzV#Ne2V#yVcOSjk{H(r5YmMfiyP6L90zi}OQ0;6uQTuze7Gf- zhVe^t^C#U5{!DKrWR86)ky!bSH8F|uHMTGIkSqxMP>>OdX2zl?OFaLyO1}m^(MIXO~p&sLZKyVj^d(Du1;I6)a-@k8aMpJ5zmD;*Vw8&l< GDEU7kt}tW( literal 0 HcmV?d00001 diff --git a/locales/LC_MESSAGES/zh-CN.mo b/locales/LC_MESSAGES/zh-CN.mo new file mode 100644 index 0000000000000000000000000000000000000000..1bb00dbadc29c474a205c866d91cf9f6e6f6f1f2 GIT binary patch literal 25348 zcmb`P33y!PdG8O|NFb1gkdU1d5(h{u*@l=R$z~1%C}r0zVMixjqkS{N14T z*#^RjV6ne`0G!J88t}v5Iq*YZ8Pqv1{ebQFN>Jn84~h;`L7j6D)V}wFdGIj!yWo4T zf!E;Opq?)W?*-R^tH25YN=M zM*T|Q#b7TeIxhpS00%&wXCJ8k&w!HGbD+-m7og;z3Tpm;1~u+dh%dQ(Kj`S`uWtcS zjbJW_=?E5s;%6VIb@qU71do9le+qmP_-Fq5$KXD$BT)P9|7Z}*0XKj%!JmQaz;{m! z0z@o$9DES`9w_?U+hlZZ0mZKzsQV@GL*Va&T6YgP1$-Ku3%&@7&QqFAp5}tPxGsS@ z?-i4Rpa@O?weB{MC4= zG5C+*3Q)?R=PSWag9D)C=!c;8@z#PPk^HLn?G&-_7+g%egTRfSI@9<-vBpp{WDNQmGxxO6~o%ex~ha=z{z!$)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nQiA+Mk}#RgJ{vdM`fPs3b2yifkC9#YGJ==E3C?PpxZqmOw&p1y4LsBLoH6!EtALCj8o$HR;?zD} zgu!(9Qnu|!TCs&U+EM>gl})>K85eV9k~3ngO0EE;?=PvQAu0W&94`$?j&^yh1C_@T~{-=S_KK3+1U6^9R`&?K6iH=m292e zV%_6f&kk*!ee(mD_-CLDeB~ks(~51bDloo2VVkQ7AZ3o)PJPzwf=3p};@OTz=s z#oIkd=cjc)>C>!6sF<@R*zuJYn_>6T$QO0oE4TAXJL?H+IWx6sLL4U^n|v+X6@fzi zqL0E_%Ktwa3gv3la$@UFSm)o3G*-0nK~5d9Y-etadlBv>!@c2BVQ~9kb<05Fxh3Pt z4;RjJ;nkrhYI)?w{?Xxn%V4cc!&rHz@nHkOG|tyTbA;d4uRDYLu>-1Vm1&EhjIZ%& zN6!sK`!`_k>Jwcp<=$LMa?gLuj{=!?Q^rs@554O0?S{Y!b1bEloS0=vh~O;?#WeyX z7tT95a5X5U;i$8=L9N6Ei9Q^P~C+_RKckq}{TZ;)bIWKiy{=GX)waz|B ztE&<#?QqVkRw77V8|tMr?}JfQ2#Mm^OD$g-(U0?9MQP+hZ1Km`Z|%mtPqX5uf3Bj# z$ZqvA_V|ZbDHSQV92b=xB{>7^Clq(&O3KEnF1z>X-e>5QwcaRMJPh6VISVO?&8Oc~ zI0xX1sBr}o+WO)G*2ulnZeV?F52tq5zx_wz$lYR5tyQ_TLni`t{?nCn>copB-9aQ% n<7;#cuQc>J#J^yuRpC@(LmLU&>dJ;pg-3WSI(brKys-U$nk@C< literal 0 HcmV?d00001 diff --git a/locales/build_gettext.sh b/locales/build_gettext.sh index 5d0c65c..19910cc 100644 --- a/locales/build_gettext.sh +++ b/locales/build_gettext.sh @@ -94,6 +94,8 @@ if [ "${1:-}" = "--check" ]; then fi done + python3 tests/check_translations.py || rc=1 + [ $rc -eq 0 ] && echo "catalogs are complete and compiled" exit $rc fi diff --git a/locales/po/ar-SA.po b/locales/po/ar-SA.po new file mode 100644 index 0000000..8c2968b --- /dev/null +++ b/locales/po/ar-SA.po @@ -0,0 +1,970 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +# +msgid "" +msgstr "" +"Project-Id-Version: redfish 0.1.0-dev\n" +"Report-Msgid-Bugs-To: https://github.com/somethingwithproof/plugin_redfish/issues\n" +"PO-Revision-Date: 2026-11-17 00:00+0000\n" +"Last-Translator: Thomas Vincent \n" +"Language-Team: Thomas Vincent \n" +"Language: ar-SA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" + +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "تحقق من حداثة الجمع ورسوم الجهاز. تعيد المحاولة رفع تعليق الجمع للتشغيل المجدول التالي؛ ولا تتصل بوحدة BMC الآن." + +#: lib/BmcImport.php +msgid "The file is empty or larger than 1 MiB." +msgstr "الملف فارغ أو أكبر من 1 MiB." + +#: lib/BmcImport.php +msgid "The file could not be read." +msgstr "تعذرت قراءة الملف." + +#: lib/BmcImport.php +msgid "The file has no header row." +msgstr "لا يحتوي الملف على صف عناوين." + +#: lib/BmcImport.php +#, php-format +msgid "The file has a column named \"%s\". Import files must not carry secrets; name a stored credential in the credential column instead. Nothing was imported." +msgstr "يحتوي الملف على عمود باسم «%s». يجب ألا تتضمن ملفات الاستيراد أسرارًا؛ ضع اسم بيانات اعتماد محفوظة في عمود credential. لم يُستورد شيء." + +#: lib/BmcImport.php +#, php-format +msgid "The header must name only these columns, each once, including name, address, and credential: %s." +msgstr "يجب أن يقتصر العنوان على الأعمدة التالية، مرة واحدة لكل منها، بما فيها name وaddress وcredential: %s." + +#: lib/BmcImport.php +#, php-format +msgid "The file has more than %d rows." +msgstr "يتجاوز الملف %d صفًا." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: expected %d fields, found %d." +msgstr "السطر %d: المتوقع %d حقول، والموجود %d." + +#: lib/BmcImport.php +#, php-format +msgid "Credential: no stored credential is named \"%s\"." +msgstr "بيانات الاعتماد: لا توجد بيانات اعتماد محفوظة باسم «%s»." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: %s" +msgstr "السطر %d: %s" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the address %s port %d is already registered as %s." +msgstr "السطر %d: العنوان %s والمنفذ %d مسجلان بالفعل باسم %s." + +#: lib/BmcImport.php +#, php-format +msgid "line %d" +msgstr "السطر %d" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the name %s is already used." +msgstr "السطر %d: الاسم %s مستخدم بالفعل." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: no Cacti device has ID %d." +msgstr "السطر %d: لا يوجد جهاز Cacti بالمعرّف %d." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: device %d already has the BMC %s." +msgstr "السطر %d: للجهاز %d وحدة BMC‏ %s بالفعل." + +#: lib/BmcImport.php +#, php-format +msgid "of line %d" +msgstr "من السطر %d" + +#: lib/BmcImport.php +msgid "The file has no BMC rows." +msgstr "لا يحتوي الملف على صفوف BMC." + +#: lib/BmcInput.php redfish_credentials.php +msgid "Name: enter 1 to 100 characters without control characters." +msgstr "الاسم: أدخل من 1 إلى 100 حرف دون أحرف تحكم." + +#: lib/BmcInput.php +msgid "Address: enter a host name or an IP address only, without a scheme, port, path, or user name. Loopback, link-local, multicast, and unspecified addresses are refused." +msgstr "العنوان: أدخل اسم مضيف أو عنوان IP فقط، دون مخطط أو منفذ أو مسار أو اسم مستخدم. تُرفض عناوين الاسترجاع والمحلية للرابط والبث المتعدد وغير المحددة." + +#: lib/BmcInput.php +msgid "Port: enter a TCP port from 1 to 65535." +msgstr "المنفذ: أدخل منفذ TCP بين 1 و65535." + +#: lib/BmcInput.php +msgid "Poller: only the main poller can collect BMCs in this release." +msgstr "المستطلِع: في هذا الإصدار يمكن للمستطلِع الرئيسي فقط جمع بيانات BMC." + +#: lib/BmcInput.php +msgid "Device: choose a Cacti device or none." +msgstr "الجهاز: اختر جهاز Cacti أو لا شيء." + +#: lib/BmcInput.php lib/BmcsPage.php +msgid "Credential: choose a stored credential." +msgstr "بيانات الاعتماد: اختر بيانات اعتماد محفوظة." + +#: lib/BmcInput.php +msgid "TLS Verification: choose one of the listed modes." +msgstr "التحقق من TLS: اختر وضعًا من القائمة." + +#: lib/BmcInput.php +msgid "CA Bundle File: enter an absolute path without control characters, at most 512 characters." +msgstr "ملف حزمة CA: أدخل مسارًا مطلقًا لا يتجاوز 512 حرفًا دون أحرف تحكم." + +#: lib/BmcInput.php +msgid "Public Key Pin: enter the base64 SHA-256 hash of the BMC public key, optionally prefixed with sha256//." +msgstr "تثبيت المفتاح العام: أدخل تجزئة SHA-256 بترميز base64 للمفتاح العام لوحدة BMC، مع البادئة sha256// اختياريًا." + +#: lib/BmcRepository.php +msgid "another BMC" +msgstr "وحدة BMC أخرى" + +#: lib/BmcsPage.php lib/Pages.php +msgid "Redfish BMCs" +msgstr "وحدات BMC لـ Redfish" + +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php +msgid "Actions" +msgstr "الإجراءات" + +#: lib/BmcsPage.php +msgid "Address" +msgstr "العنوان" + +#: lib/BmcsPage.php +msgid "Basic Fallback" +msgstr "الرجوع إلى المصادقة الأساسية" + +#: lib/BmcsPage.php +msgid "Credential" +msgstr "بيانات الاعتماد" + +#: lib/BmcsPage.php +msgid "Device" +msgstr "الجهاز" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Name" +msgstr "الاسم" + +#: lib/BmcsPage.php +msgid "Port" +msgstr "المنفذ" + +#: lib/BmcsPage.php lib/OperatorPage.php +msgid "State" +msgstr "الحالة" + +#: lib/BmcsPage.php +msgid "TLS Verification" +msgstr "التحقق من TLS" + +#: lib/BmcsPage.php lib/HealthPage.php +msgid "No BMCs yet." +msgstr "لا توجد وحدات BMC بعد." + +#: lib/BmcsPage.php +msgid "Missing" +msgstr "مفقود" + +#: lib/BmcsPage.php +msgid "Allowed" +msgstr "مسموح" + +#: lib/BmcsPage.php +msgid "Off" +msgstr "معطل" + +#: lib/BmcsPage.php +msgid "Disabled" +msgstr "معطل" + +#: lib/BmcsPage.php +msgid "Enabled" +msgstr "مفعّل" + +#: lib/BmcsPage.php +msgid "Retry Now" +msgstr "إعادة المحاولة الآن" + +#: lib/BmcsPage.php +msgid "Add Graphs" +msgstr "إضافة رسوم" + +#: lib/BmcsPage.php +msgid "Create Device" +msgstr "إنشاء جهاز" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Delete" +msgstr "حذف" + +#: lib/BmcsPage.php +msgid "Export the BMC registry as JSON (no secrets)" +msgstr "تصدير سجل BMC بصيغة JSON (دون أسرار)" + +#: lib/BmcsPage.php +msgid "Reinstall the Redfish Templates" +msgstr "إعادة تثبيت قوالب Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Add Redfish graphs for %s" +msgstr "إضافة رسوم Redfish لـ %s" + +#: lib/BmcsPage.php +#, php-format +msgid "Create a Cacti device for %s" +msgstr "إنشاء جهاز Cacti لـ %s" + +#: lib/BmcsPage.php +msgid "Everything is already in place. Confirming indexes the data queries again and adds graphs for new members only." +msgstr "كل شيء موجود بالفعل. يؤدي التأكيد إلى إعادة فهرسة استعلامات البيانات وإضافة رسوم للأعضاء الجدد فقط." + +#: lib/BmcsPage.php +msgid "Confirming adds:" +msgstr "سيضيف التأكيد:" + +#: lib/BmcsPage.php +msgid "Existing devices, graphs, and thresholds are not changed." +msgstr "لا تُغيّر الأجهزة أو الرسوم أو العتبات الحالية." + +#: lib/BmcsPage.php +msgid "Confirm" +msgstr "تأكيد" + +#: lib/BmcsPage.php +msgid "Cancel" +msgstr "إلغاء" + +#: lib/BmcsPage.php +msgid "Import BMCs" +msgstr "استيراد وحدات BMC" + +#: lib/BmcsPage.php +msgid "CSV File" +msgstr "ملف CSV" + +#: lib/BmcsPage.php +#, php-format +msgid "Header row with columns: %s. Name a stored credential; never put a password in the file. Every row must be valid or nothing is imported." +msgstr "صف عناوين بالأعمدة: %s. اذكر اسم بيانات اعتماد محفوظة؛ ولا تضع كلمة مرور في الملف مطلقًا. يجب أن يكون كل صف صالحًا وإلا فلن يُستورد شيء." + +#: lib/BmcsPage.php +msgid "Import" +msgstr "استيراد" + +#: lib/BmcsPage.php +msgid "Choose a credential" +msgstr "اختيار بيانات اعتماد" + +#: lib/BmcsPage.php +msgid "None" +msgstr "لا شيء" + +#: lib/BmcsPage.php +#, php-format +msgid "Deleted device (ID %d)" +msgstr "جهاز محذوف (المعرّف %d)" + +#: lib/BmcsPage.php +msgid "New Redfish BMC" +msgstr "وحدة BMC جديدة لـ Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Redfish BMC: %s" +msgstr "وحدة Redfish BMC: %s" + +#: lib/BmcsPage.php +msgid "Host name or IP address of the BMC, without https:// or a path." +msgstr "اسم مضيف BMC أو عنوان IP الخاص به، دون https:// أو مسار." + +#: lib/BmcsPage.php +msgid "Do not verify is logged when set and shown as a warning on the health page while it stays." +msgstr "يُسجل خيار عدم التحقق عند ضبطه ويظهر تحذيرًا في صفحة السلامة ما دام مفعّلًا." + +#: lib/BmcsPage.php +msgid "CA Bundle File" +msgstr "ملف حزمة شهادات CA" + +#: lib/BmcsPage.php +msgid "For the CA bundle mode: absolute path on the poller to a PEM file that others cannot write." +msgstr "لوضع حزمة CA: المسار المطلق على المستطلِع لملف PEM لا يستطيع الآخرون الكتابة فيه." + +#: lib/BmcsPage.php +msgid "For the pinned mode: base64 SHA-256 of the BMC public key, as sha256//... or the bare hash. A changed key fails until this is updated." +msgstr "لوضع المفتاح المثبت: SHA-256 بترميز base64 للمفتاح العام لوحدة BMC بصيغة sha256//... أو التجزئة وحدها. يفشل التحقق عند تغيّر المفتاح حتى تُحدث هذه القيمة." + +#: lib/BmcsPage.php +msgid "Public Key Pin" +msgstr "تثبيت المفتاح العام" + +#: lib/BmcsPage.php +msgid "Allow Basic Authentication Fallback" +msgstr "السماح بالرجوع إلى المصادقة الأساسية" + +#: lib/BmcsPage.php +msgid "Used only when the BMC offers no session service. Every request then carries the password; the health page warns while it is in use." +msgstr "يُستخدم فقط عندما لا توفر BMC خدمة جلسات. يحمل كل طلب كلمة المرور حينئذ؛ وتعرض صفحة السلامة تحذيرًا أثناء استخدامه." + +#: lib/BmcsPage.php +msgid "The Cacti device of the server this BMC manages. Leave it at none to have the plugin create a device from the list." +msgstr "جهاز Cacti للخادم الذي تديره BMC هذه. اتركه بلا جهاز لتتيح للإضافة إنشاء جهاز من القائمة." + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Save" +msgstr "حفظ" + +#: lib/BmcsPage.php +#, php-format +msgid "Address: %s port %d is already registered as %s." +msgstr "العنوان: %s والمنفذ %d مسجلان بالفعل باسم %s." + +#: lib/BmcsPage.php +msgid "Address: this address and port are already registered." +msgstr "العنوان: هذا العنوان والمنفذ مسجلان بالفعل." + +#: lib/BmcsPage.php +msgid "Name: another BMC already uses this name." +msgstr "الاسم: تستخدم وحدة BMC أخرى هذا الاسم بالفعل." + +#: lib/BmcsPage.php +msgid "Device: no Cacti device has this ID." +msgstr "الجهاز: لا يوجد جهاز Cacti بهذا المعرّف." + +#: lib/BmcsPage.php +msgid "Device: another BMC is already mapped to this device." +msgstr "الجهاز: ترتبط وحدة BMC أخرى بهذا الجهاز بالفعل." + +#: lib/CredentialsPage.php lib/Pages.php +msgid "Redfish Credentials" +msgstr "بيانات اعتماد Redfish" + +#: lib/CredentialsPage.php +msgid "Password" +msgstr "كلمة المرور" + +#: lib/CredentialsPage.php +msgid "Used By" +msgstr "تستخدمها" + +#: lib/CredentialsPage.php +msgid "User Name" +msgstr "اسم المستخدم" + +#: lib/CredentialsPage.php +msgid "No credentials yet. Create one with a read-only BMC account." +msgstr "لا توجد بيانات اعتماد بعد. أنشئ واحدة بحساب BMC للقراءة فقط." + +#: lib/CredentialsPage.php +msgid "None stored" +msgstr "لا شيء محفوظ" + +#: lib/CredentialsPage.php +msgid "Stored" +msgstr "محفوظة" + +#: lib/CredentialsPage.php +#, php-format +msgid "%d BMCs" +msgstr "%d وحدة BMC" + +#: lib/CredentialsPage.php +msgid "New Redfish Credential" +msgstr "بيانات اعتماد Redfish جديدة" + +#: lib/CredentialsPage.php +#, php-format +msgid "Redfish Credential: %s" +msgstr "بيانات اعتماد Redfish: %s" + +#: lib/CredentialsPage.php +msgid "A BMC account with the ReadOnly role. The plugin never needs a role that can change BMC state." +msgstr "حساب BMC بدور ReadOnly. لا تحتاج الإضافة مطلقًا إلى دور يمكنه تغيير حالة BMC." + +#: lib/CredentialsPage.php +msgid "A password is stored. Leave blank to keep it." +msgstr "كلمة مرور محفوظة. اترك الحقل فارغًا للاحتفاظ بها." + +#: lib/CredentialsPage.php +msgid "Stored encrypted with the vault key." +msgstr "تُحفظ مشفرة بمفتاح الخزنة." + +#: lib/DeviceProvisioner.php +msgid "The Redfish templates are not installed completely. Reinstall them from the Redfish BMCs page." +msgstr "قوالب Redfish غير مثبتة بالكامل. أعد تثبيتها من صفحة وحدات BMC لـ Redfish." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "A device \"%s\" from the %s device template, polled by poller %d, with availability checks off. Its host name is a reserved name that is never contacted." +msgstr "جهاز «%s» من القالب %s، يستطلعه المستطلِع %d مع تعطيل اختبارات التوفر. اسم مضيفه محجوز ولا يُتصل به مطلقًا." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The data query \"%s\", with a graph for each of the %d members known now." +msgstr "استعلام البيانات «%s»، مع رسم لكل عضو من الأعضاء %d المعروفة حاليًا." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "%d fans or power supplies that were present are no longer reported. They count as failed until you confirm; confirming accepts the members the BMC reports now." +msgstr "لم يعد يُبلّغ عن %d مراوح أو وحدات طاقة كانت موجودة. تُحسب كأعطال حتى تؤكد؛ ويقبل التأكيد الأعضاء التي تبلغ عنها BMC الآن." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The graph \"%s\", with its \"%s\" data source." +msgstr "الرسم «%s»، مع مصدر بياناته «%s»." + +#: lib/DeviceProvisioner.php +msgid "The BMC is already mapped to a device." +msgstr "وحدة BMC مرتبطة بجهاز بالفعل." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "Created by the Redfish plugin for BMC %s. Its values come from the plugin cache; the host name is a reserved name that is never contacted." +msgstr "أنشأته إضافة Redfish لوحدة BMC‏ %s. تأتي القيم من ذاكرة الإضافة المؤقتة؛ واسم المضيف محجوز ولا يُتصل به مطلقًا." + +#: lib/DeviceProvisioner.php +msgid "Cacti refused to create the device. See the Cacti log." +msgstr "رفض Cacti إنشاء الجهاز. راجع سجل Cacti." + +#: lib/DeviceProvisioner.php +msgid "The new device would be hidden from you by your device permissions, so it was removed again. Ask an administrator to grant access, or map the BMC to a device you can see." +msgstr "كانت صلاحياتك ستخفي الجهاز الجديد عنك، لذا أُزيل مجددًا. اطلب من مسؤول منحك الوصول، أو اربط BMC بجهاز يمكنك عرضه." + +#: lib/DeviceProvisioner.php +msgid "The BMC was mapped to a device by someone else meanwhile, or could not be mapped, so the new device was removed again. Reload the page and check its mapping." +msgstr "ربط شخص آخر BMC بجهاز في هذه الأثناء، أو تعذر ربطها، لذا أُزيل الجهاز الجديد. أعد تحميل الصفحة وتحقق من الربط." + +#: lib/DeviceWarnings.php +#, php-format +msgid "The Redfish templates could not be installed: %s" +msgstr "تعذر تثبيت قوالب Redfish: %s" + +#: lib/DeviceWarnings.php +msgid "The Redfish templates are not installed or not current. Reinstall them from the Redfish BMCs page." +msgstr "قوالب Redfish غير مثبتة أو غير محدثة. أعد تثبيتها من صفحة وحدات BMC لـ Redfish." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its Cacti device was deleted. Map it to another device or create one from the BMCs page." +msgstr "%s: حُذف جهاز Cacti الخاص بها. اربطها بجهاز آخر أو أنشئ واحدًا من صفحة BMC." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its device is polled by poller %d but the BMC is read by poller %d. Move one of them so both use the same poller, or its graphs can read as unknown." +msgstr "%s: يستطلع المستطلِع %d جهازها، لكن المستطلِع %d يقرأ BMC. انقل أحدهما ليستخدما المستطلِع نفسه، وإلا فقد تعرض الرسوم قيمًا غير معروفة." + +#: lib/GraphLinks.php +msgid "Redfish graphs of this device" +msgstr "رسوم Redfish لهذا الجهاز" + +#: lib/HealthPage.php +msgid "Redfish Warnings" +msgstr "تحذيرات Redfish" + +#: lib/HealthPage.php +msgid "No warnings." +msgstr "لا توجد تحذيرات." + +#: lib/HealthPage.php +msgid "Redfish Collector" +msgstr "جامع بيانات Redfish" + +#: lib/HealthPage.php +msgid "BMCs" +msgstr "وحدات BMC" + +#: lib/HealthPage.php +msgid "Duration / Interval" +msgstr "المدة / الفاصل" + +#: lib/HealthPage.php +msgid "Last Run" +msgstr "آخر تشغيل" + +#: lib/HealthPage.php +msgid "Poller" +msgstr "المستطلِع" + +#: lib/HealthPage.php +msgid "Read" +msgstr "مقروء" + +#: lib/HealthPage.php +msgid "Requests per BMC" +msgstr "الطلبات لكل BMC" + +#: lib/HealthPage.php +msgid "Workers" +msgstr "العمّال" + +#: lib/HealthPage.php +msgid "The collector has not run yet." +msgstr "لم يعمل جامع البيانات بعد." + +#: lib/HealthPage.php lib/OperatorPage.php +msgid "Never" +msgstr "مطلقًا" + +#: lib/HealthPage.php +msgid "Redfish BMC Status" +msgstr "حالة وحدات BMC لـ Redfish" + +#: lib/HealthPage.php +msgid "Authentication" +msgstr "المصادقة" + +#: lib/HealthPage.php +msgid "BMC" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Data" +msgstr "البيانات" + +#: lib/HealthPage.php +msgid "Discovery" +msgstr "الاكتشاف" + +#: lib/HealthPage.php +msgid "Failure" +msgstr "الفشل" + +#: lib/HealthPage.php +msgid "Last Success" +msgstr "آخر نجاح" + +#: lib/HealthPage.php +msgid "Mean Latency" +msgstr "متوسط زمن الاستجابة" + +#: lib/HealthPage.php +msgid "Reachability" +msgstr "قابلية الوصول" + +#: lib/HealthPage.php +msgid "Requests" +msgstr "الطلبات" + +#: lib/HealthPage.php +msgid "Source" +msgstr "المصدر" + +#: lib/HealthPage.php +#, php-format +msgid "newest %s" +msgstr "الأحدث %s" + +#: lib/HealthPage.php +msgid "disabled" +msgstr "معطل" + +#: lib/HealthPage.php +msgid "ok" +msgstr "سليم" + +#: lib/HealthPage.php +msgid "stale" +msgstr "قديم" + +#: lib/HealthWarnings.php +#, php-format +msgid "The vault key file cannot be used: %s. Stored passwords cannot be read or written until it is fixed." +msgstr "لا يمكن استخدام ملف مفتاح الخزنة: %s. يتعذر قراءة كلمات المرور المحفوظة أو كتابتها حتى إصلاحه." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d took %.0f seconds, more than its budget of %d seconds." +msgstr "استغرق جامع البيانات على المستطلِع %d مدة %.0f ثانية، أكثر من ميزانيته البالغة %d ثانية." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d ran out of time before every BMC was read; the rest resume on the next run. Add workers or raise the budget." +msgstr "نفد وقت جامع البيانات على المستطلِع %d قبل قراءة جميع وحدات BMC؛ تُستأنف البقية في التشغيل التالي. أضف عمّالًا أو زد الميزانية." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d last ran %s." +msgstr "آخر تشغيل لجامع البيانات على المستطلِع %d كان %s." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: TLS verification is off. Anyone on the path can read its traffic, including the BMC password." +msgstr "%s: التحقق من TLS معطل. يمكن لأي طرف على المسار قراءة حركة البيانات، بما فيها كلمة مرور BMC." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: uses Basic authentication because the BMC offers no session service; every request carries the password." +msgstr "%s: تُستخدم المصادقة الأساسية لأن BMC لا توفر خدمة جلسات؛ يحمل كل طلب كلمة المرور." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: a session may have been left open on the BMC; the next run deletes it after logging in." +msgstr "%s: ربما تُركت جلسة مفتوحة على BMC؛ يحذفها التشغيل التالي بعد تسجيل الدخول." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d session logins in a row lost their response, so logins stopped. Check the BMC session list, then use Retry Now." +msgstr "%s: فُقدت استجابات %d عمليات دخول متتالية للجلسات، فتوقفت محاولات الدخول. افحص قائمة جلسات BMC ثم استخدم إعادة المحاولة الآن." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: the BMC rejected the credential. It is not tried again until the credential changes." +msgstr "%s: رفضت BMC بيانات الاعتماد. لن تُجرّب مجددًا حتى تتغير." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: its credential is missing or has no stored password." +msgstr "%s: بيانات اعتمادها مفقودة أو ليس لها كلمة مرور محفوظة." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d links in its responses pointed elsewhere and were ignored." +msgstr "%s: أشار %d رابط في استجاباتها إلى وجهات أخرى، فتُجاهلت." + +#: lib/Html.php +#, php-format +msgid "%d seconds ago" +msgstr "قبل %d ثانية" + +#: lib/Html.php +#, php-format +msgid "%d minutes ago" +msgstr "قبل %d دقيقة" + +#: lib/Html.php +#, php-format +msgid "%d hours ago" +msgstr "قبل %d ساعة" + +#: lib/Html.php +#, php-format +msgid "%d days ago" +msgstr "قبل %d يوم" + +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "راجع الملاحظات المسجلة أدناه. الإقرارات شخصية لهذه الجلسة، وتنتهي عند تغيّر الملاحظات، ولا تمنع التنبيهات أو تغيّر حالة السلامة." + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "عمليات Redfish" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "التحقيق" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "الكائن" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "وقت الرصد (UTC)" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "غير معروف أو قديم" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "تم الإقرار؛ حالة السلامة لم تتغير." + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "إقرار" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "لا تتوفر ملاحظات للأجهزة التي يمكنك الوصول إليها." + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "مشغّل Redfish" + +#: lib/Pages.php +msgid "Redfish View" +msgstr "عرض Redfish" + +#: lib/Pages.php +msgid "Redfish Admin" +msgstr "إدارة Redfish" + +#: lib/Pages.php +msgid "Redfish Health" +msgstr "سلامة Redfish" + +#: lib/Settings.php +#, php-format +msgid "%s Default %d, from %d to %d." +msgstr "%s القيمة الافتراضية %d، من %d إلى %d." + +#: lib/Settings.php +msgid "Credential Vault" +msgstr "خزنة بيانات الاعتماد" + +#: lib/Settings.php +msgid "Vault Key File" +msgstr "ملف مفتاح الخزنة" + +#: lib/Settings.php +msgid "Absolute path to the 32-byte key that encrypts stored BMC passwords. Create it yourself, outside the web root, readable only by the web server and poller user, in a directory that only root and that user can write; the plugin never creates or writes it. Back it up with the database: without it, stored passwords must be entered again." +msgstr "المسار المطلق للمفتاح ذي 32 بايت الذي يشفر كلمات مرور BMC. أنشئه بنفسك خارج جذر الويب، قابلًا للقراءة فقط من مستخدم خادم الويب والمستطلِع، وفي دليل لا يكتب فيه إلا root وذلك المستخدم. لا تنشئه الإضافة ولا تكتب فيه. انسخه احتياطيًا مع قاعدة البيانات؛ بدونه يجب إدخال كلمات المرور المحفوظة مجددًا." + +#: lib/Settings.php +msgid "Collector" +msgstr "جامع البيانات" + +#: lib/Settings.php +msgid "Collection Interval" +msgstr "فاصل الجمع" + +#: lib/Settings.php +msgid "Seconds between reads of each BMC." +msgstr "الثواني بين قراءات كل BMC." + +#: lib/Settings.php +msgid "Rediscovery Interval" +msgstr "فاصل إعادة الاكتشاف" + +#: lib/Settings.php +msgid "Seconds between full resource discoveries of each BMC. A BMC is also rediscovered at once when a known resource disappears or changes type." +msgstr "الثواني بين عمليات الاكتشاف الكامل لموارد كل BMC. تُعاد أيضًا عملية الاكتشاف فورًا عند اختفاء مورد معروف أو تغير نوعه." + +#: lib/Settings.php +msgid "Collector Time Budget" +msgstr "الميزانية الزمنية لجامع البيانات" + +#: lib/Settings.php +msgid "Seconds one collector run may spend before it stops starting new BMCs. Keep it below the poller interval; unfinished BMCs resume on the next run." +msgstr "الثواني المتاحة لتشغيل الجامع قبل التوقف عن بدء وحدات BMC جديدة. أبقها أقل من فاصل الاستطلاع؛ تُستأنف الوحدات غير المكتملة في التشغيل التالي." + +#: lib/Settings.php +msgid "BMCs read in parallel. Each BMC is read by one worker at a time." +msgstr "عدد وحدات BMC المقروءة بالتوازي. يقرأ كل وحدة عامل واحد في كل مرة." + +#: lib/Settings.php +msgid "Collector Workers" +msgstr "عمّال جامع البيانات" + +#: lib/Settings.php +msgid "Connect Timeout" +msgstr "مهلة الاتصال" + +#: lib/Settings.php +msgid "Seconds allowed for the TCP connection and TLS handshake to a BMC." +msgstr "الثواني المسموح بها لاتصال TCP ومصافحة TLS مع BMC." + +#: lib/Settings.php +msgid "Request Timeout" +msgstr "مهلة الطلب" + +#: lib/Settings.php +msgid "Seconds allowed for one whole request to a BMC, including the connection." +msgstr "الثواني المسموح بها لطلب كامل إلى BMC، بما فيها الاتصال." + +#: lib/Settings.php +msgid "KiB accepted in one BMC response body; a larger response is refused." +msgstr "عدد KiB المقبول في جسم استجابة BMC واحدة؛ تُرفض الاستجابة الأكبر." + +#: lib/Settings.php +msgid "Maximum Response Size" +msgstr "الحد الأقصى لحجم الاستجابة" + +#: lib/Settings.php +msgid "Freshness" +msgstr "حداثة البيانات" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is shown as delayed." +msgstr "عدد فواصل الجمع التي بعدها تظهر القراءة متأخرة." + +#: lib/Settings.php +msgid "Delayed After" +msgstr "اعتبار القراءة متأخرة بعد" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is stale and reads as unknown. Always at least one more than Delayed After." +msgstr "عدد فواصل الجمع التي بعدها تصبح القراءة قديمة وغير معروفة. يجب أن يزيد دائمًا بواحد على الأقل عن حد التأخر." + +#: lib/Settings.php +msgid "Stale After" +msgstr "اعتبار البيانات قديمة بعد" + +#: lib/Settings.php +msgid "Uninstall" +msgstr "إلغاء التثبيت" + +#: lib/Settings.php +msgid "Keep Plugin Tables on Uninstall" +msgstr "الاحتفاظ بجداول الإضافة عند إلغاء التثبيت" + +#: lib/Settings.php +msgid "When checked, uninstalling the plugin keeps its BMC registry, encrypted passwords, and reading cache. Clear it to have the uninstall drop them. This release creates no Cacti devices, and uninstall never touches devices, graphs, or BMCs." +msgstr "عند تحديده، يحتفظ إلغاء التثبيت بسجل BMC وكلمات المرور المشفرة وذاكرة القراءات المؤقتة. ألغِ تحديده لحذفها. لا ينشئ هذا الإصدار أجهزة Cacti، ولا يمس إلغاء التثبيت الأجهزة أو الرسوم أو وحدات BMC مطلقًا." + +#: lib/TlsMode.php +msgid "Verify against the system CA store" +msgstr "التحقق باستخدام مخزن CA للنظام" + +#: lib/TlsMode.php +msgid "Verify against a CA bundle file" +msgstr "التحقق باستخدام ملف حزمة CA" + +#: lib/TlsMode.php +msgid "Pinned public key (SHA-256)" +msgstr "مفتاح عام مثبت (SHA-256)" + +#: lib/TlsMode.php +msgid "Do not verify (unsafe)" +msgstr "عدم التحقق (غير آمن)" + +#: redfish_bmcs.php +msgid "You do not have access to the Cacti device of this BMC." +msgstr "لا تملك صلاحية الوصول إلى جهاز Cacti الخاص بوحدة BMC هذه." + +#: redfish_bmcs.php +msgid "The BMC could not be saved." +msgstr "تعذر حفظ BMC." + +#: redfish_bmcs.php +msgid "The BMC was saved." +msgstr "حُفظت BMC." + +#: redfish_bmcs.php +msgid "The BMC and its cached data were deleted. Its Cacti device was left in place." +msgstr "حُذفت BMC وبياناتها المؤقتة. حُفظ جهاز Cacti الخاص بها." + +#: redfish_bmcs.php +msgid "Backoff and held failures were cleared; the collector reads the BMC on its next run." +msgstr "مُسحت مهلة التراجع وحالات الفشل المعلقة؛ يقرأ الجامع BMC في تشغيله التالي." + +#: redfish_bmcs.php +msgid "Adding devices and graphs needs Cacti's device management permission." +msgstr "تتطلب إضافة الأجهزة والرسوم صلاحية إدارة أجهزة Cacti." + +#: redfish_bmcs.php +msgid "The device of this BMC was deleted. Choose another device, or none, on the BMC form first." +msgstr "حُذف جهاز BMC هذه. اختر جهازًا آخر أو لا شيء في نموذج BMC أولًا." + +#: redfish_bmcs.php +#, php-format +msgid "The data queries were indexed again and %d graphs were added." +msgstr "أُعيدت فهرسة استعلامات البيانات وأُضيف %d رسمًا." + +#: redfish_bmcs.php +msgid "The device was created with its Redfish graphs." +msgstr "أُنشئ الجهاز مع رسوم Redfish الخاصة به." + +#: redfish_bmcs.php +msgid "Installing the Redfish templates needs Cacti's Import Templates permission." +msgstr "يتطلب تثبيت قوالب Redfish صلاحية استيراد القوالب في Cacti." + +#: redfish_bmcs.php +msgid "The Redfish templates are installed." +msgstr "قوالب Redfish مثبتة." + +#: redfish_bmcs.php +msgid "The Redfish templates could not be installed. The health page shows why." +msgstr "تعذر تثبيت قوالب Redfish. تعرض صفحة السلامة السبب." + +#: redfish_bmcs.php +msgid "The import could not be saved; nothing was imported." +msgstr "تعذر حفظ الاستيراد؛ لم يُستورد شيء." + +#: redfish_bmcs.php +#, php-format +msgid "%d BMCs were imported." +msgstr "استُوردت %d وحدة BMC." + +#: redfish_credentials.php +msgid "This credential is used by a BMC on a Cacti device you do not have access to, so it cannot be changed here." +msgstr "تستخدم بيانات الاعتماد هذه وحدة BMC على جهاز Cacti لا يمكنك الوصول إليه، لذا لا يمكن تعديلها هنا." + +#: redfish_credentials.php +msgid "Name: another credential already uses this name." +msgstr "الاسم: تستخدم بيانات اعتماد أخرى هذا الاسم بالفعل." + +#: redfish_credentials.php +msgid "User Name: enter 1 to 255 characters without control characters." +msgstr "اسم المستخدم: أدخل من 1 إلى 255 حرفًا دون أحرف تحكم." + +#: redfish_credentials.php +msgid "Password: enter the password of the BMC account." +msgstr "كلمة المرور: أدخل كلمة مرور حساب BMC." + +#: redfish_credentials.php +#, php-format +msgid "The credential was saved, but the password was not stored: %s" +msgstr "حُفظت بيانات الاعتماد، لكن كلمة المرور لم تُحفظ: %s" + +#: redfish_credentials.php +msgid "The credential could not be saved." +msgstr "تعذر حفظ بيانات الاعتماد." + +#: redfish_credentials.php +msgid "The credential was saved." +msgstr "حُفظت بيانات الاعتماد." + +#: redfish_credentials.php +msgid "The credential and its stored password were deleted." +msgstr "حُذفت بيانات الاعتماد وكلمة مرورها المحفوظة." + +#: redfish_credentials.php +msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." +msgstr "لم تُحذف بيانات الاعتماد. لا يمكن حذف بيانات اعتماد تستخدمها BMC." + +#: redfish_operator.php +msgid "Retry collection" +msgstr "إعادة محاولة الجمع" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "عرض المراقبة" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "تعذرت قراءة الملاحظات. اطلب من مسؤول مراجعة سجل الإضافة." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." +msgstr "تتطلب إضافة Redfish‏ PHP %s أو أحدث. يعمل الخادم بالإصدار PHP %s، لذا لم تُثبّت الإضافة أو تُفعّل." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires the PHP extensions %s, which this server does not load, so the plugin was not installed or enabled." +msgstr "تتطلب إضافة Redfish امتدادات PHP‏ %s التي لا يحمّلها هذا الخادم، لذا لم تُثبّت الإضافة أو تُفعّل." + +#: setup.php +msgid "Redfish" +msgstr "Redfish" + +#: setup.php +msgid "The Redfish plugin is not enabled." +msgstr "إضافة Redfish غير مفعّلة." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later." +msgstr "تتطلب إضافة Redfish‏ PHP %s أو أحدث." + +#: setup.php +msgid "Management" +msgstr "الإدارة" diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot index 4431455..02d829b 100644 --- a/locales/po/cacti.pot +++ b/locales/po/cacti.pot @@ -16,6 +16,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "" + #: lib/BmcImport.php msgid "The file is empty or larger than 1 MiB." msgstr "" @@ -136,7 +140,7 @@ msgstr "" msgid "Redfish BMCs" msgstr "" -#: lib/BmcsPage.php lib/CredentialsPage.php +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php msgid "Actions" msgstr "" @@ -164,7 +168,7 @@ msgstr "" msgid "Port" msgstr "" -#: lib/BmcsPage.php +#: lib/BmcsPage.php lib/OperatorPage.php msgid "State" msgstr "" @@ -516,7 +520,7 @@ msgstr "" msgid "The collector has not run yet." msgstr "" -#: lib/HealthPage.php +#: lib/HealthPage.php lib/OperatorPage.php msgid "Never" msgstr "" @@ -656,6 +660,46 @@ msgstr "" msgid "%d days ago" msgstr "" +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "" + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "" + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "" + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "" + #: lib/Pages.php msgid "Redfish View" msgstr "" @@ -888,6 +932,18 @@ msgstr "" msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." msgstr "" +#: redfish_operator.php +msgid "Retry collection" +msgstr "" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "" + #: setup.php #, php-format msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." diff --git a/locales/po/es-419.po b/locales/po/es-419.po new file mode 100644 index 0000000..8fd6664 --- /dev/null +++ b/locales/po/es-419.po @@ -0,0 +1,970 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +# +msgid "" +msgstr "" +"Project-Id-Version: redfish 0.1.0-dev\n" +"Report-Msgid-Bugs-To: https://github.com/somethingwithproof/plugin_redfish/issues\n" +"PO-Revision-Date: 2026-11-17 00:00+0000\n" +"Last-Translator: Thomas Vincent \n" +"Language-Team: Thomas Vincent \n" +"Language: es-419\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "Compruebe la actualidad de la recopilación y los gráficos del dispositivo. Reintentar libera la retención para la próxima ejecución programada; no contacta ahora con el BMC." + +#: lib/BmcImport.php +msgid "The file is empty or larger than 1 MiB." +msgstr "El archivo está vacío o supera 1 MiB." + +#: lib/BmcImport.php +msgid "The file could not be read." +msgstr "No se pudo leer el archivo." + +#: lib/BmcImport.php +msgid "The file has no header row." +msgstr "El archivo no tiene fila de cabecera." + +#: lib/BmcImport.php +#, php-format +msgid "The file has a column named \"%s\". Import files must not carry secrets; name a stored credential in the credential column instead. Nothing was imported." +msgstr "El archivo tiene una columna «%s». Los archivos de importación no deben contener secretos; indique una credencial guardada en la columna credential. No se importó nada." + +#: lib/BmcImport.php +#, php-format +msgid "The header must name only these columns, each once, including name, address, and credential: %s." +msgstr "La cabecera solo debe incluir estas columnas, una vez cada una, incluidas name, address y credential: %s." + +#: lib/BmcImport.php +#, php-format +msgid "The file has more than %d rows." +msgstr "El archivo tiene más de %d filas." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: expected %d fields, found %d." +msgstr "Línea %d: se esperaban %d campos y se encontraron %d." + +#: lib/BmcImport.php +#, php-format +msgid "Credential: no stored credential is named \"%s\"." +msgstr "Credencial: no hay ninguna credencial guardada llamada «%s»." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: %s" +msgstr "Línea %d: %s" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the address %s port %d is already registered as %s." +msgstr "Línea %d: la dirección %s y el puerto %d ya están registrados como %s." + +#: lib/BmcImport.php +#, php-format +msgid "line %d" +msgstr "línea %d" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the name %s is already used." +msgstr "Línea %d: el nombre %s ya se está usando." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: no Cacti device has ID %d." +msgstr "Línea %d: no hay ningún dispositivo Cacti con ID %d." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: device %d already has the BMC %s." +msgstr "Línea %d: el dispositivo %d ya tiene el BMC %s." + +#: lib/BmcImport.php +#, php-format +msgid "of line %d" +msgstr "de la línea %d" + +#: lib/BmcImport.php +msgid "The file has no BMC rows." +msgstr "El archivo no contiene filas de BMC." + +#: lib/BmcInput.php redfish_credentials.php +msgid "Name: enter 1 to 100 characters without control characters." +msgstr "Nombre: ingrese de 1 a 100 caracteres sin caracteres de control." + +#: lib/BmcInput.php +msgid "Address: enter a host name or an IP address only, without a scheme, port, path, or user name. Loopback, link-local, multicast, and unspecified addresses are refused." +msgstr "Dirección: ingrese solo un nombre de host o IP, sin esquema, puerto, ruta ni usuario. Se rechazan direcciones de bucle local, enlace local, multidifusión y no especificadas." + +#: lib/BmcInput.php +msgid "Port: enter a TCP port from 1 to 65535." +msgstr "Puerto: ingrese un puerto TCP entre 1 y 65535." + +#: lib/BmcInput.php +msgid "Poller: only the main poller can collect BMCs in this release." +msgstr "Sondeador: en esta versión solo el sondeador principal puede recopilar datos de BMC." + +#: lib/BmcInput.php +msgid "Device: choose a Cacti device or none." +msgstr "Dispositivo: elija un dispositivo Cacti o ninguno." + +#: lib/BmcInput.php lib/BmcsPage.php +msgid "Credential: choose a stored credential." +msgstr "Credencial: elija una credencial guardada." + +#: lib/BmcInput.php +msgid "TLS Verification: choose one of the listed modes." +msgstr "Verificación TLS: elija uno de los modos enumerados." + +#: lib/BmcInput.php +msgid "CA Bundle File: enter an absolute path without control characters, at most 512 characters." +msgstr "Archivo de CA: ingrese una ruta absoluta de hasta 512 caracteres, sin caracteres de control." + +#: lib/BmcInput.php +msgid "Public Key Pin: enter the base64 SHA-256 hash of the BMC public key, optionally prefixed with sha256//." +msgstr "Huella de clave pública: ingrese el hash SHA-256 en base64 de la clave pública del BMC, opcionalmente con el prefijo sha256//." + +#: lib/BmcRepository.php +msgid "another BMC" +msgstr "otro BMC" + +#: lib/BmcsPage.php lib/Pages.php +msgid "Redfish BMCs" +msgstr "BMC Redfish" + +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php +msgid "Actions" +msgstr "Acciones" + +#: lib/BmcsPage.php +msgid "Address" +msgstr "Dirección" + +#: lib/BmcsPage.php +msgid "Basic Fallback" +msgstr "Alternativa de autenticación básica" + +#: lib/BmcsPage.php +msgid "Credential" +msgstr "Credencial" + +#: lib/BmcsPage.php +msgid "Device" +msgstr "Dispositivo" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Name" +msgstr "Nombre" + +#: lib/BmcsPage.php +msgid "Port" +msgstr "Puerto" + +#: lib/BmcsPage.php lib/OperatorPage.php +msgid "State" +msgstr "Estado" + +#: lib/BmcsPage.php +msgid "TLS Verification" +msgstr "Verificación TLS" + +#: lib/BmcsPage.php lib/HealthPage.php +msgid "No BMCs yet." +msgstr "Aún no hay BMC." + +#: lib/BmcsPage.php +msgid "Missing" +msgstr "Ausente" + +#: lib/BmcsPage.php +msgid "Allowed" +msgstr "Permitido" + +#: lib/BmcsPage.php +msgid "Off" +msgstr "Desactivado" + +#: lib/BmcsPage.php +msgid "Disabled" +msgstr "Desactivado" + +#: lib/BmcsPage.php +msgid "Enabled" +msgstr "Activado" + +#: lib/BmcsPage.php +msgid "Retry Now" +msgstr "Reintentar ahora" + +#: lib/BmcsPage.php +msgid "Add Graphs" +msgstr "Agregar gráficos" + +#: lib/BmcsPage.php +msgid "Create Device" +msgstr "Crear dispositivo" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Delete" +msgstr "Eliminar" + +#: lib/BmcsPage.php +msgid "Export the BMC registry as JSON (no secrets)" +msgstr "Exportar el registro de BMC como JSON (sin secretos)" + +#: lib/BmcsPage.php +msgid "Reinstall the Redfish Templates" +msgstr "Reinstalar las plantillas Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Add Redfish graphs for %s" +msgstr "Agregar gráficos Redfish para %s" + +#: lib/BmcsPage.php +#, php-format +msgid "Create a Cacti device for %s" +msgstr "Crear un dispositivo Cacti para %s" + +#: lib/BmcsPage.php +msgid "Everything is already in place. Confirming indexes the data queries again and adds graphs for new members only." +msgstr "Todo está ya preparado. Confirmar reindexa las consultas y agrega gráficos solo para los miembros nuevos." + +#: lib/BmcsPage.php +msgid "Confirming adds:" +msgstr "Al confirmar se agrega:" + +#: lib/BmcsPage.php +msgid "Existing devices, graphs, and thresholds are not changed." +msgstr "No se modifican los dispositivos, gráficos ni umbrales existentes." + +#: lib/BmcsPage.php +msgid "Confirm" +msgstr "Confirmar" + +#: lib/BmcsPage.php +msgid "Cancel" +msgstr "Cancelar" + +#: lib/BmcsPage.php +msgid "Import BMCs" +msgstr "Importar BMC" + +#: lib/BmcsPage.php +msgid "CSV File" +msgstr "Archivo CSV" + +#: lib/BmcsPage.php +#, php-format +msgid "Header row with columns: %s. Name a stored credential; never put a password in the file. Every row must be valid or nothing is imported." +msgstr "Fila de cabecera con columnas: %s. Indique una credencial guardada; nunca incluya contraseñas. Todas las filas deben ser válidas o no se importa nada." + +#: lib/BmcsPage.php +msgid "Import" +msgstr "Importar" + +#: lib/BmcsPage.php +msgid "Choose a credential" +msgstr "Elegir una credencial" + +#: lib/BmcsPage.php +msgid "None" +msgstr "Ninguno" + +#: lib/BmcsPage.php +#, php-format +msgid "Deleted device (ID %d)" +msgstr "Dispositivo eliminado (ID %d)" + +#: lib/BmcsPage.php +msgid "New Redfish BMC" +msgstr "Nuevo BMC Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Redfish BMC: %s" +msgstr "BMC Redfish: %s" + +#: lib/BmcsPage.php +msgid "Host name or IP address of the BMC, without https:// or a path." +msgstr "Nombre de host o IP del BMC, sin https:// ni ruta." + +#: lib/BmcsPage.php +msgid "Do not verify is logged when set and shown as a warning on the health page while it stays." +msgstr "No verificar se registra al configurarlo y aparece como advertencia en la página de estado mientras permanezca activo." + +#: lib/BmcsPage.php +msgid "CA Bundle File" +msgstr "Archivo de certificados CA" + +#: lib/BmcsPage.php +msgid "For the CA bundle mode: absolute path on the poller to a PEM file that others cannot write." +msgstr "Para el modo de certificados CA: ruta absoluta en el sondeador a un archivo PEM que otros no puedan escribir." + +#: lib/BmcsPage.php +msgid "For the pinned mode: base64 SHA-256 of the BMC public key, as sha256//... or the bare hash. A changed key fails until this is updated." +msgstr "Para el modo de clave fijada: SHA-256 en base64 de la clave pública del BMC, como sha256//... o solo el hash. Si cambia la clave, fallará hasta actualizarlo." + +#: lib/BmcsPage.php +msgid "Public Key Pin" +msgstr "Huella de clave pública" + +#: lib/BmcsPage.php +msgid "Allow Basic Authentication Fallback" +msgstr "Permitir autenticación básica como alternativa" + +#: lib/BmcsPage.php +msgid "Used only when the BMC offers no session service. Every request then carries the password; the health page warns while it is in use." +msgstr "Solo se usa si el BMC no ofrece servicio de sesiones. Cada solicitud lleva entonces la contraseña; la página de estado avisa mientras se utiliza." + +#: lib/BmcsPage.php +msgid "The Cacti device of the server this BMC manages. Leave it at none to have the plugin create a device from the list." +msgstr "Dispositivo Cacti del servidor que administra este BMC. Déjelo en ninguno para que el complemento cree uno desde la lista." + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Save" +msgstr "Guardar" + +#: lib/BmcsPage.php +#, php-format +msgid "Address: %s port %d is already registered as %s." +msgstr "Dirección: %s y puerto %d ya registrados como %s." + +#: lib/BmcsPage.php +msgid "Address: this address and port are already registered." +msgstr "Dirección: esta dirección y puerto ya están registrados." + +#: lib/BmcsPage.php +msgid "Name: another BMC already uses this name." +msgstr "Nombre: otro BMC ya usa este nombre." + +#: lib/BmcsPage.php +msgid "Device: no Cacti device has this ID." +msgstr "Dispositivo: no hay ningún dispositivo Cacti con este ID." + +#: lib/BmcsPage.php +msgid "Device: another BMC is already mapped to this device." +msgstr "Dispositivo: otro BMC ya está asignado a este dispositivo." + +#: lib/CredentialsPage.php lib/Pages.php +msgid "Redfish Credentials" +msgstr "Credenciales Redfish" + +#: lib/CredentialsPage.php +msgid "Password" +msgstr "Contraseña" + +#: lib/CredentialsPage.php +msgid "Used By" +msgstr "Usada por" + +#: lib/CredentialsPage.php +msgid "User Name" +msgstr "Nombre de usuario" + +#: lib/CredentialsPage.php +msgid "No credentials yet. Create one with a read-only BMC account." +msgstr "Aún no hay credenciales. Cree una con una cuenta BMC de solo lectura." + +#: lib/CredentialsPage.php +msgid "None stored" +msgstr "Ninguna guardada" + +#: lib/CredentialsPage.php +msgid "Stored" +msgstr "Guardada" + +#: lib/CredentialsPage.php +#, php-format +msgid "%d BMCs" +msgstr "%d BMC" + +#: lib/CredentialsPage.php +msgid "New Redfish Credential" +msgstr "Nueva credencial Redfish" + +#: lib/CredentialsPage.php +#, php-format +msgid "Redfish Credential: %s" +msgstr "Credencial Redfish: %s" + +#: lib/CredentialsPage.php +msgid "A BMC account with the ReadOnly role. The plugin never needs a role that can change BMC state." +msgstr "Cuenta BMC con el rol ReadOnly. El complemento nunca necesita un rol que pueda cambiar el estado del BMC." + +#: lib/CredentialsPage.php +msgid "A password is stored. Leave blank to keep it." +msgstr "Hay una contraseña guardada. Déjelo en blanco para conservarla." + +#: lib/CredentialsPage.php +msgid "Stored encrypted with the vault key." +msgstr "Se guarda cifrada con la clave de la bóveda." + +#: lib/DeviceProvisioner.php +msgid "The Redfish templates are not installed completely. Reinstall them from the Redfish BMCs page." +msgstr "Las plantillas Redfish no están completamente instaladas. Reinstálelas desde la página de BMC Redfish." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "A device \"%s\" from the %s device template, polled by poller %d, with availability checks off. Its host name is a reserved name that is never contacted." +msgstr "Un dispositivo «%s» de la plantilla %s, sondeado por %d y con las comprobaciones de disponibilidad desactivadas. Su nombre de host está reservado y nunca se contacta." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The data query \"%s\", with a graph for each of the %d members known now." +msgstr "La consulta de datos «%s», con un gráfico para cada uno de los %d miembros conocidos ahora." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "%d fans or power supplies that were present are no longer reported. They count as failed until you confirm; confirming accepts the members the BMC reports now." +msgstr "Ya no se notifican %d ventiladores o fuentes que antes estaban presentes. Se cuentan como fallidos hasta que confirme; confirmar acepta los miembros que el BMC notifica ahora." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The graph \"%s\", with its \"%s\" data source." +msgstr "El gráfico «%s», con su fuente de datos «%s»." + +#: lib/DeviceProvisioner.php +msgid "The BMC is already mapped to a device." +msgstr "El BMC ya está asignado a un dispositivo." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "Created by the Redfish plugin for BMC %s. Its values come from the plugin cache; the host name is a reserved name that is never contacted." +msgstr "Creado por Redfish para el BMC %s. Los valores proceden de la caché del complemento; el nombre de host está reservado y nunca se contacta." + +#: lib/DeviceProvisioner.php +msgid "Cacti refused to create the device. See the Cacti log." +msgstr "Cacti rechazó la creación del dispositivo. Consulte su registro." + +#: lib/DeviceProvisioner.php +msgid "The new device would be hidden from you by your device permissions, so it was removed again. Ask an administrator to grant access, or map the BMC to a device you can see." +msgstr "Sus permisos ocultarían el dispositivo nuevo, por lo que se eliminó. Pida acceso a un administrador o asigne el BMC a un dispositivo que pueda ver." + +#: lib/DeviceProvisioner.php +msgid "The BMC was mapped to a device by someone else meanwhile, or could not be mapped, so the new device was removed again. Reload the page and check its mapping." +msgstr "Otra persona asignó el BMC mientras tanto, o no se pudo asignar, así que se eliminó el dispositivo nuevo. Recargue y compruebe la asignación." + +#: lib/DeviceWarnings.php +#, php-format +msgid "The Redfish templates could not be installed: %s" +msgstr "No se pudieron instalar las plantillas Redfish: %s" + +#: lib/DeviceWarnings.php +msgid "The Redfish templates are not installed or not current. Reinstall them from the Redfish BMCs page." +msgstr "Las plantillas Redfish no están instaladas o no están actualizadas. Reinstálelas desde la página de BMC Redfish." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its Cacti device was deleted. Map it to another device or create one from the BMCs page." +msgstr "%s: se eliminó su dispositivo Cacti. Asígnelo a otro o cree uno desde la página de BMC." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its device is polled by poller %d but the BMC is read by poller %d. Move one of them so both use the same poller, or its graphs can read as unknown." +msgstr "%s: su dispositivo usa el sondeador %d, pero el BMC lo lee el sondeador %d. Mueva uno para que ambos usen el mismo, o los gráficos pueden mostrar valores desconocidos." + +#: lib/GraphLinks.php +msgid "Redfish graphs of this device" +msgstr "Gráficos Redfish de este dispositivo" + +#: lib/HealthPage.php +msgid "Redfish Warnings" +msgstr "Advertencias Redfish" + +#: lib/HealthPage.php +msgid "No warnings." +msgstr "Sin advertencias." + +#: lib/HealthPage.php +msgid "Redfish Collector" +msgstr "Recopilador Redfish" + +#: lib/HealthPage.php +msgid "BMCs" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Duration / Interval" +msgstr "Duración / intervalo" + +#: lib/HealthPage.php +msgid "Last Run" +msgstr "Última ejecución" + +#: lib/HealthPage.php +msgid "Poller" +msgstr "Sondeador" + +#: lib/HealthPage.php +msgid "Read" +msgstr "Leído" + +#: lib/HealthPage.php +msgid "Requests per BMC" +msgstr "Solicitudes por BMC" + +#: lib/HealthPage.php +msgid "Workers" +msgstr "Procesos de trabajo" + +#: lib/HealthPage.php +msgid "The collector has not run yet." +msgstr "El recopilador aún no se ha ejecutado." + +#: lib/HealthPage.php lib/OperatorPage.php +msgid "Never" +msgstr "Nunca" + +#: lib/HealthPage.php +msgid "Redfish BMC Status" +msgstr "Estado de BMC Redfish" + +#: lib/HealthPage.php +msgid "Authentication" +msgstr "Autenticación" + +#: lib/HealthPage.php +msgid "BMC" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Data" +msgstr "Datos" + +#: lib/HealthPage.php +msgid "Discovery" +msgstr "Descubrimiento" + +#: lib/HealthPage.php +msgid "Failure" +msgstr "Fallo" + +#: lib/HealthPage.php +msgid "Last Success" +msgstr "Último éxito" + +#: lib/HealthPage.php +msgid "Mean Latency" +msgstr "Latencia media" + +#: lib/HealthPage.php +msgid "Reachability" +msgstr "Accesibilidad" + +#: lib/HealthPage.php +msgid "Requests" +msgstr "Solicitudes" + +#: lib/HealthPage.php +msgid "Source" +msgstr "Origen" + +#: lib/HealthPage.php +#, php-format +msgid "newest %s" +msgstr "más reciente %s" + +#: lib/HealthPage.php +msgid "disabled" +msgstr "desactivado" + +#: lib/HealthPage.php +msgid "ok" +msgstr "correcto" + +#: lib/HealthPage.php +msgid "stale" +msgstr "obsoleto" + +#: lib/HealthWarnings.php +#, php-format +msgid "The vault key file cannot be used: %s. Stored passwords cannot be read or written until it is fixed." +msgstr "No se puede usar el archivo de clave de la bóveda: %s. Hasta corregirlo no se pueden leer ni guardar contraseñas." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d took %.0f seconds, more than its budget of %d seconds." +msgstr "El recopilador del sondeador %d tardó %.0f segundos, más que su presupuesto de %d segundos." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d ran out of time before every BMC was read; the rest resume on the next run. Add workers or raise the budget." +msgstr "El recopilador del sondeador %d agotó el tiempo antes de leer todos los BMC; los restantes continúan en la próxima ejecución. Agregue procesos o aumente el presupuesto." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d last ran %s." +msgstr "El recopilador del sondeador %d se ejecutó por última vez %s." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: TLS verification is off. Anyone on the path can read its traffic, including the BMC password." +msgstr "%s: la verificación TLS está desactivada. Cualquiera en el trayecto puede leer el tráfico, incluida la contraseña del BMC." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: uses Basic authentication because the BMC offers no session service; every request carries the password." +msgstr "%s: usa autenticación básica porque el BMC no ofrece sesiones; cada solicitud lleva la contraseña." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: a session may have been left open on the BMC; the next run deletes it after logging in." +msgstr "%s: puede haber quedado una sesión abierta en el BMC; la próxima ejecución la elimina después de iniciar sesión." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d session logins in a row lost their response, so logins stopped. Check the BMC session list, then use Retry Now." +msgstr "%s: se perdieron las respuestas de %d inicios de sesión seguidos y se detuvieron los accesos. Revise la lista de sesiones del BMC y use Reintentar ahora." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: the BMC rejected the credential. It is not tried again until the credential changes." +msgstr "%s: el BMC rechazó la credencial. No se reintenta hasta que cambie." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: its credential is missing or has no stored password." +msgstr "%s: falta su credencial o no tiene contraseña guardada." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d links in its responses pointed elsewhere and were ignored." +msgstr "%s: se ignoraron %d enlaces de sus respuestas que apuntaban a otros lugares." + +#: lib/Html.php +#, php-format +msgid "%d seconds ago" +msgstr "Hace %d segundos" + +#: lib/Html.php +#, php-format +msgid "%d minutes ago" +msgstr "Hace %d minutos" + +#: lib/Html.php +#, php-format +msgid "%d hours ago" +msgstr "Hace %d horas" + +#: lib/Html.php +#, php-format +msgid "%d days ago" +msgstr "Hace %d días" + +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "Revise las observaciones registradas a continuación. Los acuses de recibo son personales y exclusivos de esta sesión, caducan cuando cambian las observaciones y no suprimen alertas ni modifican el estado de salud." + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "Operaciones Redfish" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "Investigación" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "Objeto" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "Observado (UTC)" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "Desconocido o desactualizado" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "Acuse de recibo registrado; estado de salud sin cambios." + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "Acusar recibo" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "No hay observaciones disponibles para los dispositivos a los que tiene acceso." + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "Operador Redfish" + +#: lib/Pages.php +msgid "Redfish View" +msgstr "Vista Redfish" + +#: lib/Pages.php +msgid "Redfish Admin" +msgstr "Administración Redfish" + +#: lib/Pages.php +msgid "Redfish Health" +msgstr "Estado de Redfish" + +#: lib/Settings.php +#, php-format +msgid "%s Default %d, from %d to %d." +msgstr "%s Predeterminado %d, de %d a %d." + +#: lib/Settings.php +msgid "Credential Vault" +msgstr "Bóveda de credenciales" + +#: lib/Settings.php +msgid "Vault Key File" +msgstr "Archivo de clave de la bóveda" + +#: lib/Settings.php +msgid "Absolute path to the 32-byte key that encrypts stored BMC passwords. Create it yourself, outside the web root, readable only by the web server and poller user, in a directory that only root and that user can write; the plugin never creates or writes it. Back it up with the database: without it, stored passwords must be entered again." +msgstr "Ruta absoluta de la clave de 32 bytes que cifra las contraseñas BMC. Créela fuera de la raíz web, legible solo por el servidor web y el usuario del sondeador, en un directorio donde solo root y ese usuario puedan escribir. El complemento nunca la crea ni escribe. Respáldela con la base de datos: sin ella deberá volver a introducir las contraseñas." + +#: lib/Settings.php +msgid "Collector" +msgstr "Recopilador" + +#: lib/Settings.php +msgid "Collection Interval" +msgstr "Intervalo de recopilación" + +#: lib/Settings.php +msgid "Seconds between reads of each BMC." +msgstr "Segundos entre lecturas de cada BMC." + +#: lib/Settings.php +msgid "Rediscovery Interval" +msgstr "Intervalo de redescubrimiento" + +#: lib/Settings.php +msgid "Seconds between full resource discoveries of each BMC. A BMC is also rediscovered at once when a known resource disappears or changes type." +msgstr "Segundos entre descubrimientos completos de recursos de cada BMC. También se redescubre inmediatamente si un recurso conocido desaparece o cambia de tipo." + +#: lib/Settings.php +msgid "Collector Time Budget" +msgstr "Presupuesto de tiempo del recopilador" + +#: lib/Settings.php +msgid "Seconds one collector run may spend before it stops starting new BMCs. Keep it below the poller interval; unfinished BMCs resume on the next run." +msgstr "Segundos disponibles para una ejecución antes de dejar de iniciar BMC nuevos. Manténgalos por debajo del intervalo de sondeo; los BMC incompletos continúan en la próxima ejecución." + +#: lib/Settings.php +msgid "BMCs read in parallel. Each BMC is read by one worker at a time." +msgstr "BMC leídos en paralelo. Cada BMC lo lee un solo proceso a la vez." + +#: lib/Settings.php +msgid "Collector Workers" +msgstr "Procesos del recopilador" + +#: lib/Settings.php +msgid "Connect Timeout" +msgstr "Tiempo de espera de conexión" + +#: lib/Settings.php +msgid "Seconds allowed for the TCP connection and TLS handshake to a BMC." +msgstr "Segundos permitidos para conectar por TCP y negociar TLS con un BMC." + +#: lib/Settings.php +msgid "Request Timeout" +msgstr "Tiempo de espera de solicitud" + +#: lib/Settings.php +msgid "Seconds allowed for one whole request to a BMC, including the connection." +msgstr "Segundos permitidos para una solicitud completa al BMC, incluida la conexión." + +#: lib/Settings.php +msgid "KiB accepted in one BMC response body; a larger response is refused." +msgstr "KiB aceptados en el cuerpo de una respuesta BMC; se rechazan respuestas mayores." + +#: lib/Settings.php +msgid "Maximum Response Size" +msgstr "Tamaño máximo de respuesta" + +#: lib/Settings.php +msgid "Freshness" +msgstr "Actualidad" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is shown as delayed." +msgstr "Intervalos de recopilación tras los cuales una lectura se muestra retrasada." + +#: lib/Settings.php +msgid "Delayed After" +msgstr "Marcar retrasado tras" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is stale and reads as unknown. Always at least one more than Delayed After." +msgstr "Intervalos tras los que una lectura queda obsoleta y se lee como desconocida. Siempre al menos uno más que Marcar retrasado tras." + +#: lib/Settings.php +msgid "Stale After" +msgstr "Considerar obsoleto tras" + +#: lib/Settings.php +msgid "Uninstall" +msgstr "Desinstalar" + +#: lib/Settings.php +msgid "Keep Plugin Tables on Uninstall" +msgstr "Conservar tablas al desinstalar" + +#: lib/Settings.php +msgid "When checked, uninstalling the plugin keeps its BMC registry, encrypted passwords, and reading cache. Clear it to have the uninstall drop them. This release creates no Cacti devices, and uninstall never touches devices, graphs, or BMCs." +msgstr "Si está marcado, se conservan el registro BMC, las contraseñas cifradas y la caché de lecturas al desinstalar. Desmárquelo para eliminarlos. Esta versión no crea dispositivos Cacti y la desinstalación nunca toca dispositivos, gráficos ni BMC." + +#: lib/TlsMode.php +msgid "Verify against the system CA store" +msgstr "Verificar con el almacén CA del sistema" + +#: lib/TlsMode.php +msgid "Verify against a CA bundle file" +msgstr "Verificar con un archivo de certificados CA" + +#: lib/TlsMode.php +msgid "Pinned public key (SHA-256)" +msgstr "Clave pública fijada (SHA-256)" + +#: lib/TlsMode.php +msgid "Do not verify (unsafe)" +msgstr "No verificar (inseguro)" + +#: redfish_bmcs.php +msgid "You do not have access to the Cacti device of this BMC." +msgstr "No tiene acceso al dispositivo Cacti de este BMC." + +#: redfish_bmcs.php +msgid "The BMC could not be saved." +msgstr "No se pudo guardar el BMC." + +#: redfish_bmcs.php +msgid "The BMC was saved." +msgstr "Se guardó el BMC." + +#: redfish_bmcs.php +msgid "The BMC and its cached data were deleted. Its Cacti device was left in place." +msgstr "Se eliminaron el BMC y su caché. Se conservó su dispositivo Cacti." + +#: redfish_bmcs.php +msgid "Backoff and held failures were cleared; the collector reads the BMC on its next run." +msgstr "Se borraron la espera progresiva y los fallos retenidos; el recopilador leerá el BMC en la próxima ejecución." + +#: redfish_bmcs.php +msgid "Adding devices and graphs needs Cacti's device management permission." +msgstr "Agregar dispositivos y gráficos requiere el permiso de gestión de dispositivos Cacti." + +#: redfish_bmcs.php +msgid "The device of this BMC was deleted. Choose another device, or none, on the BMC form first." +msgstr "Se eliminó el dispositivo de este BMC. Elija primero otro dispositivo o ninguno en su formulario." + +#: redfish_bmcs.php +#, php-format +msgid "The data queries were indexed again and %d graphs were added." +msgstr "Se reindexaron las consultas y se agregaron %d gráficos." + +#: redfish_bmcs.php +msgid "The device was created with its Redfish graphs." +msgstr "Se creó el dispositivo con sus gráficos Redfish." + +#: redfish_bmcs.php +msgid "Installing the Redfish templates needs Cacti's Import Templates permission." +msgstr "Instalar las plantillas Redfish requiere el permiso Importar plantillas de Cacti." + +#: redfish_bmcs.php +msgid "The Redfish templates are installed." +msgstr "Las plantillas Redfish están instaladas." + +#: redfish_bmcs.php +msgid "The Redfish templates could not be installed. The health page shows why." +msgstr "No se pudieron instalar las plantillas Redfish. La página de estado muestra el motivo." + +#: redfish_bmcs.php +msgid "The import could not be saved; nothing was imported." +msgstr "No se pudo guardar la importación; no se importó nada." + +#: redfish_bmcs.php +#, php-format +msgid "%d BMCs were imported." +msgstr "Se importaron %d BMC." + +#: redfish_credentials.php +msgid "This credential is used by a BMC on a Cacti device you do not have access to, so it cannot be changed here." +msgstr "Esta credencial la usa un BMC de un dispositivo Cacti al que no tiene acceso, por lo que no puede cambiarse aquí." + +#: redfish_credentials.php +msgid "Name: another credential already uses this name." +msgstr "Nombre: otra credencial ya usa este nombre." + +#: redfish_credentials.php +msgid "User Name: enter 1 to 255 characters without control characters." +msgstr "Nombre de usuario: ingrese de 1 a 255 caracteres sin caracteres de control." + +#: redfish_credentials.php +msgid "Password: enter the password of the BMC account." +msgstr "Contraseña: ingrese la contraseña de la cuenta BMC." + +#: redfish_credentials.php +#, php-format +msgid "The credential was saved, but the password was not stored: %s" +msgstr "Se guardó la credencial, pero no la contraseña: %s" + +#: redfish_credentials.php +msgid "The credential could not be saved." +msgstr "No se pudo guardar la credencial." + +#: redfish_credentials.php +msgid "The credential was saved." +msgstr "Se guardó la credencial." + +#: redfish_credentials.php +msgid "The credential and its stored password were deleted." +msgstr "Se eliminaron la credencial y su contraseña guardada." + +#: redfish_credentials.php +msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." +msgstr "No se eliminó la credencial. No se puede eliminar una que esté usando un BMC." + +#: redfish_operator.php +msgid "Retry collection" +msgstr "Reintentar recopilación" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "Vista de supervisión" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "No se pudieron leer las observaciones. Pida a un administrador que revise el registro del complemento." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." +msgstr "El complemento Redfish requiere PHP %s o posterior. Este servidor ejecuta PHP %s, por lo que no se instaló ni activó." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires the PHP extensions %s, which this server does not load, so the plugin was not installed or enabled." +msgstr "Redfish requiere las extensiones PHP %s, que este servidor no carga, por lo que no se instaló ni activó." + +#: setup.php +msgid "Redfish" +msgstr "Redfish" + +#: setup.php +msgid "The Redfish plugin is not enabled." +msgstr "El complemento Redfish no está activado." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later." +msgstr "El complemento Redfish requiere PHP %s o posterior." + +#: setup.php +msgid "Management" +msgstr "Gestión" diff --git a/locales/po/es-ES.po b/locales/po/es-ES.po new file mode 100644 index 0000000..8d9fb0b --- /dev/null +++ b/locales/po/es-ES.po @@ -0,0 +1,970 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +# +msgid "" +msgstr "" +"Project-Id-Version: redfish 0.1.0-dev\n" +"Report-Msgid-Bugs-To: https://github.com/somethingwithproof/plugin_redfish/issues\n" +"PO-Revision-Date: 2026-11-17 00:00+0000\n" +"Last-Translator: Thomas Vincent \n" +"Language-Team: Thomas Vincent \n" +"Language: es-ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "Compruebe la actualidad de la recopilación y los gráficos del dispositivo. Reintentar libera la retención para la próxima ejecución programada; no contacta ahora con el BMC." + +#: lib/BmcImport.php +msgid "The file is empty or larger than 1 MiB." +msgstr "El archivo está vacío o supera 1 MiB." + +#: lib/BmcImport.php +msgid "The file could not be read." +msgstr "No se pudo leer el archivo." + +#: lib/BmcImport.php +msgid "The file has no header row." +msgstr "El archivo no tiene fila de cabecera." + +#: lib/BmcImport.php +#, php-format +msgid "The file has a column named \"%s\". Import files must not carry secrets; name a stored credential in the credential column instead. Nothing was imported." +msgstr "El archivo tiene una columna «%s». Los archivos de importación no deben contener secretos; indique una credencial guardada en la columna credential. No se importó nada." + +#: lib/BmcImport.php +#, php-format +msgid "The header must name only these columns, each once, including name, address, and credential: %s." +msgstr "La cabecera solo debe incluir estas columnas, una vez cada una, incluidas name, address y credential: %s." + +#: lib/BmcImport.php +#, php-format +msgid "The file has more than %d rows." +msgstr "El archivo tiene más de %d filas." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: expected %d fields, found %d." +msgstr "Línea %d: se esperaban %d campos y se encontraron %d." + +#: lib/BmcImport.php +#, php-format +msgid "Credential: no stored credential is named \"%s\"." +msgstr "Credencial: no hay ninguna credencial guardada llamada «%s»." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: %s" +msgstr "Línea %d: %s" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the address %s port %d is already registered as %s." +msgstr "Línea %d: la dirección %s y el puerto %d ya están registrados como %s." + +#: lib/BmcImport.php +#, php-format +msgid "line %d" +msgstr "línea %d" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the name %s is already used." +msgstr "Línea %d: el nombre %s ya se está usando." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: no Cacti device has ID %d." +msgstr "Línea %d: no hay ningún dispositivo Cacti con ID %d." + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: device %d already has the BMC %s." +msgstr "Línea %d: el dispositivo %d ya tiene el BMC %s." + +#: lib/BmcImport.php +#, php-format +msgid "of line %d" +msgstr "de la línea %d" + +#: lib/BmcImport.php +msgid "The file has no BMC rows." +msgstr "El archivo no contiene filas de BMC." + +#: lib/BmcInput.php redfish_credentials.php +msgid "Name: enter 1 to 100 characters without control characters." +msgstr "Nombre: introduzca de 1 a 100 caracteres sin caracteres de control." + +#: lib/BmcInput.php +msgid "Address: enter a host name or an IP address only, without a scheme, port, path, or user name. Loopback, link-local, multicast, and unspecified addresses are refused." +msgstr "Dirección: introduzca solo un nombre de host o IP, sin esquema, puerto, ruta ni usuario. Se rechazan direcciones de bucle local, enlace local, multidifusión y no especificadas." + +#: lib/BmcInput.php +msgid "Port: enter a TCP port from 1 to 65535." +msgstr "Puerto: introduzca un puerto TCP entre 1 y 65535." + +#: lib/BmcInput.php +msgid "Poller: only the main poller can collect BMCs in this release." +msgstr "Sondeador: en esta versión solo el sondeador principal puede recopilar datos de BMC." + +#: lib/BmcInput.php +msgid "Device: choose a Cacti device or none." +msgstr "Dispositivo: elija un dispositivo Cacti o ninguno." + +#: lib/BmcInput.php lib/BmcsPage.php +msgid "Credential: choose a stored credential." +msgstr "Credencial: elija una credencial guardada." + +#: lib/BmcInput.php +msgid "TLS Verification: choose one of the listed modes." +msgstr "Verificación TLS: elija uno de los modos enumerados." + +#: lib/BmcInput.php +msgid "CA Bundle File: enter an absolute path without control characters, at most 512 characters." +msgstr "Archivo de CA: introduzca una ruta absoluta de hasta 512 caracteres, sin caracteres de control." + +#: lib/BmcInput.php +msgid "Public Key Pin: enter the base64 SHA-256 hash of the BMC public key, optionally prefixed with sha256//." +msgstr "Huella de clave pública: introduzca el hash SHA-256 en base64 de la clave pública del BMC, opcionalmente con el prefijo sha256//." + +#: lib/BmcRepository.php +msgid "another BMC" +msgstr "otro BMC" + +#: lib/BmcsPage.php lib/Pages.php +msgid "Redfish BMCs" +msgstr "BMC Redfish" + +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php +msgid "Actions" +msgstr "Acciones" + +#: lib/BmcsPage.php +msgid "Address" +msgstr "Dirección" + +#: lib/BmcsPage.php +msgid "Basic Fallback" +msgstr "Alternativa de autenticación básica" + +#: lib/BmcsPage.php +msgid "Credential" +msgstr "Credencial" + +#: lib/BmcsPage.php +msgid "Device" +msgstr "Dispositivo" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Name" +msgstr "Nombre" + +#: lib/BmcsPage.php +msgid "Port" +msgstr "Puerto" + +#: lib/BmcsPage.php lib/OperatorPage.php +msgid "State" +msgstr "Estado" + +#: lib/BmcsPage.php +msgid "TLS Verification" +msgstr "Verificación TLS" + +#: lib/BmcsPage.php lib/HealthPage.php +msgid "No BMCs yet." +msgstr "Aún no hay BMC." + +#: lib/BmcsPage.php +msgid "Missing" +msgstr "Ausente" + +#: lib/BmcsPage.php +msgid "Allowed" +msgstr "Permitido" + +#: lib/BmcsPage.php +msgid "Off" +msgstr "Desactivado" + +#: lib/BmcsPage.php +msgid "Disabled" +msgstr "Desactivado" + +#: lib/BmcsPage.php +msgid "Enabled" +msgstr "Activado" + +#: lib/BmcsPage.php +msgid "Retry Now" +msgstr "Reintentar ahora" + +#: lib/BmcsPage.php +msgid "Add Graphs" +msgstr "Añadir gráficos" + +#: lib/BmcsPage.php +msgid "Create Device" +msgstr "Crear dispositivo" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Delete" +msgstr "Eliminar" + +#: lib/BmcsPage.php +msgid "Export the BMC registry as JSON (no secrets)" +msgstr "Exportar el registro de BMC como JSON (sin secretos)" + +#: lib/BmcsPage.php +msgid "Reinstall the Redfish Templates" +msgstr "Reinstalar las plantillas Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Add Redfish graphs for %s" +msgstr "Añadir gráficos Redfish para %s" + +#: lib/BmcsPage.php +#, php-format +msgid "Create a Cacti device for %s" +msgstr "Crear un dispositivo Cacti para %s" + +#: lib/BmcsPage.php +msgid "Everything is already in place. Confirming indexes the data queries again and adds graphs for new members only." +msgstr "Todo está ya preparado. Confirmar reindexa las consultas y añade gráficos solo para los miembros nuevos." + +#: lib/BmcsPage.php +msgid "Confirming adds:" +msgstr "Al confirmar se añade:" + +#: lib/BmcsPage.php +msgid "Existing devices, graphs, and thresholds are not changed." +msgstr "No se modifican los dispositivos, gráficos ni umbrales existentes." + +#: lib/BmcsPage.php +msgid "Confirm" +msgstr "Confirmar" + +#: lib/BmcsPage.php +msgid "Cancel" +msgstr "Cancelar" + +#: lib/BmcsPage.php +msgid "Import BMCs" +msgstr "Importar BMC" + +#: lib/BmcsPage.php +msgid "CSV File" +msgstr "Archivo CSV" + +#: lib/BmcsPage.php +#, php-format +msgid "Header row with columns: %s. Name a stored credential; never put a password in the file. Every row must be valid or nothing is imported." +msgstr "Fila de cabecera con columnas: %s. Indique una credencial guardada; nunca incluya contraseñas. Todas las filas deben ser válidas o no se importa nada." + +#: lib/BmcsPage.php +msgid "Import" +msgstr "Importar" + +#: lib/BmcsPage.php +msgid "Choose a credential" +msgstr "Elegir una credencial" + +#: lib/BmcsPage.php +msgid "None" +msgstr "Ninguno" + +#: lib/BmcsPage.php +#, php-format +msgid "Deleted device (ID %d)" +msgstr "Dispositivo eliminado (ID %d)" + +#: lib/BmcsPage.php +msgid "New Redfish BMC" +msgstr "Nuevo BMC Redfish" + +#: lib/BmcsPage.php +#, php-format +msgid "Redfish BMC: %s" +msgstr "BMC Redfish: %s" + +#: lib/BmcsPage.php +msgid "Host name or IP address of the BMC, without https:// or a path." +msgstr "Nombre de host o IP del BMC, sin https:// ni ruta." + +#: lib/BmcsPage.php +msgid "Do not verify is logged when set and shown as a warning on the health page while it stays." +msgstr "No verificar se registra al configurarlo y aparece como advertencia en la página de estado mientras permanezca activo." + +#: lib/BmcsPage.php +msgid "CA Bundle File" +msgstr "Archivo de certificados CA" + +#: lib/BmcsPage.php +msgid "For the CA bundle mode: absolute path on the poller to a PEM file that others cannot write." +msgstr "Para el modo de certificados CA: ruta absoluta en el sondeador a un archivo PEM que otros no puedan escribir." + +#: lib/BmcsPage.php +msgid "For the pinned mode: base64 SHA-256 of the BMC public key, as sha256//... or the bare hash. A changed key fails until this is updated." +msgstr "Para el modo de clave fijada: SHA-256 en base64 de la clave pública del BMC, como sha256//... o solo el hash. Si cambia la clave, fallará hasta actualizarlo." + +#: lib/BmcsPage.php +msgid "Public Key Pin" +msgstr "Huella de clave pública" + +#: lib/BmcsPage.php +msgid "Allow Basic Authentication Fallback" +msgstr "Permitir autenticación básica como alternativa" + +#: lib/BmcsPage.php +msgid "Used only when the BMC offers no session service. Every request then carries the password; the health page warns while it is in use." +msgstr "Solo se usa si el BMC no ofrece servicio de sesiones. Cada solicitud lleva entonces la contraseña; la página de estado avisa mientras se utiliza." + +#: lib/BmcsPage.php +msgid "The Cacti device of the server this BMC manages. Leave it at none to have the plugin create a device from the list." +msgstr "Dispositivo Cacti del servidor que administra este BMC. Déjelo en ninguno para que el complemento cree uno desde la lista." + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Save" +msgstr "Guardar" + +#: lib/BmcsPage.php +#, php-format +msgid "Address: %s port %d is already registered as %s." +msgstr "Dirección: %s y puerto %d ya registrados como %s." + +#: lib/BmcsPage.php +msgid "Address: this address and port are already registered." +msgstr "Dirección: esta dirección y puerto ya están registrados." + +#: lib/BmcsPage.php +msgid "Name: another BMC already uses this name." +msgstr "Nombre: otro BMC ya usa este nombre." + +#: lib/BmcsPage.php +msgid "Device: no Cacti device has this ID." +msgstr "Dispositivo: no hay ningún dispositivo Cacti con este ID." + +#: lib/BmcsPage.php +msgid "Device: another BMC is already mapped to this device." +msgstr "Dispositivo: otro BMC ya está asignado a este dispositivo." + +#: lib/CredentialsPage.php lib/Pages.php +msgid "Redfish Credentials" +msgstr "Credenciales Redfish" + +#: lib/CredentialsPage.php +msgid "Password" +msgstr "Contraseña" + +#: lib/CredentialsPage.php +msgid "Used By" +msgstr "Usada por" + +#: lib/CredentialsPage.php +msgid "User Name" +msgstr "Nombre de usuario" + +#: lib/CredentialsPage.php +msgid "No credentials yet. Create one with a read-only BMC account." +msgstr "Aún no hay credenciales. Cree una con una cuenta BMC de solo lectura." + +#: lib/CredentialsPage.php +msgid "None stored" +msgstr "Ninguna guardada" + +#: lib/CredentialsPage.php +msgid "Stored" +msgstr "Guardada" + +#: lib/CredentialsPage.php +#, php-format +msgid "%d BMCs" +msgstr "%d BMC" + +#: lib/CredentialsPage.php +msgid "New Redfish Credential" +msgstr "Nueva credencial Redfish" + +#: lib/CredentialsPage.php +#, php-format +msgid "Redfish Credential: %s" +msgstr "Credencial Redfish: %s" + +#: lib/CredentialsPage.php +msgid "A BMC account with the ReadOnly role. The plugin never needs a role that can change BMC state." +msgstr "Cuenta BMC con el rol ReadOnly. El complemento nunca necesita un rol que pueda cambiar el estado del BMC." + +#: lib/CredentialsPage.php +msgid "A password is stored. Leave blank to keep it." +msgstr "Hay una contraseña guardada. Déjelo en blanco para conservarla." + +#: lib/CredentialsPage.php +msgid "Stored encrypted with the vault key." +msgstr "Se guarda cifrada con la clave de la bóveda." + +#: lib/DeviceProvisioner.php +msgid "The Redfish templates are not installed completely. Reinstall them from the Redfish BMCs page." +msgstr "Las plantillas Redfish no están completamente instaladas. Reinstálelas desde la página de BMC Redfish." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "A device \"%s\" from the %s device template, polled by poller %d, with availability checks off. Its host name is a reserved name that is never contacted." +msgstr "Un dispositivo «%s» de la plantilla %s, sondeado por %d y con las comprobaciones de disponibilidad desactivadas. Su nombre de host está reservado y nunca se contacta." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The data query \"%s\", with a graph for each of the %d members known now." +msgstr "La consulta de datos «%s», con un gráfico para cada uno de los %d miembros conocidos ahora." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "%d fans or power supplies that were present are no longer reported. They count as failed until you confirm; confirming accepts the members the BMC reports now." +msgstr "Ya no se notifican %d ventiladores o fuentes que antes estaban presentes. Se cuentan como fallidos hasta que confirme; confirmar acepta los miembros que el BMC notifica ahora." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The graph \"%s\", with its \"%s\" data source." +msgstr "El gráfico «%s», con su fuente de datos «%s»." + +#: lib/DeviceProvisioner.php +msgid "The BMC is already mapped to a device." +msgstr "El BMC ya está asignado a un dispositivo." + +#: lib/DeviceProvisioner.php +#, php-format +msgid "Created by the Redfish plugin for BMC %s. Its values come from the plugin cache; the host name is a reserved name that is never contacted." +msgstr "Creado por Redfish para el BMC %s. Los valores proceden de la caché del complemento; el nombre de host está reservado y nunca se contacta." + +#: lib/DeviceProvisioner.php +msgid "Cacti refused to create the device. See the Cacti log." +msgstr "Cacti rechazó la creación del dispositivo. Consulte su registro." + +#: lib/DeviceProvisioner.php +msgid "The new device would be hidden from you by your device permissions, so it was removed again. Ask an administrator to grant access, or map the BMC to a device you can see." +msgstr "Sus permisos ocultarían el dispositivo nuevo, por lo que se eliminó. Pida acceso a un administrador o asigne el BMC a un dispositivo que pueda ver." + +#: lib/DeviceProvisioner.php +msgid "The BMC was mapped to a device by someone else meanwhile, or could not be mapped, so the new device was removed again. Reload the page and check its mapping." +msgstr "Otra persona asignó el BMC mientras tanto, o no se pudo asignar, así que se eliminó el dispositivo nuevo. Recargue y compruebe la asignación." + +#: lib/DeviceWarnings.php +#, php-format +msgid "The Redfish templates could not be installed: %s" +msgstr "No se pudieron instalar las plantillas Redfish: %s" + +#: lib/DeviceWarnings.php +msgid "The Redfish templates are not installed or not current. Reinstall them from the Redfish BMCs page." +msgstr "Las plantillas Redfish no están instaladas o no están actualizadas. Reinstálelas desde la página de BMC Redfish." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its Cacti device was deleted. Map it to another device or create one from the BMCs page." +msgstr "%s: se eliminó su dispositivo Cacti. Asígnelo a otro o cree uno desde la página de BMC." + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its device is polled by poller %d but the BMC is read by poller %d. Move one of them so both use the same poller, or its graphs can read as unknown." +msgstr "%s: su dispositivo usa el sondeador %d, pero el BMC lo lee el sondeador %d. Mueva uno para que ambos usen el mismo, o los gráficos pueden mostrar valores desconocidos." + +#: lib/GraphLinks.php +msgid "Redfish graphs of this device" +msgstr "Gráficos Redfish de este dispositivo" + +#: lib/HealthPage.php +msgid "Redfish Warnings" +msgstr "Advertencias Redfish" + +#: lib/HealthPage.php +msgid "No warnings." +msgstr "Sin advertencias." + +#: lib/HealthPage.php +msgid "Redfish Collector" +msgstr "Recopilador Redfish" + +#: lib/HealthPage.php +msgid "BMCs" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Duration / Interval" +msgstr "Duración / intervalo" + +#: lib/HealthPage.php +msgid "Last Run" +msgstr "Última ejecución" + +#: lib/HealthPage.php +msgid "Poller" +msgstr "Sondeador" + +#: lib/HealthPage.php +msgid "Read" +msgstr "Leído" + +#: lib/HealthPage.php +msgid "Requests per BMC" +msgstr "Solicitudes por BMC" + +#: lib/HealthPage.php +msgid "Workers" +msgstr "Procesos de trabajo" + +#: lib/HealthPage.php +msgid "The collector has not run yet." +msgstr "El recopilador aún no se ha ejecutado." + +#: lib/HealthPage.php lib/OperatorPage.php +msgid "Never" +msgstr "Nunca" + +#: lib/HealthPage.php +msgid "Redfish BMC Status" +msgstr "Estado de BMC Redfish" + +#: lib/HealthPage.php +msgid "Authentication" +msgstr "Autenticación" + +#: lib/HealthPage.php +msgid "BMC" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Data" +msgstr "Datos" + +#: lib/HealthPage.php +msgid "Discovery" +msgstr "Descubrimiento" + +#: lib/HealthPage.php +msgid "Failure" +msgstr "Fallo" + +#: lib/HealthPage.php +msgid "Last Success" +msgstr "Último éxito" + +#: lib/HealthPage.php +msgid "Mean Latency" +msgstr "Latencia media" + +#: lib/HealthPage.php +msgid "Reachability" +msgstr "Accesibilidad" + +#: lib/HealthPage.php +msgid "Requests" +msgstr "Solicitudes" + +#: lib/HealthPage.php +msgid "Source" +msgstr "Origen" + +#: lib/HealthPage.php +#, php-format +msgid "newest %s" +msgstr "más reciente %s" + +#: lib/HealthPage.php +msgid "disabled" +msgstr "desactivado" + +#: lib/HealthPage.php +msgid "ok" +msgstr "correcto" + +#: lib/HealthPage.php +msgid "stale" +msgstr "obsoleto" + +#: lib/HealthWarnings.php +#, php-format +msgid "The vault key file cannot be used: %s. Stored passwords cannot be read or written until it is fixed." +msgstr "No se puede usar el archivo de clave de la bóveda: %s. Hasta corregirlo no se pueden leer ni guardar contraseñas." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d took %.0f seconds, more than its budget of %d seconds." +msgstr "El recopilador del sondeador %d tardó %.0f segundos, más que su presupuesto de %d segundos." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d ran out of time before every BMC was read; the rest resume on the next run. Add workers or raise the budget." +msgstr "El recopilador del sondeador %d agotó el tiempo antes de leer todos los BMC; los restantes continúan en la próxima ejecución. Añada procesos o aumente el presupuesto." + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d last ran %s." +msgstr "El recopilador del sondeador %d se ejecutó por última vez %s." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: TLS verification is off. Anyone on the path can read its traffic, including the BMC password." +msgstr "%s: la verificación TLS está desactivada. Cualquiera en el trayecto puede leer el tráfico, incluida la contraseña del BMC." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: uses Basic authentication because the BMC offers no session service; every request carries the password." +msgstr "%s: usa autenticación básica porque el BMC no ofrece sesiones; cada solicitud lleva la contraseña." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: a session may have been left open on the BMC; the next run deletes it after logging in." +msgstr "%s: puede haber quedado una sesión abierta en el BMC; la próxima ejecución la elimina después de iniciar sesión." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d session logins in a row lost their response, so logins stopped. Check the BMC session list, then use Retry Now." +msgstr "%s: se perdieron las respuestas de %d inicios de sesión seguidos y se detuvieron los accesos. Revise la lista de sesiones del BMC y use Reintentar ahora." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: the BMC rejected the credential. It is not tried again until the credential changes." +msgstr "%s: el BMC rechazó la credencial. No se reintenta hasta que cambie." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: its credential is missing or has no stored password." +msgstr "%s: falta su credencial o no tiene contraseña guardada." + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d links in its responses pointed elsewhere and were ignored." +msgstr "%s: se ignoraron %d enlaces de sus respuestas que apuntaban a otros lugares." + +#: lib/Html.php +#, php-format +msgid "%d seconds ago" +msgstr "Hace %d segundos" + +#: lib/Html.php +#, php-format +msgid "%d minutes ago" +msgstr "Hace %d minutos" + +#: lib/Html.php +#, php-format +msgid "%d hours ago" +msgstr "Hace %d horas" + +#: lib/Html.php +#, php-format +msgid "%d days ago" +msgstr "Hace %d días" + +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "Revise las observaciones registradas a continuación. Los acuses de recibo son personales y exclusivos de esta sesión, caducan cuando cambian las observaciones y no suprimen alertas ni modifican el estado de salud." + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "Operaciones Redfish" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "Investigación" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "Objeto" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "Observado (UTC)" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "Desconocido o desactualizado" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "Acuse de recibo registrado; estado de salud sin cambios." + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "Acusar recibo" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "No hay observaciones disponibles para los dispositivos a los que tiene acceso." + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "Operador Redfish" + +#: lib/Pages.php +msgid "Redfish View" +msgstr "Vista Redfish" + +#: lib/Pages.php +msgid "Redfish Admin" +msgstr "Administración Redfish" + +#: lib/Pages.php +msgid "Redfish Health" +msgstr "Estado de Redfish" + +#: lib/Settings.php +#, php-format +msgid "%s Default %d, from %d to %d." +msgstr "%s Predeterminado %d, de %d a %d." + +#: lib/Settings.php +msgid "Credential Vault" +msgstr "Bóveda de credenciales" + +#: lib/Settings.php +msgid "Vault Key File" +msgstr "Archivo de clave de la bóveda" + +#: lib/Settings.php +msgid "Absolute path to the 32-byte key that encrypts stored BMC passwords. Create it yourself, outside the web root, readable only by the web server and poller user, in a directory that only root and that user can write; the plugin never creates or writes it. Back it up with the database: without it, stored passwords must be entered again." +msgstr "Ruta absoluta de la clave de 32 bytes que cifra las contraseñas BMC. Créela fuera de la raíz web, legible solo por el servidor web y el usuario del sondeador, en un directorio donde solo root y ese usuario puedan escribir. El complemento nunca la crea ni escribe. Respáldela con la base de datos: sin ella deberá volver a introducir las contraseñas." + +#: lib/Settings.php +msgid "Collector" +msgstr "Recopilador" + +#: lib/Settings.php +msgid "Collection Interval" +msgstr "Intervalo de recopilación" + +#: lib/Settings.php +msgid "Seconds between reads of each BMC." +msgstr "Segundos entre lecturas de cada BMC." + +#: lib/Settings.php +msgid "Rediscovery Interval" +msgstr "Intervalo de redescubrimiento" + +#: lib/Settings.php +msgid "Seconds between full resource discoveries of each BMC. A BMC is also rediscovered at once when a known resource disappears or changes type." +msgstr "Segundos entre descubrimientos completos de recursos de cada BMC. También se redescubre inmediatamente si un recurso conocido desaparece o cambia de tipo." + +#: lib/Settings.php +msgid "Collector Time Budget" +msgstr "Presupuesto de tiempo del recopilador" + +#: lib/Settings.php +msgid "Seconds one collector run may spend before it stops starting new BMCs. Keep it below the poller interval; unfinished BMCs resume on the next run." +msgstr "Segundos disponibles para una ejecución antes de dejar de iniciar BMC nuevos. Manténgalos por debajo del intervalo de sondeo; los BMC incompletos continúan en la próxima ejecución." + +#: lib/Settings.php +msgid "BMCs read in parallel. Each BMC is read by one worker at a time." +msgstr "BMC leídos en paralelo. Cada BMC lo lee un solo proceso a la vez." + +#: lib/Settings.php +msgid "Collector Workers" +msgstr "Procesos del recopilador" + +#: lib/Settings.php +msgid "Connect Timeout" +msgstr "Tiempo de espera de conexión" + +#: lib/Settings.php +msgid "Seconds allowed for the TCP connection and TLS handshake to a BMC." +msgstr "Segundos permitidos para conectar por TCP y negociar TLS con un BMC." + +#: lib/Settings.php +msgid "Request Timeout" +msgstr "Tiempo de espera de solicitud" + +#: lib/Settings.php +msgid "Seconds allowed for one whole request to a BMC, including the connection." +msgstr "Segundos permitidos para una solicitud completa al BMC, incluida la conexión." + +#: lib/Settings.php +msgid "KiB accepted in one BMC response body; a larger response is refused." +msgstr "KiB aceptados en el cuerpo de una respuesta BMC; se rechazan respuestas mayores." + +#: lib/Settings.php +msgid "Maximum Response Size" +msgstr "Tamaño máximo de respuesta" + +#: lib/Settings.php +msgid "Freshness" +msgstr "Actualidad" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is shown as delayed." +msgstr "Intervalos de recopilación tras los cuales una lectura se muestra retrasada." + +#: lib/Settings.php +msgid "Delayed After" +msgstr "Marcar retrasado tras" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is stale and reads as unknown. Always at least one more than Delayed After." +msgstr "Intervalos tras los que una lectura queda obsoleta y se lee como desconocida. Siempre al menos uno más que Marcar retrasado tras." + +#: lib/Settings.php +msgid "Stale After" +msgstr "Considerar obsoleto tras" + +#: lib/Settings.php +msgid "Uninstall" +msgstr "Desinstalar" + +#: lib/Settings.php +msgid "Keep Plugin Tables on Uninstall" +msgstr "Conservar tablas al desinstalar" + +#: lib/Settings.php +msgid "When checked, uninstalling the plugin keeps its BMC registry, encrypted passwords, and reading cache. Clear it to have the uninstall drop them. This release creates no Cacti devices, and uninstall never touches devices, graphs, or BMCs." +msgstr "Si está marcado, se conservan el registro BMC, las contraseñas cifradas y la caché de lecturas al desinstalar. Desmárquelo para eliminarlos. Esta versión no crea dispositivos Cacti y la desinstalación nunca toca dispositivos, gráficos ni BMC." + +#: lib/TlsMode.php +msgid "Verify against the system CA store" +msgstr "Verificar con el almacén CA del sistema" + +#: lib/TlsMode.php +msgid "Verify against a CA bundle file" +msgstr "Verificar con un archivo de certificados CA" + +#: lib/TlsMode.php +msgid "Pinned public key (SHA-256)" +msgstr "Clave pública fijada (SHA-256)" + +#: lib/TlsMode.php +msgid "Do not verify (unsafe)" +msgstr "No verificar (inseguro)" + +#: redfish_bmcs.php +msgid "You do not have access to the Cacti device of this BMC." +msgstr "No tiene acceso al dispositivo Cacti de este BMC." + +#: redfish_bmcs.php +msgid "The BMC could not be saved." +msgstr "No se pudo guardar el BMC." + +#: redfish_bmcs.php +msgid "The BMC was saved." +msgstr "Se guardó el BMC." + +#: redfish_bmcs.php +msgid "The BMC and its cached data were deleted. Its Cacti device was left in place." +msgstr "Se eliminaron el BMC y su caché. Se conservó su dispositivo Cacti." + +#: redfish_bmcs.php +msgid "Backoff and held failures were cleared; the collector reads the BMC on its next run." +msgstr "Se borraron la espera progresiva y los fallos retenidos; el recopilador leerá el BMC en la próxima ejecución." + +#: redfish_bmcs.php +msgid "Adding devices and graphs needs Cacti's device management permission." +msgstr "Añadir dispositivos y gráficos requiere el permiso de gestión de dispositivos Cacti." + +#: redfish_bmcs.php +msgid "The device of this BMC was deleted. Choose another device, or none, on the BMC form first." +msgstr "Se eliminó el dispositivo de este BMC. Elija primero otro dispositivo o ninguno en su formulario." + +#: redfish_bmcs.php +#, php-format +msgid "The data queries were indexed again and %d graphs were added." +msgstr "Se reindexaron las consultas y se añadieron %d gráficos." + +#: redfish_bmcs.php +msgid "The device was created with its Redfish graphs." +msgstr "Se creó el dispositivo con sus gráficos Redfish." + +#: redfish_bmcs.php +msgid "Installing the Redfish templates needs Cacti's Import Templates permission." +msgstr "Instalar las plantillas Redfish requiere el permiso Importar plantillas de Cacti." + +#: redfish_bmcs.php +msgid "The Redfish templates are installed." +msgstr "Las plantillas Redfish están instaladas." + +#: redfish_bmcs.php +msgid "The Redfish templates could not be installed. The health page shows why." +msgstr "No se pudieron instalar las plantillas Redfish. La página de estado muestra el motivo." + +#: redfish_bmcs.php +msgid "The import could not be saved; nothing was imported." +msgstr "No se pudo guardar la importación; no se importó nada." + +#: redfish_bmcs.php +#, php-format +msgid "%d BMCs were imported." +msgstr "Se importaron %d BMC." + +#: redfish_credentials.php +msgid "This credential is used by a BMC on a Cacti device you do not have access to, so it cannot be changed here." +msgstr "Esta credencial la usa un BMC de un dispositivo Cacti al que no tiene acceso, por lo que no puede cambiarse aquí." + +#: redfish_credentials.php +msgid "Name: another credential already uses this name." +msgstr "Nombre: otra credencial ya usa este nombre." + +#: redfish_credentials.php +msgid "User Name: enter 1 to 255 characters without control characters." +msgstr "Nombre de usuario: introduzca de 1 a 255 caracteres sin caracteres de control." + +#: redfish_credentials.php +msgid "Password: enter the password of the BMC account." +msgstr "Contraseña: introduzca la contraseña de la cuenta BMC." + +#: redfish_credentials.php +#, php-format +msgid "The credential was saved, but the password was not stored: %s" +msgstr "Se guardó la credencial, pero no la contraseña: %s" + +#: redfish_credentials.php +msgid "The credential could not be saved." +msgstr "No se pudo guardar la credencial." + +#: redfish_credentials.php +msgid "The credential was saved." +msgstr "Se guardó la credencial." + +#: redfish_credentials.php +msgid "The credential and its stored password were deleted." +msgstr "Se eliminaron la credencial y su contraseña guardada." + +#: redfish_credentials.php +msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." +msgstr "No se eliminó la credencial. No se puede eliminar una que esté usando un BMC." + +#: redfish_operator.php +msgid "Retry collection" +msgstr "Reintentar recopilación" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "Vista de supervisión" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "No se pudieron leer las observaciones. Pida a un administrador que revise el registro del complemento." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." +msgstr "El complemento Redfish requiere PHP %s o posterior. Este servidor ejecuta PHP %s, por lo que no se instaló ni activó." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires the PHP extensions %s, which this server does not load, so the plugin was not installed or enabled." +msgstr "Redfish requiere las extensiones PHP %s, que este servidor no carga, por lo que no se instaló ni activó." + +#: setup.php +msgid "Redfish" +msgstr "Redfish" + +#: setup.php +msgid "The Redfish plugin is not enabled." +msgstr "El complemento Redfish no está activado." + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later." +msgstr "El complemento Redfish requiere PHP %s o posterior." + +#: setup.php +msgid "Management" +msgstr "Gestión" diff --git a/locales/po/hi-IN.po b/locales/po/hi-IN.po new file mode 100644 index 0000000..aec55b6 --- /dev/null +++ b/locales/po/hi-IN.po @@ -0,0 +1,970 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +# +msgid "" +msgstr "" +"Project-Id-Version: redfish 0.1.0-dev\n" +"Report-Msgid-Bugs-To: https://github.com/somethingwithproof/plugin_redfish/issues\n" +"PO-Revision-Date: 2026-11-17 00:00+0000\n" +"Last-Translator: Thomas Vincent \n" +"Language-Team: Thomas Vincent \n" +"Language: hi-IN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "संग्रह की ताज़गी और डिवाइस ग्राफ़ जाँचें। पुनः प्रयास अगले निर्धारित रन के लिए संग्रह रोक हटाता है; अभी BMC से संपर्क नहीं करता।" + +#: lib/BmcImport.php +msgid "The file is empty or larger than 1 MiB." +msgstr "फ़ाइल खाली है या 1 MiB से बड़ी है।" + +#: lib/BmcImport.php +msgid "The file could not be read." +msgstr "फ़ाइल पढ़ी नहीं जा सकी।" + +#: lib/BmcImport.php +msgid "The file has no header row." +msgstr "फ़ाइल में शीर्षक पंक्ति नहीं है।" + +#: lib/BmcImport.php +#, php-format +msgid "The file has a column named \"%s\". Import files must not carry secrets; name a stored credential in the credential column instead. Nothing was imported." +msgstr "फ़ाइल में \"%s\" नाम का कॉलम है। आयात फ़ाइल में गोपनीय जानकारी नहीं होनी चाहिए; credential कॉलम में संग्रहीत क्रेडेंशियल का नाम दें। कुछ आयात नहीं हुआ।" + +#: lib/BmcImport.php +#, php-format +msgid "The header must name only these columns, each once, including name, address, and credential: %s." +msgstr "शीर्षक में केवल ये कॉलम एक-एक बार हों और name, address तथा credential शामिल हों: %s।" + +#: lib/BmcImport.php +#, php-format +msgid "The file has more than %d rows." +msgstr "फ़ाइल में %d से अधिक पंक्तियाँ हैं।" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: expected %d fields, found %d." +msgstr "पंक्ति %d: अपेक्षित %d फ़ील्ड, मिले %d।" + +#: lib/BmcImport.php +#, php-format +msgid "Credential: no stored credential is named \"%s\"." +msgstr "क्रेडेंशियल: \"%s\" नाम का कोई संग्रहीत क्रेडेंशियल नहीं है।" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: %s" +msgstr "पंक्ति %d: %s" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the address %s port %d is already registered as %s." +msgstr "पंक्ति %d: पता %s पोर्ट %d पहले से %s के रूप में पंजीकृत है।" + +#: lib/BmcImport.php +#, php-format +msgid "line %d" +msgstr "पंक्ति %d" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the name %s is already used." +msgstr "पंक्ति %d: नाम %s पहले से उपयोग में है।" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: no Cacti device has ID %d." +msgstr "पंक्ति %d: ID %d वाला कोई Cacti डिवाइस नहीं है।" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: device %d already has the BMC %s." +msgstr "पंक्ति %d: डिवाइस %d का BMC पहले से %s है।" + +#: lib/BmcImport.php +#, php-format +msgid "of line %d" +msgstr "पंक्ति %d का" + +#: lib/BmcImport.php +msgid "The file has no BMC rows." +msgstr "फ़ाइल में BMC पंक्तियाँ नहीं हैं।" + +#: lib/BmcInput.php redfish_credentials.php +msgid "Name: enter 1 to 100 characters without control characters." +msgstr "नाम: नियंत्रण वर्णों के बिना 1 से 100 वर्ण दर्ज करें।" + +#: lib/BmcInput.php +msgid "Address: enter a host name or an IP address only, without a scheme, port, path, or user name. Loopback, link-local, multicast, and unspecified addresses are refused." +msgstr "पता: केवल होस्टनाम या IP पता दें, स्कीम, पोर्ट, पथ या उपयोगकर्ता नाम नहीं। लूपबैक, लिंक-लोकल, मल्टीकास्ट और अनिर्दिष्ट पते अस्वीकृत हैं।" + +#: lib/BmcInput.php +msgid "Port: enter a TCP port from 1 to 65535." +msgstr "पोर्ट: 1 से 65535 तक TCP पोर्ट दें।" + +#: lib/BmcInput.php +msgid "Poller: only the main poller can collect BMCs in this release." +msgstr "पोलर: इस संस्करण में केवल मुख्य पोलर BMC से संग्रह कर सकता है।" + +#: lib/BmcInput.php +msgid "Device: choose a Cacti device or none." +msgstr "डिवाइस: Cacti डिवाइस या कोई नहीं चुनें।" + +#: lib/BmcInput.php lib/BmcsPage.php +msgid "Credential: choose a stored credential." +msgstr "क्रेडेंशियल: संग्रहीत क्रेडेंशियल चुनें।" + +#: lib/BmcInput.php +msgid "TLS Verification: choose one of the listed modes." +msgstr "TLS सत्यापन: सूचीबद्ध मोड में से एक चुनें।" + +#: lib/BmcInput.php +msgid "CA Bundle File: enter an absolute path without control characters, at most 512 characters." +msgstr "CA बंडल फ़ाइल: नियंत्रण वर्णों के बिना अधिकतम 512 वर्णों का पूर्ण पथ दें।" + +#: lib/BmcInput.php +msgid "Public Key Pin: enter the base64 SHA-256 hash of the BMC public key, optionally prefixed with sha256//." +msgstr "सार्वजनिक कुंजी पिन: BMC सार्वजनिक कुंजी का base64 SHA-256 हैश दें; sha256// उपसर्ग वैकल्पिक है।" + +#: lib/BmcRepository.php +msgid "another BMC" +msgstr "दूसरा BMC" + +#: lib/BmcsPage.php lib/Pages.php +msgid "Redfish BMCs" +msgstr "Redfish BMC" + +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php +msgid "Actions" +msgstr "कार्रवाइयाँ" + +#: lib/BmcsPage.php +msgid "Address" +msgstr "पता" + +#: lib/BmcsPage.php +msgid "Basic Fallback" +msgstr "बेसिक प्रमाणीकरण फ़ॉलबैक" + +#: lib/BmcsPage.php +msgid "Credential" +msgstr "क्रेडेंशियल" + +#: lib/BmcsPage.php +msgid "Device" +msgstr "डिवाइस" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Name" +msgstr "नाम" + +#: lib/BmcsPage.php +msgid "Port" +msgstr "पोर्ट" + +#: lib/BmcsPage.php lib/OperatorPage.php +msgid "State" +msgstr "स्थिति" + +#: lib/BmcsPage.php +msgid "TLS Verification" +msgstr "TLS सत्यापन" + +#: lib/BmcsPage.php lib/HealthPage.php +msgid "No BMCs yet." +msgstr "अभी कोई BMC नहीं है।" + +#: lib/BmcsPage.php +msgid "Missing" +msgstr "गायब" + +#: lib/BmcsPage.php +msgid "Allowed" +msgstr "अनुमत" + +#: lib/BmcsPage.php +msgid "Off" +msgstr "बंद" + +#: lib/BmcsPage.php +msgid "Disabled" +msgstr "अक्षम" + +#: lib/BmcsPage.php +msgid "Enabled" +msgstr "सक्षम" + +#: lib/BmcsPage.php +msgid "Retry Now" +msgstr "अभी पुनः प्रयास करें" + +#: lib/BmcsPage.php +msgid "Add Graphs" +msgstr "ग्राफ़ जोड़ें" + +#: lib/BmcsPage.php +msgid "Create Device" +msgstr "डिवाइस बनाएँ" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Delete" +msgstr "मिटाएँ" + +#: lib/BmcsPage.php +msgid "Export the BMC registry as JSON (no secrets)" +msgstr "BMC रजिस्ट्री JSON में निर्यात करें (कोई गोपनीय जानकारी नहीं)" + +#: lib/BmcsPage.php +msgid "Reinstall the Redfish Templates" +msgstr "Redfish टेम्पलेट फिर स्थापित करें" + +#: lib/BmcsPage.php +#, php-format +msgid "Add Redfish graphs for %s" +msgstr "%s के लिए Redfish ग्राफ़ जोड़ें" + +#: lib/BmcsPage.php +#, php-format +msgid "Create a Cacti device for %s" +msgstr "%s के लिए Cacti डिवाइस बनाएँ" + +#: lib/BmcsPage.php +msgid "Everything is already in place. Confirming indexes the data queries again and adds graphs for new members only." +msgstr "सब कुछ पहले से मौजूद है। पुष्टि डेटा क्वेरी को फिर अनुक्रमित करती है और केवल नए सदस्यों के ग्राफ़ जोड़ती है।" + +#: lib/BmcsPage.php +msgid "Confirming adds:" +msgstr "पुष्टि करने पर जुड़ेगा:" + +#: lib/BmcsPage.php +msgid "Existing devices, graphs, and thresholds are not changed." +msgstr "मौजूदा डिवाइस, ग्राफ़ और थ्रेशोल्ड नहीं बदले जाते।" + +#: lib/BmcsPage.php +msgid "Confirm" +msgstr "पुष्टि करें" + +#: lib/BmcsPage.php +msgid "Cancel" +msgstr "रद्द करें" + +#: lib/BmcsPage.php +msgid "Import BMCs" +msgstr "BMC आयात करें" + +#: lib/BmcsPage.php +msgid "CSV File" +msgstr "CSV फ़ाइल" + +#: lib/BmcsPage.php +#, php-format +msgid "Header row with columns: %s. Name a stored credential; never put a password in the file. Every row must be valid or nothing is imported." +msgstr "शीर्षक पंक्ति के कॉलम: %s। संग्रहीत क्रेडेंशियल का नाम दें; फ़ाइल में कभी पासवर्ड न रखें। हर पंक्ति मान्य होनी चाहिए, नहीं तो कुछ आयात नहीं होगा।" + +#: lib/BmcsPage.php +msgid "Import" +msgstr "आयात" + +#: lib/BmcsPage.php +msgid "Choose a credential" +msgstr "क्रेडेंशियल चुनें" + +#: lib/BmcsPage.php +msgid "None" +msgstr "कोई नहीं" + +#: lib/BmcsPage.php +#, php-format +msgid "Deleted device (ID %d)" +msgstr "मिटाया गया डिवाइस (ID %d)" + +#: lib/BmcsPage.php +msgid "New Redfish BMC" +msgstr "नया Redfish BMC" + +#: lib/BmcsPage.php +#, php-format +msgid "Redfish BMC: %s" +msgstr "Redfish BMC: %s" + +#: lib/BmcsPage.php +msgid "Host name or IP address of the BMC, without https:// or a path." +msgstr "BMC का होस्टनाम या IP पता, https:// या पथ के बिना।" + +#: lib/BmcsPage.php +msgid "Do not verify is logged when set and shown as a warning on the health page while it stays." +msgstr "सत्यापन न करने की सेटिंग लॉग होती है और लागू रहने तक स्वास्थ्य पृष्ठ पर चेतावनी दिखती है।" + +#: lib/BmcsPage.php +msgid "CA Bundle File" +msgstr "CA बंडल फ़ाइल" + +#: lib/BmcsPage.php +msgid "For the CA bundle mode: absolute path on the poller to a PEM file that others cannot write." +msgstr "CA बंडल मोड के लिए: पोलर पर PEM फ़ाइल का पूर्ण पथ, जिसमें अन्य लोग लिख न सकें।" + +#: lib/BmcsPage.php +msgid "For the pinned mode: base64 SHA-256 of the BMC public key, as sha256//... or the bare hash. A changed key fails until this is updated." +msgstr "पिन मोड के लिए: BMC सार्वजनिक कुंजी का base64 SHA-256, sha256//... या केवल हैश। कुंजी बदलने पर इसे अद्यतन करने तक सत्यापन विफल होगा।" + +#: lib/BmcsPage.php +msgid "Public Key Pin" +msgstr "सार्वजनिक कुंजी पिन" + +#: lib/BmcsPage.php +msgid "Allow Basic Authentication Fallback" +msgstr "बेसिक प्रमाणीकरण फ़ॉलबैक की अनुमति दें" + +#: lib/BmcsPage.php +msgid "Used only when the BMC offers no session service. Every request then carries the password; the health page warns while it is in use." +msgstr "केवल जब BMC सत्र सेवा नहीं देता तब उपयोग होता है। हर अनुरोध में तब पासवर्ड जाता है; उपयोग के दौरान स्वास्थ्य पृष्ठ चेतावनी देता है।" + +#: lib/BmcsPage.php +msgid "The Cacti device of the server this BMC manages. Leave it at none to have the plugin create a device from the list." +msgstr "इस BMC द्वारा प्रबंधित सर्वर का Cacti डिवाइस। प्लगइन से सूची द्वारा डिवाइस बनवाने के लिए कोई नहीं रहने दें।" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Save" +msgstr "सहेजें" + +#: lib/BmcsPage.php +#, php-format +msgid "Address: %s port %d is already registered as %s." +msgstr "पता: %s पोर्ट %d पहले से %s के रूप में पंजीकृत है।" + +#: lib/BmcsPage.php +msgid "Address: this address and port are already registered." +msgstr "पता: यह पता और पोर्ट पहले से पंजीकृत हैं।" + +#: lib/BmcsPage.php +msgid "Name: another BMC already uses this name." +msgstr "नाम: दूसरा BMC यह नाम पहले से उपयोग करता है।" + +#: lib/BmcsPage.php +msgid "Device: no Cacti device has this ID." +msgstr "डिवाइस: इस ID वाला कोई Cacti डिवाइस नहीं है।" + +#: lib/BmcsPage.php +msgid "Device: another BMC is already mapped to this device." +msgstr "डिवाइस: दूसरा BMC पहले से इस डिवाइस से मैप है।" + +#: lib/CredentialsPage.php lib/Pages.php +msgid "Redfish Credentials" +msgstr "Redfish क्रेडेंशियल" + +#: lib/CredentialsPage.php +msgid "Password" +msgstr "पासवर्ड" + +#: lib/CredentialsPage.php +msgid "Used By" +msgstr "उपयोगकर्ता" + +#: lib/CredentialsPage.php +msgid "User Name" +msgstr "उपयोगकर्ता नाम" + +#: lib/CredentialsPage.php +msgid "No credentials yet. Create one with a read-only BMC account." +msgstr "अभी कोई क्रेडेंशियल नहीं है। केवल-पठन BMC खाते से बनाएँ।" + +#: lib/CredentialsPage.php +msgid "None stored" +msgstr "कुछ संग्रहीत नहीं" + +#: lib/CredentialsPage.php +msgid "Stored" +msgstr "संग्रहीत" + +#: lib/CredentialsPage.php +#, php-format +msgid "%d BMCs" +msgstr "%d BMC" + +#: lib/CredentialsPage.php +msgid "New Redfish Credential" +msgstr "नया Redfish क्रेडेंशियल" + +#: lib/CredentialsPage.php +#, php-format +msgid "Redfish Credential: %s" +msgstr "Redfish क्रेडेंशियल: %s" + +#: lib/CredentialsPage.php +msgid "A BMC account with the ReadOnly role. The plugin never needs a role that can change BMC state." +msgstr "ReadOnly भूमिका वाला BMC खाता। प्लगइन को BMC स्थिति बदल सकने वाली भूमिका कभी नहीं चाहिए।" + +#: lib/CredentialsPage.php +msgid "A password is stored. Leave blank to keep it." +msgstr "पासवर्ड संग्रहीत है। रखने के लिए खाली छोड़ें।" + +#: lib/CredentialsPage.php +msgid "Stored encrypted with the vault key." +msgstr "वॉल्ट कुंजी से एन्क्रिप्ट करके संग्रहीत।" + +#: lib/DeviceProvisioner.php +msgid "The Redfish templates are not installed completely. Reinstall them from the Redfish BMCs page." +msgstr "Redfish टेम्पलेट पूरी तरह स्थापित नहीं हैं। Redfish BMC पृष्ठ से फिर स्थापित करें।" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "A device \"%s\" from the %s device template, polled by poller %d, with availability checks off. Its host name is a reserved name that is never contacted." +msgstr "\"%s\" डिवाइस, %s टेम्पलेट से, पोलर %d द्वारा पोल होता है और उपलब्धता जाँच बंद है। उसका होस्टनाम आरक्षित है और उससे कभी संपर्क नहीं होता।" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The data query \"%s\", with a graph for each of the %d members known now." +msgstr "डेटा क्वेरी \"%s\", अभी ज्ञात %d सदस्यों में से हर एक का ग्राफ़।" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "%d fans or power supplies that were present are no longer reported. They count as failed until you confirm; confirming accepts the members the BMC reports now." +msgstr "पहले मौजूद %d पंखे या बिजली आपूर्तियाँ अब रिपोर्ट नहीं होतीं। पुष्टि तक वे विफल गिने जाते हैं; पुष्टि वर्तमान BMC सदस्यों को स्वीकार करती है।" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The graph \"%s\", with its \"%s\" data source." +msgstr "ग्राफ़ \"%s\", उसके \"%s\" डेटा स्रोत सहित।" + +#: lib/DeviceProvisioner.php +msgid "The BMC is already mapped to a device." +msgstr "BMC पहले से किसी डिवाइस से मैप है।" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "Created by the Redfish plugin for BMC %s. Its values come from the plugin cache; the host name is a reserved name that is never contacted." +msgstr "BMC %s के लिए Redfish प्लगइन ने बनाया। मान प्लगइन कैश से आते हैं; होस्टनाम आरक्षित है और उससे कभी संपर्क नहीं होता।" + +#: lib/DeviceProvisioner.php +msgid "Cacti refused to create the device. See the Cacti log." +msgstr "Cacti ने डिवाइस बनाने से इनकार किया। Cacti लॉग देखें।" + +#: lib/DeviceProvisioner.php +msgid "The new device would be hidden from you by your device permissions, so it was removed again. Ask an administrator to grant access, or map the BMC to a device you can see." +msgstr "आपकी डिवाइस अनुमतियों के कारण नया डिवाइस छिप जाता, इसलिए उसे हटा दिया गया। प्रशासक से पहुँच माँगें या BMC को दिखने वाले डिवाइस से मैप करें।" + +#: lib/DeviceProvisioner.php +msgid "The BMC was mapped to a device by someone else meanwhile, or could not be mapped, so the new device was removed again. Reload the page and check its mapping." +msgstr "इस बीच किसी और ने BMC को डिवाइस से मैप किया, या मैपिंग विफल हुई, इसलिए नया डिवाइस हटा दिया गया। पृष्ठ पुनः लोड करके मैपिंग जाँचें।" + +#: lib/DeviceWarnings.php +#, php-format +msgid "The Redfish templates could not be installed: %s" +msgstr "Redfish टेम्पलेट स्थापित नहीं हो सके: %s" + +#: lib/DeviceWarnings.php +msgid "The Redfish templates are not installed or not current. Reinstall them from the Redfish BMCs page." +msgstr "Redfish टेम्पलेट स्थापित नहीं हैं या पुराने हैं। Redfish BMC पृष्ठ से फिर स्थापित करें।" + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its Cacti device was deleted. Map it to another device or create one from the BMCs page." +msgstr "%s: उसका Cacti डिवाइस मिटा दिया गया। दूसरे डिवाइस से मैप करें या BMC पृष्ठ से नया बनाएँ।" + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its device is polled by poller %d but the BMC is read by poller %d. Move one of them so both use the same poller, or its graphs can read as unknown." +msgstr "%s: डिवाइस को पोलर %d पोल करता है पर BMC को पोलर %d पढ़ता है। एक को बदलकर दोनों का पोलर समान करें, नहीं तो ग्राफ़ अज्ञात दिख सकते हैं।" + +#: lib/GraphLinks.php +msgid "Redfish graphs of this device" +msgstr "इस डिवाइस के Redfish ग्राफ़" + +#: lib/HealthPage.php +msgid "Redfish Warnings" +msgstr "Redfish चेतावनियाँ" + +#: lib/HealthPage.php +msgid "No warnings." +msgstr "कोई चेतावनी नहीं।" + +#: lib/HealthPage.php +msgid "Redfish Collector" +msgstr "Redfish कलेक्टर" + +#: lib/HealthPage.php +msgid "BMCs" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Duration / Interval" +msgstr "अवधि / अंतराल" + +#: lib/HealthPage.php +msgid "Last Run" +msgstr "अंतिम रन" + +#: lib/HealthPage.php +msgid "Poller" +msgstr "पोलर" + +#: lib/HealthPage.php +msgid "Read" +msgstr "पढ़ा गया" + +#: lib/HealthPage.php +msgid "Requests per BMC" +msgstr "प्रति BMC अनुरोध" + +#: lib/HealthPage.php +msgid "Workers" +msgstr "वर्कर" + +#: lib/HealthPage.php +msgid "The collector has not run yet." +msgstr "कलेक्टर अभी नहीं चला है।" + +#: lib/HealthPage.php lib/OperatorPage.php +msgid "Never" +msgstr "कभी नहीं" + +#: lib/HealthPage.php +msgid "Redfish BMC Status" +msgstr "Redfish BMC स्थिति" + +#: lib/HealthPage.php +msgid "Authentication" +msgstr "प्रमाणीकरण" + +#: lib/HealthPage.php +msgid "BMC" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Data" +msgstr "डेटा" + +#: lib/HealthPage.php +msgid "Discovery" +msgstr "खोज" + +#: lib/HealthPage.php +msgid "Failure" +msgstr "विफलता" + +#: lib/HealthPage.php +msgid "Last Success" +msgstr "अंतिम सफलता" + +#: lib/HealthPage.php +msgid "Mean Latency" +msgstr "औसत विलंब" + +#: lib/HealthPage.php +msgid "Reachability" +msgstr "पहुँच-योग्यता" + +#: lib/HealthPage.php +msgid "Requests" +msgstr "अनुरोध" + +#: lib/HealthPage.php +msgid "Source" +msgstr "स्रोत" + +#: lib/HealthPage.php +#, php-format +msgid "newest %s" +msgstr "नवीनतम %s" + +#: lib/HealthPage.php +msgid "disabled" +msgstr "अक्षम" + +#: lib/HealthPage.php +msgid "ok" +msgstr "ठीक" + +#: lib/HealthPage.php +msgid "stale" +msgstr "पुराना" + +#: lib/HealthWarnings.php +#, php-format +msgid "The vault key file cannot be used: %s. Stored passwords cannot be read or written until it is fixed." +msgstr "वॉल्ट कुंजी फ़ाइल अनुपयोगी है: %s। ठीक होने तक संग्रहीत पासवर्ड पढ़े या लिखे नहीं जा सकते।" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d took %.0f seconds, more than its budget of %d seconds." +msgstr "पोलर %d के कलेक्टर ने %.0f सेकंड लिए, जो %d सेकंड के बजट से अधिक हैं।" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d ran out of time before every BMC was read; the rest resume on the next run. Add workers or raise the budget." +msgstr "पोलर %d के कलेक्टर का समय सभी BMC पढ़ने से पहले समाप्त हुआ; बाकी अगले रन में जारी होंगे। वर्कर या बजट बढ़ाएँ।" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d last ran %s." +msgstr "पोलर %d का कलेक्टर अंतिम बार %s चला।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: TLS verification is off. Anyone on the path can read its traffic, including the BMC password." +msgstr "%s: TLS सत्यापन बंद है। मार्ग में कोई भी ट्रैफ़िक, BMC पासवर्ड सहित, पढ़ सकता है।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: uses Basic authentication because the BMC offers no session service; every request carries the password." +msgstr "%s: BMC सत्र सेवा नहीं देता, इसलिए बेसिक प्रमाणीकरण उपयोग होता है; हर अनुरोध में पासवर्ड जाता है।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: a session may have been left open on the BMC; the next run deletes it after logging in." +msgstr "%s: BMC पर सत्र खुला रह गया हो सकता है; अगला रन लॉगिन के बाद उसे मिटाता है।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d session logins in a row lost their response, so logins stopped. Check the BMC session list, then use Retry Now." +msgstr "%s: लगातार %d सत्र लॉगिन के उत्तर खो गए, इसलिए लॉगिन रुक गए। BMC सत्र सूची जाँचें, फिर Retry Now उपयोग करें।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: the BMC rejected the credential. It is not tried again until the credential changes." +msgstr "%s: BMC ने क्रेडेंशियल अस्वीकार किया। क्रेडेंशियल बदलने तक फिर प्रयास नहीं होगा।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: its credential is missing or has no stored password." +msgstr "%s: क्रेडेंशियल गायब है या संग्रहीत पासवर्ड नहीं है।" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d links in its responses pointed elsewhere and were ignored." +msgstr "%s: उत्तरों के %d लिंक अन्य स्थानों की ओर थे और अनदेखे किए गए।" + +#: lib/Html.php +#, php-format +msgid "%d seconds ago" +msgstr "%d सेकंड पहले" + +#: lib/Html.php +#, php-format +msgid "%d minutes ago" +msgstr "%d मिनट पहले" + +#: lib/Html.php +#, php-format +msgid "%d hours ago" +msgstr "%d घंटे पहले" + +#: lib/Html.php +#, php-format +msgid "%d days ago" +msgstr "%d दिन पहले" + +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "नीचे दर्ज अवलोकन देखें। स्वीकृतियाँ केवल आपके इस सत्र के लिए हैं, अवलोकन बदलने पर समाप्त होती हैं और अलर्ट दबाती या स्वास्थ्य बदलती नहीं हैं।" + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "Redfish संचालन" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "जाँच" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "वस्तु" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "अवलोकन समय (UTC)" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "अज्ञात या पुराना" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "स्वीकार किया गया; स्वास्थ्य अपरिवर्तित है।" + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "स्वीकार करें" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "आपकी पहुँच वाले डिवाइसों के लिए कोई अवलोकन उपलब्ध नहीं है।" + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "Redfish ऑपरेटर" + +#: lib/Pages.php +msgid "Redfish View" +msgstr "Redfish दृश्य" + +#: lib/Pages.php +msgid "Redfish Admin" +msgstr "Redfish प्रशासन" + +#: lib/Pages.php +msgid "Redfish Health" +msgstr "Redfish स्वास्थ्य" + +#: lib/Settings.php +#, php-format +msgid "%s Default %d, from %d to %d." +msgstr "%s डिफ़ॉल्ट %d, %d से %d तक।" + +#: lib/Settings.php +msgid "Credential Vault" +msgstr "क्रेडेंशियल वॉल्ट" + +#: lib/Settings.php +msgid "Vault Key File" +msgstr "वॉल्ट कुंजी फ़ाइल" + +#: lib/Settings.php +msgid "Absolute path to the 32-byte key that encrypts stored BMC passwords. Create it yourself, outside the web root, readable only by the web server and poller user, in a directory that only root and that user can write; the plugin never creates or writes it. Back it up with the database: without it, stored passwords must be entered again." +msgstr "BMC पासवर्ड एन्क्रिप्ट करने वाली 32-बाइट कुंजी का पूर्ण पथ। इसे वेब रूट के बाहर स्वयं बनाएँ, केवल वेब सर्वर और पोलर उपयोगकर्ता पढ़ सकें, और निर्देशिका में केवल root तथा वह उपयोगकर्ता लिख सकें। प्लगइन इसे बनाता या लिखता नहीं है। डेटाबेस के साथ बैकअप लें; इसके बिना संग्रहीत पासवर्ड फिर दर्ज करने होंगे।" + +#: lib/Settings.php +msgid "Collector" +msgstr "कलेक्टर" + +#: lib/Settings.php +msgid "Collection Interval" +msgstr "संग्रह अंतराल" + +#: lib/Settings.php +msgid "Seconds between reads of each BMC." +msgstr "हर BMC के पठन के बीच सेकंड।" + +#: lib/Settings.php +msgid "Rediscovery Interval" +msgstr "पुनः खोज अंतराल" + +#: lib/Settings.php +msgid "Seconds between full resource discoveries of each BMC. A BMC is also rediscovered at once when a known resource disappears or changes type." +msgstr "हर BMC की पूर्ण संसाधन खोजों के बीच सेकंड। ज्ञात संसाधन गायब होने या प्रकार बदलने पर भी तुरंत पुनः खोज होती है।" + +#: lib/Settings.php +msgid "Collector Time Budget" +msgstr "कलेक्टर समय बजट" + +#: lib/Settings.php +msgid "Seconds one collector run may spend before it stops starting new BMCs. Keep it below the poller interval; unfinished BMCs resume on the next run." +msgstr "एक कलेक्टर रन के सेकंड, जिसके बाद वह नए BMC शुरू नहीं करता। इसे पोलर अंतराल से कम रखें; अधूरे BMC अगले रन में जारी होते हैं।" + +#: lib/Settings.php +msgid "BMCs read in parallel. Each BMC is read by one worker at a time." +msgstr "समानांतर पढ़े जाने वाले BMC। हर BMC को एक समय में एक वर्कर पढ़ता है।" + +#: lib/Settings.php +msgid "Collector Workers" +msgstr "कलेक्टर वर्कर" + +#: lib/Settings.php +msgid "Connect Timeout" +msgstr "कनेक्शन समय सीमा" + +#: lib/Settings.php +msgid "Seconds allowed for the TCP connection and TLS handshake to a BMC." +msgstr "BMC से TCP कनेक्शन और TLS हैंडशेक के अनुमत सेकंड।" + +#: lib/Settings.php +msgid "Request Timeout" +msgstr "अनुरोध समय सीमा" + +#: lib/Settings.php +msgid "Seconds allowed for one whole request to a BMC, including the connection." +msgstr "कनेक्शन सहित BMC के एक पूरे अनुरोध के अनुमत सेकंड।" + +#: lib/Settings.php +msgid "KiB accepted in one BMC response body; a larger response is refused." +msgstr "एक BMC उत्तर के बॉडी की स्वीकृत KiB; बड़ा उत्तर अस्वीकृत होता है।" + +#: lib/Settings.php +msgid "Maximum Response Size" +msgstr "अधिकतम उत्तर आकार" + +#: lib/Settings.php +msgid "Freshness" +msgstr "ताज़गी" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is shown as delayed." +msgstr "संग्रह अंतरालों की संख्या जिसके बाद पठन विलंबित दिखता है।" + +#: lib/Settings.php +msgid "Delayed After" +msgstr "विलंबित मानने की सीमा" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is stale and reads as unknown. Always at least one more than Delayed After." +msgstr "संग्रह अंतरालों की संख्या जिसके बाद पठन पुराना होकर अज्ञात होता है। हमेशा Delayed After से कम से कम एक अधिक।" + +#: lib/Settings.php +msgid "Stale After" +msgstr "पुराना मानने की सीमा" + +#: lib/Settings.php +msgid "Uninstall" +msgstr "अनइंस्टॉल" + +#: lib/Settings.php +msgid "Keep Plugin Tables on Uninstall" +msgstr "अनइंस्टॉल पर प्लगइन तालिकाएँ रखें" + +#: lib/Settings.php +msgid "When checked, uninstalling the plugin keeps its BMC registry, encrypted passwords, and reading cache. Clear it to have the uninstall drop them. This release creates no Cacti devices, and uninstall never touches devices, graphs, or BMCs." +msgstr "चयनित होने पर अनइंस्टॉल BMC रजिस्ट्री, एन्क्रिप्टेड पासवर्ड और पठन कैश रखता है। मिटाने के लिए चयन हटाएँ। यह संस्करण Cacti डिवाइस नहीं बनाता और अनइंस्टॉल कभी डिवाइस, ग्राफ़ या BMC नहीं छूता।" + +#: lib/TlsMode.php +msgid "Verify against the system CA store" +msgstr "सिस्टम CA स्टोर से सत्यापित करें" + +#: lib/TlsMode.php +msgid "Verify against a CA bundle file" +msgstr "CA बंडल फ़ाइल से सत्यापित करें" + +#: lib/TlsMode.php +msgid "Pinned public key (SHA-256)" +msgstr "पिन की गई सार्वजनिक कुंजी (SHA-256)" + +#: lib/TlsMode.php +msgid "Do not verify (unsafe)" +msgstr "सत्यापन न करें (असुरक्षित)" + +#: redfish_bmcs.php +msgid "You do not have access to the Cacti device of this BMC." +msgstr "आपको इस BMC के Cacti डिवाइस की पहुँच नहीं है।" + +#: redfish_bmcs.php +msgid "The BMC could not be saved." +msgstr "BMC सहेजा नहीं जा सका।" + +#: redfish_bmcs.php +msgid "The BMC was saved." +msgstr "BMC सहेजा गया।" + +#: redfish_bmcs.php +msgid "The BMC and its cached data were deleted. Its Cacti device was left in place." +msgstr "BMC और उसका कैश डेटा मिटा दिया गया। उसका Cacti डिवाइस रखा गया।" + +#: redfish_bmcs.php +msgid "Backoff and held failures were cleared; the collector reads the BMC on its next run." +msgstr "बैकऑफ़ और रुकी विफलताएँ साफ़ हुईं; कलेक्टर अगले रन में BMC पढ़ेगा।" + +#: redfish_bmcs.php +msgid "Adding devices and graphs needs Cacti's device management permission." +msgstr "डिवाइस और ग्राफ़ जोड़ने के लिए Cacti डिवाइस प्रबंधन की अनुमति चाहिए।" + +#: redfish_bmcs.php +msgid "The device of this BMC was deleted. Choose another device, or none, on the BMC form first." +msgstr "इस BMC का डिवाइस मिटा दिया गया। पहले BMC फ़ॉर्म में दूसरा डिवाइस या कोई नहीं चुनें।" + +#: redfish_bmcs.php +#, php-format +msgid "The data queries were indexed again and %d graphs were added." +msgstr "डेटा क्वेरी फिर अनुक्रमित हुईं और %d ग्राफ़ जोड़े गए।" + +#: redfish_bmcs.php +msgid "The device was created with its Redfish graphs." +msgstr "डिवाइस उसके Redfish ग्राफ़ सहित बनाया गया।" + +#: redfish_bmcs.php +msgid "Installing the Redfish templates needs Cacti's Import Templates permission." +msgstr "Redfish टेम्पलेट स्थापित करने के लिए Cacti का Import Templates अधिकार चाहिए।" + +#: redfish_bmcs.php +msgid "The Redfish templates are installed." +msgstr "Redfish टेम्पलेट स्थापित हैं।" + +#: redfish_bmcs.php +msgid "The Redfish templates could not be installed. The health page shows why." +msgstr "Redfish टेम्पलेट स्थापित नहीं हो सके। स्वास्थ्य पृष्ठ कारण दिखाता है।" + +#: redfish_bmcs.php +msgid "The import could not be saved; nothing was imported." +msgstr "आयात सहेजा नहीं जा सका; कुछ आयात नहीं हुआ।" + +#: redfish_bmcs.php +#, php-format +msgid "%d BMCs were imported." +msgstr "%d BMC आयात हुए।" + +#: redfish_credentials.php +msgid "This credential is used by a BMC on a Cacti device you do not have access to, so it cannot be changed here." +msgstr "यह क्रेडेंशियल ऐसे Cacti डिवाइस के BMC में उपयोग होता है जिसकी आपको पहुँच नहीं है, इसलिए यहाँ बदला नहीं जा सकता।" + +#: redfish_credentials.php +msgid "Name: another credential already uses this name." +msgstr "नाम: दूसरा क्रेडेंशियल यह नाम पहले से उपयोग करता है।" + +#: redfish_credentials.php +msgid "User Name: enter 1 to 255 characters without control characters." +msgstr "उपयोगकर्ता नाम: नियंत्रण वर्णों के बिना 1 से 255 वर्ण दें।" + +#: redfish_credentials.php +msgid "Password: enter the password of the BMC account." +msgstr "पासवर्ड: BMC खाते का पासवर्ड दें।" + +#: redfish_credentials.php +#, php-format +msgid "The credential was saved, but the password was not stored: %s" +msgstr "क्रेडेंशियल सहेजा गया पर पासवर्ड संग्रहीत नहीं हुआ: %s" + +#: redfish_credentials.php +msgid "The credential could not be saved." +msgstr "क्रेडेंशियल सहेजा नहीं जा सका।" + +#: redfish_credentials.php +msgid "The credential was saved." +msgstr "क्रेडेंशियल सहेजा गया।" + +#: redfish_credentials.php +msgid "The credential and its stored password were deleted." +msgstr "क्रेडेंशियल और उसका संग्रहीत पासवर्ड मिटा दिया गया।" + +#: redfish_credentials.php +msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." +msgstr "क्रेडेंशियल नहीं मिटा। BMC में उपयोग हो रहा क्रेडेंशियल नहीं मिटाया जा सकता।" + +#: redfish_operator.php +msgid "Retry collection" +msgstr "संग्रह पुनः प्रयास" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "निगरानी दृश्य" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "अवलोकन पढ़े नहीं जा सके। प्रशासक से प्लगइन लॉग जाँचने को कहें।" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." +msgstr "Redfish प्लगइन को PHP %s या बाद का संस्करण चाहिए। सर्वर PHP %s चलाता है, इसलिए प्लगइन स्थापित या सक्षम नहीं हुआ।" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires the PHP extensions %s, which this server does not load, so the plugin was not installed or enabled." +msgstr "Redfish प्लगइन को PHP एक्सटेंशन %s चाहिए जो सर्वर लोड नहीं करता, इसलिए प्लगइन स्थापित या सक्षम नहीं हुआ।" + +#: setup.php +msgid "Redfish" +msgstr "Redfish" + +#: setup.php +msgid "The Redfish plugin is not enabled." +msgstr "Redfish प्लगइन सक्षम नहीं है।" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later." +msgstr "Redfish प्लगइन को PHP %s या बाद का संस्करण चाहिए।" + +#: setup.php +msgid "Management" +msgstr "प्रबंधन" diff --git a/locales/po/zh-CN.po b/locales/po/zh-CN.po new file mode 100644 index 0000000..9da68a0 --- /dev/null +++ b/locales/po/zh-CN.po @@ -0,0 +1,970 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +# +msgid "" +msgstr "" +"Project-Id-Version: redfish 0.1.0-dev\n" +"Report-Msgid-Bugs-To: https://github.com/somethingwithproof/plugin_redfish/issues\n" +"PO-Revision-Date: 2026-11-17 00:00+0000\n" +"Last-Translator: Thomas Vincent \n" +"Language-Team: Thomas Vincent \n" +"Language: zh-CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: include/operator.php +msgid "Check collection freshness and the device graphs. Retry releases a collection hold for the next scheduled run; it does not contact the BMC now." +msgstr "检查采集数据时效和设备图表。重试会解除采集暂停,供下次计划运行使用;不会立即连接 BMC。" + +#: lib/BmcImport.php +msgid "The file is empty or larger than 1 MiB." +msgstr "文件为空或超过 1 MiB。" + +#: lib/BmcImport.php +msgid "The file could not be read." +msgstr "无法读取文件。" + +#: lib/BmcImport.php +msgid "The file has no header row." +msgstr "文件没有表头行。" + +#: lib/BmcImport.php +#, php-format +msgid "The file has a column named \"%s\". Import files must not carry secrets; name a stored credential in the credential column instead. Nothing was imported." +msgstr "文件包含名为“%s”的列。导入文件不得包含秘密;请在 credential 列填写已存储的凭据名称。未导入任何内容。" + +#: lib/BmcImport.php +#, php-format +msgid "The header must name only these columns, each once, including name, address, and credential: %s." +msgstr "表头只能包含这些列,每列一次,且必须包含 name、address 和 credential:%s。" + +#: lib/BmcImport.php +#, php-format +msgid "The file has more than %d rows." +msgstr "文件超过 %d 行。" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: expected %d fields, found %d." +msgstr "第 %d 行:预期 %d 个字段,实际 %d 个。" + +#: lib/BmcImport.php +#, php-format +msgid "Credential: no stored credential is named \"%s\"." +msgstr "凭据:没有名为“%s”的已存储凭据。" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: %s" +msgstr "第 %d 行:%s" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the address %s port %d is already registered as %s." +msgstr "第 %d 行:地址 %s、端口 %d 已注册为 %s。" + +#: lib/BmcImport.php +#, php-format +msgid "line %d" +msgstr "第 %d 行" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: the name %s is already used." +msgstr "第 %d 行:名称 %s 已被使用。" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: no Cacti device has ID %d." +msgstr "第 %d 行:没有 ID 为 %d 的 Cacti 设备。" + +#: lib/BmcImport.php +#, php-format +msgid "Line %d: device %d already has the BMC %s." +msgstr "第 %d 行:设备 %d 已关联 BMC %s。" + +#: lib/BmcImport.php +#, php-format +msgid "of line %d" +msgstr "第 %d 行的" + +#: lib/BmcImport.php +msgid "The file has no BMC rows." +msgstr "文件没有 BMC 数据行。" + +#: lib/BmcInput.php redfish_credentials.php +msgid "Name: enter 1 to 100 characters without control characters." +msgstr "名称:请输入 1 至 100 个字符,不含控制字符。" + +#: lib/BmcInput.php +msgid "Address: enter a host name or an IP address only, without a scheme, port, path, or user name. Loopback, link-local, multicast, and unspecified addresses are refused." +msgstr "地址:仅输入主机名或 IP 地址,不含协议、端口、路径或用户名。不允许回环、链路本地、多播和未指定地址。" + +#: lib/BmcInput.php +msgid "Port: enter a TCP port from 1 to 65535." +msgstr "端口:请输入 1 至 65535 之间的 TCP 端口。" + +#: lib/BmcInput.php +msgid "Poller: only the main poller can collect BMCs in this release." +msgstr "轮询器:此版本仅主轮询器能采集 BMC。" + +#: lib/BmcInput.php +msgid "Device: choose a Cacti device or none." +msgstr "设备:请选择 Cacti 设备或“无”。" + +#: lib/BmcInput.php lib/BmcsPage.php +msgid "Credential: choose a stored credential." +msgstr "凭据:请选择已存储的凭据。" + +#: lib/BmcInput.php +msgid "TLS Verification: choose one of the listed modes." +msgstr "TLS 验证:请选择列出的模式。" + +#: lib/BmcInput.php +msgid "CA Bundle File: enter an absolute path without control characters, at most 512 characters." +msgstr "CA 证书包文件:请输入最多 512 个字符的绝对路径,不含控制字符。" + +#: lib/BmcInput.php +msgid "Public Key Pin: enter the base64 SHA-256 hash of the BMC public key, optionally prefixed with sha256//." +msgstr "公钥固定值:请输入 BMC 公钥的 base64 SHA-256 哈希,可选择添加 sha256// 前缀。" + +#: lib/BmcRepository.php +msgid "another BMC" +msgstr "另一个 BMC" + +#: lib/BmcsPage.php lib/Pages.php +msgid "Redfish BMCs" +msgstr "Redfish BMC" + +#: lib/BmcsPage.php lib/CredentialsPage.php lib/OperatorPage.php +msgid "Actions" +msgstr "操作" + +#: lib/BmcsPage.php +msgid "Address" +msgstr "地址" + +#: lib/BmcsPage.php +msgid "Basic Fallback" +msgstr "基本认证回退" + +#: lib/BmcsPage.php +msgid "Credential" +msgstr "凭据" + +#: lib/BmcsPage.php +msgid "Device" +msgstr "设备" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Name" +msgstr "名称" + +#: lib/BmcsPage.php +msgid "Port" +msgstr "端口" + +#: lib/BmcsPage.php lib/OperatorPage.php +msgid "State" +msgstr "状态" + +#: lib/BmcsPage.php +msgid "TLS Verification" +msgstr "TLS 验证" + +#: lib/BmcsPage.php lib/HealthPage.php +msgid "No BMCs yet." +msgstr "尚无 BMC。" + +#: lib/BmcsPage.php +msgid "Missing" +msgstr "缺失" + +#: lib/BmcsPage.php +msgid "Allowed" +msgstr "允许" + +#: lib/BmcsPage.php +msgid "Off" +msgstr "关闭" + +#: lib/BmcsPage.php +msgid "Disabled" +msgstr "已禁用" + +#: lib/BmcsPage.php +msgid "Enabled" +msgstr "已启用" + +#: lib/BmcsPage.php +msgid "Retry Now" +msgstr "立即重试" + +#: lib/BmcsPage.php +msgid "Add Graphs" +msgstr "添加图表" + +#: lib/BmcsPage.php +msgid "Create Device" +msgstr "创建设备" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Delete" +msgstr "删除" + +#: lib/BmcsPage.php +msgid "Export the BMC registry as JSON (no secrets)" +msgstr "将 BMC 注册表导出为 JSON(不含秘密)" + +#: lib/BmcsPage.php +msgid "Reinstall the Redfish Templates" +msgstr "重新安装 Redfish 模板" + +#: lib/BmcsPage.php +#, php-format +msgid "Add Redfish graphs for %s" +msgstr "为 %s 添加 Redfish 图表" + +#: lib/BmcsPage.php +#, php-format +msgid "Create a Cacti device for %s" +msgstr "为 %s 创建 Cacti 设备" + +#: lib/BmcsPage.php +msgid "Everything is already in place. Confirming indexes the data queries again and adds graphs for new members only." +msgstr "所有内容均已就绪。确认会重新索引数据查询,并仅为新成员添加图表。" + +#: lib/BmcsPage.php +msgid "Confirming adds:" +msgstr "确认将添加:" + +#: lib/BmcsPage.php +msgid "Existing devices, graphs, and thresholds are not changed." +msgstr "不会更改现有设备、图表或阈值。" + +#: lib/BmcsPage.php +msgid "Confirm" +msgstr "确认" + +#: lib/BmcsPage.php +msgid "Cancel" +msgstr "取消" + +#: lib/BmcsPage.php +msgid "Import BMCs" +msgstr "导入 BMC" + +#: lib/BmcsPage.php +msgid "CSV File" +msgstr "CSV 文件" + +#: lib/BmcsPage.php +#, php-format +msgid "Header row with columns: %s. Name a stored credential; never put a password in the file. Every row must be valid or nothing is imported." +msgstr "表头包含这些列:%s。请填写已存储的凭据名称,切勿在文件中放入密码。每一行都必须有效,否则不会导入任何内容。" + +#: lib/BmcsPage.php +msgid "Import" +msgstr "导入" + +#: lib/BmcsPage.php +msgid "Choose a credential" +msgstr "选择凭据" + +#: lib/BmcsPage.php +msgid "None" +msgstr "无" + +#: lib/BmcsPage.php +#, php-format +msgid "Deleted device (ID %d)" +msgstr "已删除的设备(ID %d)" + +#: lib/BmcsPage.php +msgid "New Redfish BMC" +msgstr "新建 Redfish BMC" + +#: lib/BmcsPage.php +#, php-format +msgid "Redfish BMC: %s" +msgstr "Redfish BMC:%s" + +#: lib/BmcsPage.php +msgid "Host name or IP address of the BMC, without https:// or a path." +msgstr "BMC 的主机名或 IP 地址,不含 https:// 或路径。" + +#: lib/BmcsPage.php +msgid "Do not verify is logged when set and shown as a warning on the health page while it stays." +msgstr "“不验证”设置会被记录,并在该设置持续期间显示为健康页面警告。" + +#: lib/BmcsPage.php +msgid "CA Bundle File" +msgstr "CA 证书包文件" + +#: lib/BmcsPage.php +msgid "For the CA bundle mode: absolute path on the poller to a PEM file that others cannot write." +msgstr "CA 证书包模式:轮询器上 PEM 文件的绝对路径,其他用户不可写入。" + +#: lib/BmcsPage.php +msgid "For the pinned mode: base64 SHA-256 of the BMC public key, as sha256//... or the bare hash. A changed key fails until this is updated." +msgstr "固定公钥模式:BMC 公钥的 base64 SHA-256,格式为 sha256//... 或仅哈希值。公钥变更后验证失败,直到更新此值。" + +#: lib/BmcsPage.php +msgid "Public Key Pin" +msgstr "公钥固定值" + +#: lib/BmcsPage.php +msgid "Allow Basic Authentication Fallback" +msgstr "允许回退到基本认证" + +#: lib/BmcsPage.php +msgid "Used only when the BMC offers no session service. Every request then carries the password; the health page warns while it is in use." +msgstr "仅当 BMC 不提供会话服务时使用。此时每个请求都携带密码;使用期间健康页面会显示警告。" + +#: lib/BmcsPage.php +msgid "The Cacti device of the server this BMC manages. Leave it at none to have the plugin create a device from the list." +msgstr "此 BMC 管理的服务器对应的 Cacti 设备。设为“无”,即可由插件从列表创建设备。" + +#: lib/BmcsPage.php lib/CredentialsPage.php +msgid "Save" +msgstr "保存" + +#: lib/BmcsPage.php +#, php-format +msgid "Address: %s port %d is already registered as %s." +msgstr "地址:%s 端口 %d 已注册为 %s。" + +#: lib/BmcsPage.php +msgid "Address: this address and port are already registered." +msgstr "地址:此地址和端口已注册。" + +#: lib/BmcsPage.php +msgid "Name: another BMC already uses this name." +msgstr "名称:另一个 BMC 已使用此名称。" + +#: lib/BmcsPage.php +msgid "Device: no Cacti device has this ID." +msgstr "设备:没有此 ID 的 Cacti 设备。" + +#: lib/BmcsPage.php +msgid "Device: another BMC is already mapped to this device." +msgstr "设备:另一个 BMC 已映射到此设备。" + +#: lib/CredentialsPage.php lib/Pages.php +msgid "Redfish Credentials" +msgstr "Redfish 凭据" + +#: lib/CredentialsPage.php +msgid "Password" +msgstr "密码" + +#: lib/CredentialsPage.php +msgid "Used By" +msgstr "使用者" + +#: lib/CredentialsPage.php +msgid "User Name" +msgstr "用户名" + +#: lib/CredentialsPage.php +msgid "No credentials yet. Create one with a read-only BMC account." +msgstr "尚无凭据。请使用只读 BMC 账户创建。" + +#: lib/CredentialsPage.php +msgid "None stored" +msgstr "未存储" + +#: lib/CredentialsPage.php +msgid "Stored" +msgstr "已存储" + +#: lib/CredentialsPage.php +#, php-format +msgid "%d BMCs" +msgstr "%d 个 BMC" + +#: lib/CredentialsPage.php +msgid "New Redfish Credential" +msgstr "新建 Redfish 凭据" + +#: lib/CredentialsPage.php +#, php-format +msgid "Redfish Credential: %s" +msgstr "Redfish 凭据:%s" + +#: lib/CredentialsPage.php +msgid "A BMC account with the ReadOnly role. The plugin never needs a role that can change BMC state." +msgstr "具有 ReadOnly 角色的 BMC 账户。插件从不需要能够更改 BMC 状态的角色。" + +#: lib/CredentialsPage.php +msgid "A password is stored. Leave blank to keep it." +msgstr "已存储密码。留空以保留。" + +#: lib/CredentialsPage.php +msgid "Stored encrypted with the vault key." +msgstr "使用保险库密钥加密存储。" + +#: lib/DeviceProvisioner.php +msgid "The Redfish templates are not installed completely. Reinstall them from the Redfish BMCs page." +msgstr "Redfish 模板未完整安装。请从 Redfish BMC 页面重新安装。" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "A device \"%s\" from the %s device template, polled by poller %d, with availability checks off. Its host name is a reserved name that is never contacted." +msgstr "名为“%s”的设备,基于 %s 设备模板,由轮询器 %d 轮询,可用性检查关闭。主机名为保留名称,永远不会连接。" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The data query \"%s\", with a graph for each of the %d members known now." +msgstr "数据查询“%s”,为当前已知的 %d 个成员分别生成图表。" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "%d fans or power supplies that were present are no longer reported. They count as failed until you confirm; confirming accepts the members the BMC reports now." +msgstr "先前存在的 %d 个风扇或电源不再报告。在您确认之前,它们会计为故障;确认表示接纳 BMC 当前报告的成员。" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "The graph \"%s\", with its \"%s\" data source." +msgstr "图表“%s”及其“%s”数据源。" + +#: lib/DeviceProvisioner.php +msgid "The BMC is already mapped to a device." +msgstr "BMC 已映射到设备。" + +#: lib/DeviceProvisioner.php +#, php-format +msgid "Created by the Redfish plugin for BMC %s. Its values come from the plugin cache; the host name is a reserved name that is never contacted." +msgstr "由 Redfish 插件为 BMC %s 创建。其值来自插件缓存;主机名是保留名称,永远不会连接。" + +#: lib/DeviceProvisioner.php +msgid "Cacti refused to create the device. See the Cacti log." +msgstr "Cacti 拒绝创建设备。请查看 Cacti 日志。" + +#: lib/DeviceProvisioner.php +msgid "The new device would be hidden from you by your device permissions, so it was removed again. Ask an administrator to grant access, or map the BMC to a device you can see." +msgstr "您的设备权限会隐藏新设备,因此已再次移除。请让管理员授予访问权限,或将 BMC 映射到您可查看的设备。" + +#: lib/DeviceProvisioner.php +msgid "The BMC was mapped to a device by someone else meanwhile, or could not be mapped, so the new device was removed again. Reload the page and check its mapping." +msgstr "此期间其他人已将 BMC 映射到设备,或映射失败,因此新设备已再次移除。请重新加载页面并检查映射。" + +#: lib/DeviceWarnings.php +#, php-format +msgid "The Redfish templates could not be installed: %s" +msgstr "无法安装 Redfish 模板:%s" + +#: lib/DeviceWarnings.php +msgid "The Redfish templates are not installed or not current. Reinstall them from the Redfish BMCs page." +msgstr "Redfish 模板未安装或不是最新版本。请从 Redfish BMC 页面重新安装。" + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its Cacti device was deleted. Map it to another device or create one from the BMCs page." +msgstr "%s:对应的 Cacti 设备已删除。请映射到另一设备,或从 BMC 页面创建设备。" + +#: lib/DeviceWarnings.php +#, php-format +msgid "%s: its device is polled by poller %d but the BMC is read by poller %d. Move one of them so both use the same poller, or its graphs can read as unknown." +msgstr "%s:设备由轮询器 %d 轮询,但 BMC 由轮询器 %d 读取。请移动其中之一,使二者使用同一轮询器,否则图表可能显示未知。" + +#: lib/GraphLinks.php +msgid "Redfish graphs of this device" +msgstr "此设备的 Redfish 图表" + +#: lib/HealthPage.php +msgid "Redfish Warnings" +msgstr "Redfish 警告" + +#: lib/HealthPage.php +msgid "No warnings." +msgstr "无警告。" + +#: lib/HealthPage.php +msgid "Redfish Collector" +msgstr "Redfish 采集器" + +#: lib/HealthPage.php +msgid "BMCs" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Duration / Interval" +msgstr "持续时间 / 间隔" + +#: lib/HealthPage.php +msgid "Last Run" +msgstr "上次运行" + +#: lib/HealthPage.php +msgid "Poller" +msgstr "轮询器" + +#: lib/HealthPage.php +msgid "Read" +msgstr "读取" + +#: lib/HealthPage.php +msgid "Requests per BMC" +msgstr "每个 BMC 的请求数" + +#: lib/HealthPage.php +msgid "Workers" +msgstr "工作进程" + +#: lib/HealthPage.php +msgid "The collector has not run yet." +msgstr "采集器尚未运行。" + +#: lib/HealthPage.php lib/OperatorPage.php +msgid "Never" +msgstr "从未" + +#: lib/HealthPage.php +msgid "Redfish BMC Status" +msgstr "Redfish BMC 状态" + +#: lib/HealthPage.php +msgid "Authentication" +msgstr "认证" + +#: lib/HealthPage.php +msgid "BMC" +msgstr "BMC" + +#: lib/HealthPage.php +msgid "Data" +msgstr "数据" + +#: lib/HealthPage.php +msgid "Discovery" +msgstr "发现" + +#: lib/HealthPage.php +msgid "Failure" +msgstr "故障" + +#: lib/HealthPage.php +msgid "Last Success" +msgstr "上次成功" + +#: lib/HealthPage.php +msgid "Mean Latency" +msgstr "平均延迟" + +#: lib/HealthPage.php +msgid "Reachability" +msgstr "可达性" + +#: lib/HealthPage.php +msgid "Requests" +msgstr "请求数" + +#: lib/HealthPage.php +msgid "Source" +msgstr "来源" + +#: lib/HealthPage.php +#, php-format +msgid "newest %s" +msgstr "最新 %s" + +#: lib/HealthPage.php +msgid "disabled" +msgstr "已禁用" + +#: lib/HealthPage.php +msgid "ok" +msgstr "正常" + +#: lib/HealthPage.php +msgid "stale" +msgstr "已过期" + +#: lib/HealthWarnings.php +#, php-format +msgid "The vault key file cannot be used: %s. Stored passwords cannot be read or written until it is fixed." +msgstr "无法使用保险库密钥文件:%s。修复前无法读取或写入已存储的密码。" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d took %.0f seconds, more than its budget of %d seconds." +msgstr "轮询器 %d 上的采集器耗时 %.0f 秒,超过 %d 秒预算。" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d ran out of time before every BMC was read; the rest resume on the next run. Add workers or raise the budget." +msgstr "轮询器 %d 上的采集器在读完所有 BMC 前耗尽时间;其余将在下次运行继续。请增加工作进程或提高预算。" + +#: lib/HealthWarnings.php +#, php-format +msgid "The collector on poller %d last ran %s." +msgstr "轮询器 %d 上的采集器上次运行于 %s。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: TLS verification is off. Anyone on the path can read its traffic, including the BMC password." +msgstr "%s:TLS 验证已关闭。链路上的任何人都可能读取通信,包括 BMC 密码。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: uses Basic authentication because the BMC offers no session service; every request carries the password." +msgstr "%s:BMC 不提供会话服务,因此使用基本认证;每个请求都携带密码。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: a session may have been left open on the BMC; the next run deletes it after logging in." +msgstr "%s:BMC 上可能残留未关闭的会话;下次运行登录后会删除它。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d session logins in a row lost their response, so logins stopped. Check the BMC session list, then use Retry Now." +msgstr "%s:连续 %d 次会话登录未收到响应,因此已停止登录。请检查 BMC 会话列表,然后使用“立即重试”。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: the BMC rejected the credential. It is not tried again until the credential changes." +msgstr "%s:BMC 拒绝了凭据。凭据更改之前不会再次尝试。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: its credential is missing or has no stored password." +msgstr "%s:凭据缺失或没有已存储的密码。" + +#: lib/HealthWarnings.php +#, php-format +msgid "%s: %d links in its responses pointed elsewhere and were ignored." +msgstr "%s:其响应中有 %d 个链接指向其他位置,已忽略。" + +#: lib/Html.php +#, php-format +msgid "%d seconds ago" +msgstr "%d 秒前" + +#: lib/Html.php +#, php-format +msgid "%d minutes ago" +msgstr "%d 分钟前" + +#: lib/Html.php +#, php-format +msgid "%d hours ago" +msgstr "%d 小时前" + +#: lib/Html.php +#, php-format +msgid "%d days ago" +msgstr "%d 天前" + +#: lib/OperatorPage.php +msgid "Review the recorded observations below. Acknowledgments are personal to this session, expire when observations change, and never suppress alerts or change health." +msgstr "查看下方记录的观测结果。确认记录仅对当前会话中的您有效,在观测结果变化时失效,且不会抑制告警或更改健康状态。" + +#: lib/OperatorPage.php lib/Pages.php +msgid "Redfish Operations" +msgstr "Redfish 运维" + +#: lib/OperatorPage.php +msgid "Investigation" +msgstr "调查" + +#: lib/OperatorPage.php +msgid "Object" +msgstr "对象" + +#: lib/OperatorPage.php +msgid "Observed (UTC)" +msgstr "观测时间(UTC)" + +#: lib/OperatorPage.php +msgid "Unknown or stale" +msgstr "未知或已过期" + +#: lib/OperatorPage.php +msgid "Acknowledged; health unchanged." +msgstr "已确认;健康状态未改变。" + +#: lib/OperatorPage.php +msgid "Acknowledge" +msgstr "确认" + +#: lib/OperatorPage.php +msgid "No observations are available for devices you may access." +msgstr "您有权访问的设备暂无观测结果。" + +#: lib/Pages.php +msgid "Redfish Operator" +msgstr "Redfish 操作员" + +#: lib/Pages.php +msgid "Redfish View" +msgstr "Redfish 查看" + +#: lib/Pages.php +msgid "Redfish Admin" +msgstr "Redfish 管理" + +#: lib/Pages.php +msgid "Redfish Health" +msgstr "Redfish 健康" + +#: lib/Settings.php +#, php-format +msgid "%s Default %d, from %d to %d." +msgstr "%s 默认 %d,范围 %d 至 %d。" + +#: lib/Settings.php +msgid "Credential Vault" +msgstr "凭据保险库" + +#: lib/Settings.php +msgid "Vault Key File" +msgstr "保险库密钥文件" + +#: lib/Settings.php +msgid "Absolute path to the 32-byte key that encrypts stored BMC passwords. Create it yourself, outside the web root, readable only by the web server and poller user, in a directory that only root and that user can write; the plugin never creates or writes it. Back it up with the database: without it, stored passwords must be entered again." +msgstr "用于加密 BMC 密码的 32 字节密钥的绝对路径。请自行在 Web 根目录之外创建,仅允许 Web 服务器和轮询用户读取,所在目录只能由 root 和该用户写入;插件不会创建或写入此文件。请将其与数据库一起备份:丢失后必须重新输入所有已存储密码。" + +#: lib/Settings.php +msgid "Collector" +msgstr "采集器" + +#: lib/Settings.php +msgid "Collection Interval" +msgstr "采集间隔" + +#: lib/Settings.php +msgid "Seconds between reads of each BMC." +msgstr "每个 BMC 两次读取之间的秒数。" + +#: lib/Settings.php +msgid "Rediscovery Interval" +msgstr "重新发现间隔" + +#: lib/Settings.php +msgid "Seconds between full resource discoveries of each BMC. A BMC is also rediscovered at once when a known resource disappears or changes type." +msgstr "每个 BMC 完整资源发现之间的秒数。已知资源消失或类型变化时,也会立即重新发现。" + +#: lib/Settings.php +msgid "Collector Time Budget" +msgstr "采集器时间预算" + +#: lib/Settings.php +msgid "Seconds one collector run may spend before it stops starting new BMCs. Keep it below the poller interval; unfinished BMCs resume on the next run." +msgstr "采集器单次运行允许的秒数,达到后停止开始新的 BMC。应低于轮询间隔;未完成的 BMC 留待下次运行继续。" + +#: lib/Settings.php +msgid "BMCs read in parallel. Each BMC is read by one worker at a time." +msgstr "并行读取的 BMC 数。每个 BMC 同时只由一个工作进程读取。" + +#: lib/Settings.php +msgid "Collector Workers" +msgstr "采集器工作进程数" + +#: lib/Settings.php +msgid "Connect Timeout" +msgstr "连接超时" + +#: lib/Settings.php +msgid "Seconds allowed for the TCP connection and TLS handshake to a BMC." +msgstr "允许与 BMC 建立 TCP 连接和 TLS 握手的秒数。" + +#: lib/Settings.php +msgid "Request Timeout" +msgstr "请求超时" + +#: lib/Settings.php +msgid "Seconds allowed for one whole request to a BMC, including the connection." +msgstr "单个完整 BMC 请求允许的秒数,包括连接时间。" + +#: lib/Settings.php +msgid "KiB accepted in one BMC response body; a larger response is refused." +msgstr "单个 BMC 响应体接受的 KiB 数;更大的响应会被拒绝。" + +#: lib/Settings.php +msgid "Maximum Response Size" +msgstr "最大响应大小" + +#: lib/Settings.php +msgid "Freshness" +msgstr "时效性" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is shown as delayed." +msgstr "经过多少个采集间隔后,读数显示为延迟。" + +#: lib/Settings.php +msgid "Delayed After" +msgstr "延迟阈值" + +#: lib/Settings.php +msgid "Collection intervals after which a reading is stale and reads as unknown. Always at least one more than Delayed After." +msgstr "经过多少个采集间隔后,读数过期并作为未知读取。必须始终至少比延迟阈值多一个。" + +#: lib/Settings.php +msgid "Stale After" +msgstr "过期时限" + +#: lib/Settings.php +msgid "Uninstall" +msgstr "卸载" + +#: lib/Settings.php +msgid "Keep Plugin Tables on Uninstall" +msgstr "卸载时保留插件表" + +#: lib/Settings.php +msgid "When checked, uninstalling the plugin keeps its BMC registry, encrypted passwords, and reading cache. Clear it to have the uninstall drop them. This release creates no Cacti devices, and uninstall never touches devices, graphs, or BMCs." +msgstr "选中时,卸载会保留 BMC 注册表、加密密码和读数缓存。取消选中则删除这些内容。此版本不创建 Cacti 设备,卸载也永远不会修改设备、图表或 BMC。" + +#: lib/TlsMode.php +msgid "Verify against the system CA store" +msgstr "使用系统 CA 存储验证" + +#: lib/TlsMode.php +msgid "Verify against a CA bundle file" +msgstr "使用 CA 证书包文件验证" + +#: lib/TlsMode.php +msgid "Pinned public key (SHA-256)" +msgstr "固定公钥(SHA-256)" + +#: lib/TlsMode.php +msgid "Do not verify (unsafe)" +msgstr "不验证(不安全)" + +#: redfish_bmcs.php +msgid "You do not have access to the Cacti device of this BMC." +msgstr "您无权访问此 BMC 的 Cacti 设备。" + +#: redfish_bmcs.php +msgid "The BMC could not be saved." +msgstr "无法保存 BMC。" + +#: redfish_bmcs.php +msgid "The BMC was saved." +msgstr "BMC 已保存。" + +#: redfish_bmcs.php +msgid "The BMC and its cached data were deleted. Its Cacti device was left in place." +msgstr "BMC 及其缓存数据已删除。其 Cacti 设备已保留。" + +#: redfish_bmcs.php +msgid "Backoff and held failures were cleared; the collector reads the BMC on its next run." +msgstr "退避和暂停的故障已清除;采集器将在下次运行读取 BMC。" + +#: redfish_bmcs.php +msgid "Adding devices and graphs needs Cacti's device management permission." +msgstr "添加设备和图表需要 Cacti 设备管理权限。" + +#: redfish_bmcs.php +msgid "The device of this BMC was deleted. Choose another device, or none, on the BMC form first." +msgstr "此 BMC 的设备已删除。请先在 BMC 表单中选择其他设备或“无”。" + +#: redfish_bmcs.php +#, php-format +msgid "The data queries were indexed again and %d graphs were added." +msgstr "数据查询已重新索引,并添加了 %d 个图表。" + +#: redfish_bmcs.php +msgid "The device was created with its Redfish graphs." +msgstr "设备及其 Redfish 图表已创建。" + +#: redfish_bmcs.php +msgid "Installing the Redfish templates needs Cacti's Import Templates permission." +msgstr "安装 Redfish 模板需要 Cacti 的导入模板权限。" + +#: redfish_bmcs.php +msgid "The Redfish templates are installed." +msgstr "Redfish 模板已安装。" + +#: redfish_bmcs.php +msgid "The Redfish templates could not be installed. The health page shows why." +msgstr "无法安装 Redfish 模板。原因显示在健康页面。" + +#: redfish_bmcs.php +msgid "The import could not be saved; nothing was imported." +msgstr "无法保存导入内容;未导入任何数据。" + +#: redfish_bmcs.php +#, php-format +msgid "%d BMCs were imported." +msgstr "已导入 %d 个 BMC。" + +#: redfish_credentials.php +msgid "This credential is used by a BMC on a Cacti device you do not have access to, so it cannot be changed here." +msgstr "此凭据被您无权访问的 Cacti 设备上的 BMC 使用,因此无法在此更改。" + +#: redfish_credentials.php +msgid "Name: another credential already uses this name." +msgstr "名称:另一个凭据已使用此名称。" + +#: redfish_credentials.php +msgid "User Name: enter 1 to 255 characters without control characters." +msgstr "用户名:请输入 1 至 255 个字符,不含控制字符。" + +#: redfish_credentials.php +msgid "Password: enter the password of the BMC account." +msgstr "密码:请输入 BMC 账户密码。" + +#: redfish_credentials.php +#, php-format +msgid "The credential was saved, but the password was not stored: %s" +msgstr "凭据已保存,但密码未存储:%s" + +#: redfish_credentials.php +msgid "The credential could not be saved." +msgstr "无法保存凭据。" + +#: redfish_credentials.php +msgid "The credential was saved." +msgstr "凭据已保存。" + +#: redfish_credentials.php +msgid "The credential and its stored password were deleted." +msgstr "凭据及其存储的密码已删除。" + +#: redfish_credentials.php +msgid "The credential was not deleted. A credential in use by a BMC cannot be deleted." +msgstr "凭据未删除。BMC 正在使用的凭据无法删除。" + +#: redfish_operator.php +msgid "Retry collection" +msgstr "重试采集" + +#: redfish_operator.php +msgid "Monitoring view" +msgstr "监控视图" + +#: redfish_operator.php +msgid "Observations could not be read. Ask an administrator to check the plugin log." +msgstr "无法读取观测结果。请联系管理员检查插件日志。" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later. This server runs PHP %s, so the plugin was not installed or enabled." +msgstr "Redfish 插件需要 PHP %s 或更高版本。此服务器运行 PHP %s,因此未安装或启用插件。" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires the PHP extensions %s, which this server does not load, so the plugin was not installed or enabled." +msgstr "Redfish 插件需要 PHP 扩展 %s,但此服务器未加载,因此未安装或启用插件。" + +#: setup.php +msgid "Redfish" +msgstr "Redfish" + +#: setup.php +msgid "The Redfish plugin is not enabled." +msgstr "Redfish 插件未启用。" + +#: setup.php +#, php-format +msgid "The Redfish plugin requires PHP %s or later." +msgstr "Redfish 插件需要 PHP %s 或更高版本。" + +#: setup.php +msgid "Management" +msgstr "管理" diff --git a/phpstan.neon b/phpstan.neon index c4d8b4a..00d5e7c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -23,6 +23,7 @@ parameters: paths: - lib - setup.php + - include/operator.php - include/unbooted-uninstall.php scanDirectories: - %env.CACTI_PATH%/lib diff --git a/redfish_operator.php b/redfish_operator.php new file mode 100644 index 0000000..fd7e4fd --- /dev/null +++ b/redfish_operator.php @@ -0,0 +1,115 @@ + + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of plugin_redfish, a plugin for Cacti. + * https://github.com/somethingwithproof/plugin_redfish + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +use Somethingwithproof\Redfish\OperatorPage; + +chdir('../../'); +include('./include/auth.php'); +include_once('./plugins/redfish/setup.php'); + +if (!redfish_page_start()) { + exit; +} +require_once('./plugins/redfish/include/operator.php'); + +$user = (int) ($_SESSION['sess_user_id'] ?? 0); +$allowed = $user > 0 && api_plugin_user_realm_auth('redfish_operator.php'); + +if (!$allowed) { + http_response_code(403); + exit; +} +$actions = ['retry' => __('Retry collection', 'redfish')]; +$action = (string) get_nfilter_request_var('action'); +$now = time(); +$session = $_SESSION['redfish_triage'] ?? []; +$session = is_array($session) ? $session : []; + +try { + // Re-read on POST too: stale forms never retain revoked device access. + $rows = redfish_operator_rows(); + + if ($action !== '' && $action !== 'default') { + $method = $_SERVER['REQUEST_METHOD'] ?? ''; + $status = OperatorPage::actionStatus($allowed, $action, $method, $method === 'POST' && csrf_check(false), array_merge(['acknowledge'], array_keys($actions))); + + if ($status !== 200) { + http_response_code($status); + + if ($status === 405) { + header('Allow: POST'); + } + exit; + } + $id = (string) get_nfilter_request_var('id'); + $row = null; + + foreach ($rows as $candidate) { + if ($candidate['id'] === $id) { + $row = $candidate; + + break; + } + } + + if ($row === null) { + http_response_code(403); + exit; + } + $fingerprint = (string) get_nfilter_request_var('fingerprint'); + + if (!hash_equals(OperatorPage::fingerprint($row), $fingerprint)) { + http_response_code(409); + exit; + } + + if ($action === 'acknowledge') { + if (!OperatorPage::acknowledge($session, $row, $fingerprint, $user, $now)) { + http_response_code(409); + exit; + } + $_SESSION['redfish_triage'] = $session; + } else { + // Bound repeated requests from a browser without changing collector budgets. + $key = (string) $user; + $last = $_SESSION['redfish_operation'] ?? []; + + if (($last['key'] ?? '') === $key && $now - ($last['at'] ?? 0) < 60) { + http_response_code(429); + header('Retry-After: 60'); + exit; + } + $_SESSION['redfish_operation'] = ['key' => $key, 'at' => $now]; + redfish_operator_retry((int) $row['id']); + } + cacti_log('Operator ' . $action . ' by user ' . $user . ' on object ' . hash('sha256', $id), false, 'REDFISH'); + header('Location: redfish_operator.php'); + exit; + } + top_header(); + print '

' . html_escape(__('Monitoring view', 'redfish')) . '

'; + OperatorPage::render($rows, $session, $user, $now, $actions); + bottom_footer(); +} catch (Throwable $error) { + cacti_log('Operator page failed (' . get_class($error) . ')', false, 'REDFISH'); + http_response_code(503); + top_header(); + print '

' . html_escape(__('Observations could not be read. Ask an administrator to check the plugin log.', 'redfish')) . '

'; + bottom_footer(); +} diff --git a/setup.php b/setup.php index ba707d0..a1df487 100644 --- a/setup.php +++ b/setup.php @@ -128,13 +128,18 @@ function plugin_redfish_check_config(): bool { } /** - * Common start of every page script, after include/auth.php has authorized - * the realm. Refuses on an unsupported runtime or a disabled plugin, because - * Cacti keeps plugin realms registered while a plugin is disabled. + * Common start after include/auth.php establishes the user. Recheck the + * realm here because cookie and Basic login restore the user after the + * alternate-realms hook. Disabled plugins and unsupported runtimes refuse. */ function redfish_page_start(): bool { if (redfish_boot() && api_plugin_is_enabled('redfish')) { - return true; + if (redfish_page_allowed()) { + return true; + } + http_response_code(403); + + return false; } top_header(); @@ -317,7 +322,7 @@ function redfish_setup_hooks(bool $grant = false): void { } foreach (\Somethingwithproof\Redfish\Pages::realms() as $realm) { - api_plugin_register_realm('redfish', implode(',', $realm['files']), $realm['name'], $grant); + api_plugin_register_realm('redfish', implode(',', $realm['files']), $realm['name'], $grant && $realm['files'] !== \Somethingwithproof\Redfish\Pages::OPERATOR); } } @@ -384,6 +389,10 @@ function redfish_config_arrays(): void { function redfish_config_settings(): void { global $tabs, $settings; + if (PHP_SAPI !== 'cli' && !api_plugin_user_realm_auth('redfish_bmcs.php')) { + return; + } + if (!redfish_boot()) { return; } @@ -539,3 +548,63 @@ function redfish_collector(int $pollerId, int $worker): \Somethingwithproof\Redf 'p' . $pollerId . 'w' . $worker . '-' . getmypid() . '-' . bin2hex(random_bytes(4)) ); } + +/** Resolve role inheritance against Cacti's current user and group grants. */ +function redfish_auth_alternate_realms(): void { + global $user_auth_realm_filenames; + + static $deferred = array(); + + foreach ($deferred as $file => $realm) { + $user_auth_realm_filenames[$file] = $realm; + } + $deferred = array(); + + if (!api_plugin_is_enabled('redfish')) { + return; + } + + if (empty($_SESSION['sess_user_id'])) { + // Core restores cookie and Basic authentication after this hook. Only + // these entrypoints defer the realm check to their post-auth guard. + $page = get_current_page(); + + if (in_array($page, array('redfish_health.php', 'redfish_operator.php'), true) && isset($user_auth_realm_filenames[$page])) { + $deferred[$page] = $user_auth_realm_filenames[$page]; + $user_auth_realm_filenames[$page] = -1; + } + + return; + } + $operator = 'redfish_operator.php'; + $admin = 'redfish_bmcs.php'; + $files = array('redfish_health.php'); + $realm = $user_auth_realm_filenames[$admin] ?? 0; + if ($realm > 0 && is_realm_allowed($realm)) { + $files[] = $operator; + } else { + $realm = $user_auth_realm_filenames[$operator] ?? 0; + if ($realm <= 0 || !is_realm_allowed($realm)) { + return; + } + } + foreach ($files as $file) { + $user_auth_realm_filenames[$file] = $realm; + } +} + +/** Recheck the authenticated user before a plugin page reads data or acts. */ +function redfish_page_allowed(): bool { + global $current_user; + + redfish_auth_alternate_realms(); + $userId = $current_user['id'] ?? null; + $sessionId = $_SESSION['sess_user_id'] ?? null; + + return (is_int($userId) || (is_string($userId) && ctype_digit($userId))) + && (is_int($sessionId) || (is_string($sessionId) && ctype_digit($sessionId))) + && (int) $userId > 0 && (int) $userId === (int) $sessionId + && api_plugin_is_enabled('redfish') + && ($current_user['enabled'] ?? '') === 'on' + && api_plugin_user_realm_auth(get_current_page()); +} diff --git a/tests/Integration/LifecycleTest.php b/tests/Integration/LifecycleTest.php index 523800a..d4014f2 100644 --- a/tests/Integration/LifecycleTest.php +++ b/tests/Integration/LifecycleTest.php @@ -38,7 +38,7 @@ 'plugin_redfish_secret', ]; -const REDFISH_HOOKS = ['api_device_new', 'config_arrays', 'config_settings', 'device_remove', 'draw_navigation_text', 'graph_buttons', 'poller_bottom']; +const REDFISH_HOOKS = ['api_device_new', 'auth_alternate_realms', 'config_arrays', 'config_settings', 'device_remove', 'draw_navigation_text', 'graph_buttons', 'poller_bottom']; beforeEach(function () { lifecycle('reset'); @@ -48,7 +48,7 @@ lifecycle('reset'); }); -it('installs fresh with tracked tables, hooks, and both realms, leaving the plugin disabled', function () { +it('installs fresh with tracked tables, hooks, and three realms, leaving the plugin disabled', function () { $state = lifecycle('install'); expect($state['plugin']['status'])->toEqual('4') @@ -60,7 +60,8 @@ ->and(array_keys($state['hooks']))->toBe(REDFISH_HOOKS) ->and($state['realms'])->toEqual([ 'redfish_bmcs.php,redfish_credentials.php' => 'Redfish Admin', - 'redfish_health.php' => 'Redfish View', + 'redfish_health.php' => 'Redfish View', + 'redfish_operator.php' => 'Redfish Operator', ]) ->and($state['admin'])->toBe(2); }); @@ -108,7 +109,7 @@ expect($state['result'])->toBeTrue() ->and(array_keys($state['hooks']))->toBe(REDFISH_HOOKS) - ->and($state['realms'])->toHaveCount(2); + ->and($state['realms'])->toHaveCount(3); }); it('finishes an upgrade that was interrupted after creating only some tables', function () { @@ -273,7 +274,7 @@ expect(lifecycle('install')['admin'])->toBe(2); $repair = lifecycle('repair_as_viewer'); - expect($repair['realms'])->toHaveCount(2) + expect($repair['realms'])->toHaveCount(3) ->and($repair['result'])->toBe(['viewer_realms' => 0]); }); @@ -308,3 +309,23 @@ ->and($r['final_count'])->toBeTrue() ->and($r['final_open'])->toBe(0); }); + +it('preserves old grants and resolves the three roles through Cacti including groups', function () { + lifecycle('install'); + lifecycle('enable'); + $roles = lifecycle('operator_roles')['result']; + expect($roles['ids_preserved'])->toBeTrue() + ->and($roles['viewer_grants'])->toBe([$roles['expected_view']]) + ->and($roles['hook_enabled'])->toBe(1) + ->and($roles['viewer'])->toBe([true, false, false]) + ->and($roles['operator'])->toBe([true, true, false]) + ->and($roles['admin'])->toBe([true, true, true]) + ->and($roles['revoked'])->toBe([false, false, false]) + ->and($roles['group_operator'])->toBe([true, true, false]) + ->and($roles['disabled_group'])->toBe([false, false, false]) + ->and($roles['first_request']['viewer'])->toBe([[true, true, true], [true, false, true], [false, false, true]]) + ->and($roles['first_request']['operator'])->toBe([[true, true, true], [true, true, true], [false, false, true]]) + ->and($roles['first_request']['admin'])->toBe([[true, true, true], [true, true, true], [false, true, true]]) + ->and($roles['first_request']['revoked'])->toBe([false, false, false]) + ->and($roles['disabled_user'])->toBe([false, false, false]); +}); diff --git a/tests/Unit/OperatorTest.php b/tests/Unit/OperatorTest.php new file mode 100644 index 0000000..0966816 --- /dev/null +++ b/tests/Unit/OperatorTest.php @@ -0,0 +1,78 @@ + + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of plugin_redfish, a plugin for Cacti. + * https://github.com/somethingwithproof/plugin_redfish + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +use Somethingwithproof\Redfish\OperatorPage; + +function redfish_triage_fixture(): array { + return ['id' => '7', 'name' => '', 'state' => 'failed', 'observed' => 900, 'interval' => 60, 'detail' => 'timeout']; +} + +it('requires an operator, a known action, POST and a valid CSRF token', function () { + $actions = ['acknowledge', 'retry']; + expect(OperatorPage::actionStatus(false, 'retry', 'POST', true, $actions))->toBe(403) + ->and(OperatorPage::actionStatus(true, 'delete', 'POST', true, $actions))->toBe(400) + ->and(OperatorPage::actionStatus(true, 'retry', 'GET', true, $actions))->toBe(405) + ->and(OperatorPage::actionStatus(true, 'retry', 'POST', false, $actions))->toBe(403) + ->and(OperatorPage::actionStatus(true, 'retry', 'POST', true, $actions))->toBe(200); +}); + +it('acknowledges only unchanged, current evidence for the acting user', function () { + $row = redfish_triage_fixture(); + $session = []; + $fingerprint = OperatorPage::fingerprint($row); + expect(OperatorPage::acknowledge($session, $row, $fingerprint, 2, 1000))->toBeTrue() + ->and(OperatorPage::acknowledged($session, $row, 2, 1000))->toBeTrue() + ->and(OperatorPage::acknowledged($session, $row, 3, 1000))->toBeFalse() + ->and(OperatorPage::acknowledged($session, $row, 2, 1021))->toBeFalse() + ->and(OperatorPage::acknowledged($session, array_replace($row, ['state' => 'ok']), 2, 1000))->toBeFalse() + ->and(OperatorPage::acknowledged($session, array_replace($row, ['observed' => 950]), 2, 1000))->toBeFalse() + ->and(OperatorPage::acknowledge($session, $row, 'forged', 2, 1000))->toBeFalse() + ->and(OperatorPage::acknowledge($session, $row, $fingerprint, 0, 1000))->toBeFalse() + ->and(OperatorPage::acknowledge($session, $row, $fingerprint, 2, 800))->toBeFalse(); +}); + +it('bounds personal acknowledgments and drops the previous users entries', function () { + $session = []; + + for ($i = 1; $i <= 120; $i++) { + $row = array_replace(redfish_triage_fixture(), ['id' => (string) $i]); + OperatorPage::acknowledge($session, $row, OperatorPage::fingerprint($row), 2, 1000); + } + expect($session['entries'])->toHaveCount(100) + ->and($session['entries'])->not->toHaveKey('1'); + $row = redfish_triage_fixture(); + OperatorPage::acknowledge($session, $row, OperatorPage::fingerprint($row), 3, 1000); + expect($session['entries'])->toHaveCount(1)->and($session['user'])->toBe(3); +}); + +it('never treats absent or future observations as fresh', function () { + $row = redfish_triage_fixture(); + expect(OperatorPage::fresh(array_replace($row, ['observed' => 0]), 1000))->toBeFalse() + ->and(OperatorPage::fresh(array_replace($row, ['observed' => 1001]), 1000))->toBeFalse() + ->and(OperatorPage::fresh($row, 1020))->toBeTrue() + ->and(OperatorPage::fresh($row, 1021))->toBeFalse(); +}); + +it('ignores malformed session acknowledgments without hiding current health', function () { + $row = redfish_triage_fixture(); + expect(OperatorPage::acknowledged(['user' => 2, 'entries' => 'bad'], $row, 2, 1000))->toBeFalse(); + $session = ['user' => 2, 'entries' => ['7' => ['at' => 'invalid']]]; + expect(OperatorPage::acknowledge($session, $row, OperatorPage::fingerprint($row), 2, 1000))->toBeTrue() + ->and($row['state'])->toBe('failed'); +}); diff --git a/tests/bin/lifecycle.php b/tests/bin/lifecycle.php index d8e6e31..c1edd52 100644 --- a/tests/bin/lifecycle.php +++ b/tests/bin/lifecycle.php @@ -238,6 +238,10 @@ $result = array('viewer_realms' => (int) db_fetch_cell_prepared('SELECT COUNT(*) FROM user_auth_realm WHERE user_id = ?', array($viewer))); db_execute("REPLACE INTO settings (name, value) VALUES ('admin_user', '1')"); + break; + case 'operator_roles': + include(__DIR__ . '/operator-roles.php'); + break; case 'state': break; diff --git a/tests/bin/operator-roles.php b/tests/bin/operator-roles.php new file mode 100644 index 0000000..240272e --- /dev/null +++ b/tests/bin/operator-roles.php @@ -0,0 +1,114 @@ + + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This file is part of plugin_redfish, a plugin for Cacti. + * https://github.com/somethingwithproof/plugin_redfish + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +// Executed only by lifecycle.php in a disposable Cacti database. +if (PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg') { + exit(1); +} + +if (getenv('REDFISH_TEST_DATABASE') !== 'disposable') { + exit(2); +} +require_once $config['library_path'] . '/auth.php'; +require_once $config['base_path'] . '/plugins/redfish/setup.php'; +redfish_boot(); +$view = \Somethingwithproof\Redfish\Pages::VIEW[0]; +$admin = \Somethingwithproof\Redfish\Pages::ADMIN[0]; +$operator = 'redfish_operator.php'; +api_plugin_load_realms(); +$old = [$view => $user_auth_realm_filenames[$view], $admin => $user_auth_realm_filenames[$admin]]; +// Emulate an installed two-realm release without modifying the existing IDs. +$operatorId = $user_auth_realm_filenames[$operator]; +db_execute_prepared('DELETE FROM user_auth_realm WHERE realm_id = ?', [$operatorId]); +db_execute_prepared('DELETE FROM plugin_realms WHERE id = ?', [$operatorId - 100]); +db_execute("DELETE FROM plugin_hooks WHERE name = 'redfish' AND hook = 'auth_alternate_realms'"); +db_execute("INSERT INTO user_auth (username, password, realm, full_name, enabled) VALUES ('redfish_role_test', '', 0, 'Role test', 'on')"); +$user = (int) db_fetch_insert_id(); +db_execute_prepared('INSERT INTO user_auth_realm (user_id, realm_id) VALUES (?, ?)', [$user, $old[$view]]); +$_SESSION = ['sess_user_id' => $user]; +plugin_redfish_upgrade(); +api_plugin_load_realms(); +$result = [ + 'ids_preserved' => $old === [$view => $user_auth_realm_filenames[$view], $admin => $user_auth_realm_filenames[$admin]], + 'viewer_grants' => array_map('intval', array_column(db_fetch_assoc_prepared('SELECT realm_id FROM user_auth_realm WHERE user_id = ?', [$user]), 'realm_id')), + 'expected_view' => $old[$view], + 'hook_enabled' => (int) db_fetch_cell("SELECT status FROM plugin_hooks WHERE name = 'redfish' AND hook = 'auth_alternate_realms'"), +]; +$realms = [$view => $user_auth_realm_filenames[$view], $operator => $user_auth_realm_filenames[$operator], $admin => $user_auth_realm_filenames[$admin]]; +$check = static function () use ($user, $view, $operator, $admin): array { + $_SESSION = ['sess_user_id' => $user]; + api_plugin_load_realms(); + redfish_auth_alternate_realms(); + + return [api_plugin_user_realm_auth($view), api_plugin_user_realm_auth($operator), api_plugin_user_realm_auth($admin)]; +}; + +foreach (['viewer' => $view, 'operator' => $operator, 'admin' => $admin] as $role => $file) { + db_execute_prepared('DELETE FROM user_auth_realm WHERE user_id = ?', [$user]); + db_execute_prepared('INSERT INTO user_auth_realm (user_id, realm_id) VALUES (?, ?)', [$user, $realms[$file]]); + $result[$role] = $check(); + + foreach ([$view, $operator, $admin] as $page) { + $_SERVER['SCRIPT_NAME'] = '/plugins/redfish/' . $page; + $_SESSION = []; + api_plugin_load_realms(); + redfish_auth_alternate_realms(); + $deferred = $user_auth_realm_filenames[$page] === -1; + // Both cookie restore and Basic auth establish the user after the hook. + $_SESSION = ['sess_user_id' => $user]; + $current_user = db_fetch_row_prepared('SELECT * FROM user_auth WHERE id = ?', [$user]); + $allowed = redfish_page_allowed(); + $result['first_request'][$role][] = [$deferred, $allowed, $user_auth_realm_filenames[$page] > 0]; + } +} +// A valid realm never enables a disabled account after authentication restore. +db_execute_prepared("UPDATE user_auth SET enabled = '' WHERE id = ?", [$user]); +foreach ([$view, $operator, $admin] as $page) { + $_SERVER['SCRIPT_NAME'] = '/plugins/redfish/' . $page; + $_SESSION = []; + api_plugin_load_realms(); + redfish_auth_alternate_realms(); + $_SESSION = ['sess_user_id' => $user]; + $current_user = db_fetch_row_prepared('SELECT * FROM user_auth WHERE id = ?', [$user]); + $result['disabled_user'][] = redfish_page_allowed(); +} +db_execute_prepared("UPDATE user_auth SET enabled = 'on' WHERE id = ?", [$user]); +db_execute_prepared('DELETE FROM user_auth_realm WHERE user_id = ?', [$user]); +$result['revoked'] = $check(); +foreach ([$view, $operator, $admin] as $page) { + $_SERVER['SCRIPT_NAME'] = '/plugins/redfish/' . $page; + $_SESSION = []; + api_plugin_load_realms(); + redfish_auth_alternate_realms(); + $_SESSION = ['sess_user_id' => $user]; + $current_user = db_fetch_row_prepared('SELECT * FROM user_auth WHERE id = ?', [$user]); + $result['first_request']['revoked'][] = redfish_page_allowed(); +} +db_execute("INSERT INTO user_auth_group (name, enabled) VALUES ('redfish_role_test', 'on')"); +$group = (int) db_fetch_insert_id(); +db_execute_prepared('INSERT INTO user_auth_group_members (group_id, user_id) VALUES (?, ?)', [$group, $user]); +db_execute_prepared('INSERT INTO user_auth_group_realm (group_id, realm_id) VALUES (?, ?)', [$group, $realms[$operator]]); +$result['group_operator'] = $check(); +db_execute_prepared("UPDATE user_auth_group SET enabled = '' WHERE id = ?", [$group]); +$result['disabled_group'] = $check(); +db_execute_prepared('DELETE FROM user_auth_group_realm WHERE group_id = ?', [$group]); +db_execute_prepared('DELETE FROM user_auth_group_members WHERE group_id = ?', [$group]); +db_execute_prepared('DELETE FROM user_auth_group WHERE id = ?', [$group]); +db_execute_prepared('DELETE FROM user_auth WHERE id = ?', [$user]); +$_SESSION = []; diff --git a/tests/check_translations.py b/tests/check_translations.py new file mode 100644 index 0000000..c3f1146 --- /dev/null +++ b/tests/check_translations.py @@ -0,0 +1,153 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-FileCopyrightText: 2026 Thomas Vincent +"""Check required catalogs and translated user guides without third-party packages.""" + +import ast +import gettext +import hashlib +import json +from pathlib import Path +import re +import sys +from urllib.parse import unquote, urlsplit + + +LOCALES = ("zh-CN", "hi-IN", "es-ES", "es-419", "ar-SA") +NAVIGATION = re.compile(r"\n.*?\n\n?", re.S) +HEADER = re.compile(r"") +TOKENS = re.compile(r"%(?:\d+\$)?[-+ 0#]*\d*(?:\.\d+)?[sdfuxXcoeEgGi]|%%|<[^>]*>") + + +def messages(path): + result = [] + for block in path.read_text().split("\n\n"): + fields = {} + current = None + for line in block.splitlines(): + match = re.match(r'(msgid_plural|msgid) (".*")$', line) + if match: + current = match[1] + fields[current] = ast.literal_eval(match[2]) + elif line.startswith('"') and current: + fields[current] += ast.literal_eval(line) + else: + current = None + if fields.get("msgid"): + result.append(fields) + return result + + +def edges(text): + return (text[:len(text) - len(text.lstrip())], text[len(text.rstrip()):]) + + +def source_text(text): + return NAVIGATION.sub("", text) + + +def code_blocks(text): + blocks = [] + fence = None + content = [] + language = "" + for line in text.splitlines(): + match = re.match(r"^\s*(`{3,}|~{3,})(.*)$", line) + if fence is None and match: + fence, language = match[1][0], match[2].strip() + content = [] + elif fence is not None and match and match[1][0] == fence: + if language != "mermaid": + blocks.append("\n".join(content)) + fence = None + elif fence is not None: + content.append(line) + if fence is not None: + raise ValueError("unclosed code fence") + return blocks + + +def links(text): + # Fenced examples can contain literal Markdown and URLs that are not links. + text = re.sub(r"(?ms)^\s*(```|~~~).*?^\s*\1\s*$", "", text) + result = re.findall(r"\]\(]+)>?(?:\s+[\"'][^\n]*?[\"'])?\)", text) + result.extend(re.findall(r"(?:href|src|srcset)=[\"']([^\"']+)[\"']", text)) + return result + + +def heading_levels(text): + text = re.sub(r"(?ms)^\s*(```|~~~).*?^\s*\1\s*$", "", text) + return [len(level) for level in re.findall(r"^(#{1,6})\s+", text, re.M)] + + +def validate(root): + failures = [] + manifest_path = root / "docs/i18n/manifest.json" + manifest = json.loads(manifest_path.read_text()) + sources = manifest["sources"] + if manifest["locales"] != list(LOCALES): + failures.append("manifest locales must include both Spanish variants") + if "README.md" not in sources or len(sources) != len(set(sources)): + failures.append("manifest needs README.md and unique source paths") + template = messages(root / "locales/po/cacti.pot") + for locale in LOCALES: + for path in (root / "locales/po" / (locale + ".po"), root / "locales/LC_MESSAGES" / (locale + ".mo")): + if not path.is_file(): + failures.append("missing catalog: " + str(path.relative_to(root))) + mo = root / "locales/LC_MESSAGES" / (locale + ".mo") + if mo.is_file(): + with mo.open("rb") as stream: + catalog = gettext.GNUTranslations(stream) + if catalog.info().get("language") != locale: + failures.append("wrong compiled language header: " + locale) + for entry in template: + original = entry["msgid"] + values = [catalog.gettext(original)] + if "msgid_plural" in entry: + values = [catalog.ngettext(original, entry["msgid_plural"], n) for n in (0, 1, 2, 3, 11, 100)] + for value in values: + if sorted(TOKENS.findall(original)) != sorted(TOKENS.findall(value)) or edges(original) != edges(value): + failures.append("placeholder, markup or whitespace mismatch: " + locale + ": " + original) + for source in sources: + original = root / source + translated = root / "docs/i18n" / locale / source + label = str(translated.relative_to(root)) + if not original.is_file() or not translated.is_file(): + failures.append("missing source or translation: " + label) + continue + english = source_text(original.read_text()) + text = translated.read_text() + header = HEADER.search(text) + digest = hashlib.sha256(english.encode()).hexdigest() + if header is None or header[1] != source or header[2] != digest: + failures.append("source changed; review and refresh translation: " + label) + body = re.sub(r'^\n', "", text, flags=re.M) + if source_text(HEADER.sub("", body)).strip() == english.strip(): + failures.append("translation is an English copy: " + label) + if heading_levels(english) != heading_levels(text): + failures.append("heading structure differs from source: " + label) + try: + if code_blocks(english) != code_blocks(text): + failures.append("code examples differ from source: " + label) + except ValueError as error: + failures.append(str(error) + ": " + label) + for link in links(text): + parts = urlsplit(link) + if parts.scheme or parts.netloc or not parts.path or parts.path.startswith("/"): + continue + target = (translated.parent / unquote(parts.path)).resolve() + if not target.is_relative_to(root.resolve()) or not target.exists(): + failures.append("broken local link: " + label + " -> " + link) + if failures: + print("\n".join(failures), file=sys.stderr) + return 1 + print(f"Verified {len(LOCALES)} locale catalogs and {len(sources) * len(LOCALES)} translated guides") + return 0 + + +if __name__ == "__main__": + try: + sys.exit(validate(Path(__file__).resolve().parents[1])) + except (OSError, ValueError, KeyError) as error: + print("Translation validation failed: " + str(error), file=sys.stderr) + sys.exit(1) From f68140abdc8f25b19ad27cdd14276bc868bc4d5c Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Tue, 17 Nov 2026 02:47:28 -0800 Subject: [PATCH 2/3] test: align compatibility checks with registered plugin realms Signed-off-by: Thomas Vincent --- tests/bin/php-guard-check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bin/php-guard-check.php b/tests/bin/php-guard-check.php index e71e41b..c62f973 100644 --- a/tests/bin/php-guard-check.php +++ b/tests/bin/php-guard-check.php @@ -130,7 +130,7 @@ function guard_call_shims() { if ($supported) { guard_expect($state['status'] == 1, 'install and enable succeed (status ' . $state['status'] . ')'); guard_expect($state['tables'] === count(\Somethingwithproof\Redfish\Schema::tables()), 'every plugin table exists (' . $state['tables'] . ')'); - guard_expect($state['hooks'] >= 3 && $state['realms'] === 2, 'hooks and realms are registered'); + guard_expect($state['hooks'] >= 3 && $state['realms'] === 3, 'hooks and realms are registered'); } else { guard_expect($state['status'] == 2, 'plugin is left as needing configuration, not enabled (status ' . $state['status'] . ')'); guard_expect($state['tables'] === 0 && $state['hooks'] === 0 && $state['realms'] === 0, 'no tables, hooks, or realms were created'); From 6e38b44aded73c61337474d58828dfd6e0d5605a Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Tue, 17 Nov 2026 03:12:14 -0800 Subject: [PATCH 3/3] fix: preserve scoped operator failures and refresh user guides Signed-off-by: Thomas Vincent --- README.md | 2 +- docs/i18n/ar-SA/README.md | 4 ++-- docs/i18n/es-419/README.md | 4 ++-- docs/i18n/es-ES/README.md | 4 ++-- docs/i18n/hi-IN/README.md | 4 ++-- docs/i18n/zh-CN/README.md | 4 ++-- include/operator.php | 11 ++++++++--- lib/HealthRepository.php | 4 ++-- locales/LC_MESSAGES/hi-IN.mo | Bin 38959 -> 38970 bytes locales/po/hi-IN.po | 2 +- redfish_operator.php | 2 +- setup.php | 7 +++++++ tests/Unit/OperatorTest.php | 26 ++++++++++++++++++++++++ tests/bootstrap-unit.php | 6 ++++++ tests/check_translations.py | 37 +++++++++++++++++++++++------------ 15 files changed, 86 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 8d60f7f..d0ddd07 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Cacti covers part of this today: - **A credential type without a collector.** plugin_credentials defines an "IPMI / Redfish (BMC)" credential but reads no BMC. - **No rack-level view.** Cacti core has no rack object; a device has a free-text `location` field. -The plugin polls BMCs out of band from Cacti's poll cycle, caches normalized readings, and exposes them through a script server data query and summary data sources. It reuses Cacti's graphing, permissions, Thold, Maint, and remote data collectors, and does not change BMC state. +The plugin polls BMCs out of band from Cacti's poll cycle, caches normalized readings, and exposes them through a script server data query and summary data sources. It reuses Cacti's graphing, permissions, Thold, and Maint, and does not change BMC state. Remote data collector support is planned for phase 4; current collection runs on the main poller only. ## Planned scope diff --git a/docs/i18n/ar-SA/README.md b/docs/i18n/ar-SA/README.md index 0a6c2eb..4e7cc1c 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) @@ -61,7 +61,7 @@ - **نوع بيانات اعتماد دون جامع.** يعرّف plugin_credentials بيانات اعتماد «IPMI / Redfish (BMC)» لكنه لا يقرأ BMC. - **غياب عرض الرفوف.** لا يملك نواة Cacti كائن رف؛ للجهاز حقل نص حر `location`. -تستطلع الإضافة وحدات BMC خارج دورة استطلاع Cacti، وتخزن قراءات موحدة وتعرضها عبر استعلام خادم سكربتات ومصادر بيانات ملخصة. تعيد استخدام رسوم Cacti وصلاحياته وThold وMaint وجامعاته البعيدة، ولا تغيّر حالة BMC. +تستطلع الإضافة وحدات BMC خارج دورة استطلاع Cacti، وتخزن قراءات موحدة وتعرضها عبر استعلام خادم سكربتات ومصادر بيانات ملخصة. تعيد استخدام رسوم Cacti وصلاحياته وThold وMaint، ولا تغيّر حالة BMC. دعم جامعات البيانات البعيدة مخطط للمرحلة 4؛ ويعمل الجمع حاليًا على المستطلع الرئيسي فقط. ## النطاق المخطط diff --git a/docs/i18n/es-419/README.md b/docs/i18n/es-419/README.md index 7526cbb..53cdc7a 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) @@ -61,7 +61,7 @@ Cacti ya cubre parte de estas necesidades: - **Un tipo de credencial sin recopilador.** plugin_credentials define una credencial «IPMI / Redfish (BMC)», pero no lee ningún BMC. - **Sin vista por rack.** El núcleo de Cacti no tiene un objeto rack; los dispositivos tienen un campo libre `location`. -El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold, Maint y recopiladores remotos de Cacti, sin cambiar el estado de los BMC. +El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold y Maint de Cacti, sin cambiar el estado de los BMC. La compatibilidad con recopiladores remotos está prevista para la fase 4; actualmente la recopilación se ejecuta solo en el sondeador principal. ## Alcance previsto diff --git a/docs/i18n/es-ES/README.md b/docs/i18n/es-ES/README.md index f3a94e2..e2acd70 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) @@ -61,7 +61,7 @@ Cacti ya cubre parte de estas necesidades: - **Un tipo de credencial sin recopilador.** plugin_credentials define una credencial «IPMI / Redfish (BMC)», pero no lee ningún BMC. - **Sin vista por rack.** El núcleo de Cacti no tiene un objeto rack; los dispositivos tienen un campo libre `location`. -El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold, Maint y recopiladores remotos de Cacti, sin cambiar el estado de los BMC. +El complemento sondea los BMC fuera del ciclo de sondeo de Cacti, guarda lecturas normalizadas y las expone mediante consultas del servidor de scripts y fuentes de resumen. Reutiliza gráficos, permisos, Thold y Maint de Cacti, sin cambiar el estado de los BMC. La compatibilidad con recopiladores remotos está prevista para la fase 4; actualmente la recopilación se ejecuta solo en el sondeador principal. ## Alcance previsto diff --git a/docs/i18n/hi-IN/README.md b/docs/i18n/hi-IN/README.md index 737b266..e072607 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) @@ -61,7 +61,7 @@ Cacti आज इसका कुछ भाग उपलब्ध कराता - **कलेक्टर के बिना क्रेडेंशियल प्रकार।** plugin_credentials "IPMI / Redfish (BMC)" क्रेडेंशियल परिभाषित करता है, पर BMC नहीं पढ़ता। - **रैक-स्तरीय दृश्य नहीं।** Cacti कोर में रैक ऑब्जेक्ट नहीं है; डिवाइस का `location` मुक्त पाठ फ़ील्ड है। -प्लगइन Cacti पोल चक्र से बाहर BMC पढ़ता है, मानकीकृत रीडिंग कैश करता है और स्क्रिप्ट सर्वर क्वेरी तथा सारांश डेटा स्रोतों से देता है। यह Cacti ग्राफ़, अनुमतियाँ, Thold, Maint और दूरस्थ डेटा कलेक्टर पुनः उपयोग करता है तथा BMC स्थिति नहीं बदलता। +प्लगइन Cacti पोल चक्र से बाहर BMC पढ़ता है, मानकीकृत रीडिंग कैश करता है और स्क्रिप्ट सर्वर क्वेरी तथा सारांश डेटा स्रोतों से देता है। यह Cacti ग्राफ़, अनुमतियाँ, Thold और Maint पुनः उपयोग करता है तथा BMC स्थिति नहीं बदलता। दूरस्थ डेटा कलेक्टर समर्थन चरण 4 के लिए नियोजित है; अभी संग्रह केवल मुख्य पोलर पर चलता है। ## नियोजित दायरा diff --git a/docs/i18n/zh-CN/README.md b/docs/i18n/zh-CN/README.md index 1405d12..33e8e41 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) @@ -61,7 +61,7 @@ Cacti 目前已覆盖其中部分需求: - **有凭据类型但无采集器。** plugin_credentials 定义了“IPMI / Redfish (BMC)”凭据,但不读取 BMC。 - **缺少机架视图。** Cacti 核心没有机架对象;设备只有自由文本 `location` 字段。 -插件独立于 Cacti 轮询周期带外轮询 BMC,缓存规范化读数,并通过脚本服务器数据查询及汇总数据源提供这些数据。它复用 Cacti 图表、权限、Thold、Maint 和远程数据采集器,不更改 BMC 状态。 +插件独立于 Cacti 轮询周期带外轮询 BMC,缓存规范化读数,并通过脚本服务器数据查询及汇总数据源提供这些数据。它复用 Cacti 图表、权限、Thold 和 Maint,不更改 BMC 状态。远程数据采集器支持计划在阶段 4 实现;当前仅在主轮询器上采集。 ## 计划范围 diff --git a/include/operator.php b/include/operator.php index 071b82b..a39f2b1 100644 --- a/include/operator.php +++ b/include/operator.php @@ -18,15 +18,18 @@ */ use Somethingwithproof\Redfish\HealthRepository; -use Somethingwithproof\Redfish\HealthPage; use Somethingwithproof\Redfish\BmcHealth; /** @return list */ function redfish_operator_rows(): array { $rows = []; $health = new HealthRepository(false); + $scope = redfish_device_scope(); - foreach (HealthPage::visible(redfish_device_scope()->filter(redfish_bmcs()->all()), false) as $bmc) { + foreach (redfish_bmcs()->all() as $bmc) { + if ($bmc->hostId <= 0 || !$scope->allowsNew($bmc->hostId)) { + continue; + } $h = $health->find($bmc->id) ?? new BmcHealth($bmc->id); $rows[] = [ 'id' => (string) $bmc->id, @@ -43,5 +46,7 @@ function redfish_operator_rows(): array { /** The caller has reloaded this BMC within the current device scope. */ function redfish_operator_retry(int $id): void { - (new HealthRepository(false))->clearHolds($id); + if (!(new HealthRepository(false))->clearHolds($id)) { + throw new RuntimeException('Collection hold could not be released'); + } } diff --git a/lib/HealthRepository.php b/lib/HealthRepository.php index 1742b8a..2db21ae 100644 --- a/lib/HealthRepository.php +++ b/lib/HealthRepository.php @@ -69,8 +69,8 @@ public function recordSession(int $bmcId, string $holder, string $path, int $now * Clear backoff, a held authentication failure, and the lost-session * budget: an administrator edited the BMC or asked for a retry. */ - public function clearHolds(int $bmcId): void { - db_execute_prepared('UPDATE plugin_redfish_health SET failures = 0, backoff_until = 0, sessions_lost = 0, auth_credential_id = 0, auth_revision = 0 WHERE bmc_id = ?', [$bmcId], true, $this->connection); + public function clearHolds(int $bmcId): bool { + return db_execute_prepared('UPDATE plugin_redfish_health SET failures = 0, backoff_until = 0, sessions_lost = 0, auth_credential_id = 0, auth_revision = 0 WHERE bmc_id = ?', [$bmcId], true, $this->connection); } /** diff --git a/locales/LC_MESSAGES/hi-IN.mo b/locales/LC_MESSAGES/hi-IN.mo index 7ea04d218572902a31d6788635688c6385b46573..aa8ab070369c2b4c8b5313368b7922a0f9b8dff8 100644 GIT binary patch delta 162 zcmZ3#foazUrVU4U>opk|7$PPyF!(bvFf;*a4Iuy0WCn%_K>9b3)(6r(Qy3V0fbWa)pQ1iR3PmIq=kX>1|SU*KLVshf%Fw9{R&9S0Qn3vfMx(G g*%=IM3_?JL`esi)xt7UuGC3zZ2MTU3o3xV^0N#-yNdN!< delta 158 zcmdnBfoc5)rVU4U>*W|27$PPyF!(bvFq8vn4IuycWCn%_K>7oa)(6s!Qy3V0fb>Qn z9R#HR0qMIy^?_3v82EvF{pk!0sX*EuNDBk$r9c`az7t4`0_l@b`aY1B0rI~BX-*(5 bG=qVSK?ul@+3d+D*D_hwn}2iTq@An)p6MXS diff --git a/locales/po/hi-IN.po b/locales/po/hi-IN.po index aec55b6..2defc99 100644 --- a/locales/po/hi-IN.po +++ b/locales/po/hi-IN.po @@ -362,7 +362,7 @@ msgstr "पासवर्ड" #: lib/CredentialsPage.php msgid "Used By" -msgstr "उपयोगकर्ता" +msgstr "उपयोग करने वाले" #: lib/CredentialsPage.php msgid "User Name" diff --git a/redfish_operator.php b/redfish_operator.php index fd7e4fd..c165490 100644 --- a/redfish_operator.php +++ b/redfish_operator.php @@ -37,13 +37,13 @@ } $actions = ['retry' => __('Retry collection', 'redfish')]; $action = (string) get_nfilter_request_var('action'); -$now = time(); $session = $_SESSION['redfish_triage'] ?? []; $session = is_array($session) ? $session : []; try { // Re-read on POST too: stale forms never retain revoked device access. $rows = redfish_operator_rows(); + $now = time(); if ($action !== '' && $action !== 'default') { $method = $_SERVER['REQUEST_METHOD'] ?? ''; diff --git a/setup.php b/setup.php index a1df487..9b7693a 100644 --- a/setup.php +++ b/setup.php @@ -406,10 +406,17 @@ function redfish_config_settings(): void { * @return array */ function redfish_draw_navigation_text($nav) { + global $current_user; + if (!redfish_boot()) { return $nav; } + // Refresh settings after core restores cookie or Basic authentication. + if (get_current_page() === 'settings.php' && (PHP_SAPI === 'cli' || ($current_user['enabled'] ?? '') === 'on')) { + redfish_config_settings(); + } + return array_merge($nav, \Somethingwithproof\Redfish\Pages::navigation()); } diff --git a/tests/Unit/OperatorTest.php b/tests/Unit/OperatorTest.php index 0966816..3ba7bea 100644 --- a/tests/Unit/OperatorTest.php +++ b/tests/Unit/OperatorTest.php @@ -76,3 +76,29 @@ function redfish_triage_fixture(): array { expect(OperatorPage::acknowledge($session, $row, OperatorPage::fingerprint($row), 2, 1000))->toBeTrue() ->and($row['state'])->toBe('failed'); }); + +it('excludes operator observations whose mapped device has been removed', function () { + require_once dirname(__DIR__, 2) . '/include/operator.php'; + $original = $GLOBALS['__redfish_db_rows']; + $GLOBALS['__redfish_db_rows'] = [ + 'FROM plugin_redfish_bmc' => [['id' => 1, 'name' => 'Removed device', 'address' => '192.0.2.1', 'port' => 443, 'host_id' => 7, 'credential_id' => 1, 'admin_state' => 'enabled']], + 'FROM host' => [['count' => 0]], + ]; + try { + expect(redfish_operator_rows())->toBe([]); + } finally { + $GLOBALS['__redfish_db_rows'] = $original; + } +}); + +it('reports a failed hold release instead of completing the operator action', function () { + require_once dirname(__DIR__, 2) . '/include/operator.php'; + $GLOBALS['__redfish_db_fail'] = ['UPDATE plugin_redfish_health']; + try { + expect(fn () => redfish_operator_retry(7))->toThrow(RuntimeException::class, 'Collection hold could not be released'); + $GLOBALS['__redfish_db_fail'] = []; + expect((new Somethingwithproof\Redfish\HealthRepository(false))->clearHolds(7))->toBeTrue(); + } finally { + unset($GLOBALS['__redfish_db_fail']); + } +}); diff --git a/tests/bootstrap-unit.php b/tests/bootstrap-unit.php index 5e6574f..7b9dcd2 100644 --- a/tests/bootstrap-unit.php +++ b/tests/bootstrap-unit.php @@ -101,6 +101,12 @@ function redfish_test_rows(string $sql): mixed { function db_execute_prepared($sql, $params = [], $log = true, $db_conn = false, $log_function = null) { $GLOBALS['__redfish_db_exec'][] = ['sql' => $sql, 'params' => $params]; + foreach ($GLOBALS['__redfish_db_fail'] ?? [] as $needle) { + if (str_contains($sql, $needle)) { + return false; + } + } + return true; } } diff --git a/tests/check_translations.py b/tests/check_translations.py index c3f1146..316e179 100644 --- a/tests/check_translations.py +++ b/tests/check_translations.py @@ -21,7 +21,7 @@ def messages(path): result = [] - for block in path.read_text().split("\n\n"): + for block in path.read_text(encoding="utf-8").split("\n\n"): fields = {} current = None for line in block.splitlines(): @@ -46,44 +46,55 @@ def source_text(text): return NAVIGATION.sub("", text) -def code_blocks(text): +def fenced_sections(text: str) -> tuple[list[tuple[str, str]], str]: blocks = [] + prose = [] fence = None content = [] language = "" for line in text.splitlines(): - match = re.match(r"^\s*(`{3,}|~{3,})(.*)$", line) + match = re.match(r"^[ \t]*(`{3,}|~{3,})(.*)$", line) if fence is None and match: - fence, language = match[1][0], match[2].strip() + fence, language = match[1], match[2].strip() content = [] - elif fence is not None and match and match[1][0] == fence: - if language != "mermaid": - blocks.append("\n".join(content)) + prose.append("") + elif (fence is not None and match + and match[1][0] == fence[0] + and len(match[1]) >= len(fence) + and not match[2].strip()): + blocks.append((language, "\n".join(content))) fence = None elif fence is not None: content.append(line) + else: + prose.append(line) if fence is not None: raise ValueError("unclosed code fence") - return blocks + return blocks, "\n".join(prose) + + +def code_blocks(text): + blocks, _ = fenced_sections(text) + return [content for language, content in blocks if language != "mermaid"] def links(text): # Fenced examples can contain literal Markdown and URLs that are not links. - text = re.sub(r"(?ms)^\s*(```|~~~).*?^\s*\1\s*$", "", text) + _, text = fenced_sections(text) result = re.findall(r"\]\(]+)>?(?:\s+[\"'][^\n]*?[\"'])?\)", text) result.extend(re.findall(r"(?:href|src|srcset)=[\"']([^\"']+)[\"']", text)) return result def heading_levels(text): - text = re.sub(r"(?ms)^\s*(```|~~~).*?^\s*\1\s*$", "", text) + _, text = fenced_sections(text) return [len(level) for level in re.findall(r"^(#{1,6})\s+", text, re.M)] def validate(root): failures = [] manifest_path = root / "docs/i18n/manifest.json" - manifest = json.loads(manifest_path.read_text()) + manifest = json.loads(manifest_path.read_text(encoding="utf-8")) sources = manifest["sources"] if manifest["locales"] != list(LOCALES): failures.append("manifest locales must include both Spanish variants") @@ -115,8 +126,8 @@ def validate(root): if not original.is_file() or not translated.is_file(): failures.append("missing source or translation: " + label) continue - english = source_text(original.read_text()) - text = translated.read_text() + english = source_text(original.read_text(encoding="utf-8")) + text = translated.read_text(encoding="utf-8") header = HEADER.search(text) digest = hashlib.sha256(english.encode()).hexdigest() if header is None or header[1] != source or header[2] != digest: