Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/units/?format=api&page=6
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/units/?format=api&page=7", "previous": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/units/?format=api&page=5", "results": [ { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "====== Hardware Configuration" ], "previous_source": "", "target": [ "" ], "id_hash": 3430054477967800796, "content_hash": 3430054477967800796, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1036", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 251, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/888993/?format=api", "priority": 100, "id": 9220123, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=af9a005fdf8239dc", "url": "https://translate.fedoraproject.org/api/units/9220123/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.937259Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The `Host Resources MIB` included with Net-SNMP presents information about the current hardware and software configuration of a host to a client utility. xref:System_Monitoring_Tools.adoc#tabl-System_Monitoring_Tools-Net-SNMP-OIDs[Available OIDs] summarizes the different OIDs available under that MIB." ], "previous_source": "", "target": [ "" ], "id_hash": -6705661653118661429, "content_hash": -6705661653118661429, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1038", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 252, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate.fedoraproject.org/api/units/888999/?format=api", "priority": 100, "id": 9220124, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=22f0b4412de74ccb", "url": "https://translate.fedoraproject.org/api/units/9220124/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.939208Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Available OIDs" ], "previous_source": "", "target": [ "" ], "id_hash": 2548722039714385389, "content_hash": 2548722039714385389, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1040", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 253, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/889005/?format=api", "priority": 100, "id": 9220125, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=a35ee13100628ded", "url": "https://translate.fedoraproject.org/api/units/9220125/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.941323Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "|OID|Description\n|`HOST-RESOURCES-MIB::hrSystem`|Contains general system information such as uptime, number of users, and number of running processes.\n|`HOST-RESOURCES-MIB::hrStorage`|Contains data on memory and file system usage.\n|`HOST-RESOURCES-MIB::hrDevices`|Contains a listing of all processors, network devices, and file systems.\n|`HOST-RESOURCES-MIB::hrSWRun`|Contains a listing of all running processes.\n|`HOST-RESOURCES-MIB::hrSWRunPerf`|Contains memory and CPU statistics on the process table from HOST-RESOURCES-MIB::hrSWRun.\n|`HOST-RESOURCES-MIB::hrSWInstalled`|Contains a listing of the RPM database.\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8893929644295975471, "content_hash": 8893929644295975471, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1051", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 254, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 60, "source_unit": "https://translate.fedoraproject.org/api/units/889011/?format=api", "priority": 100, "id": 9220126, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=fb6d95e3b193f22f", "url": "https://translate.fedoraproject.org/api/units/9220126/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.943583Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "There are also a number of SNMP tables available in the Host Resources MIB which can be used to retrieve a summary of the available information. The following example displays `HOST-RESOURCES-MIB::hrFSTable`:" ], "previous_source": "", "target": [ "" ], "id_hash": -6273644581251482005, "content_hash": -6273644581251482005, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1054", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 255, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate.fedoraproject.org/api/units/889017/?format=api", "priority": 100, "id": 9220127, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=28ef897e17737e6b", "url": "https://translate.fedoraproject.org/api/units/9220127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.945631Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmptable -Cb localhost HOST-RESOURCES-MIB::hrFSTable#\nSNMP table: HOST-RESOURCES-MIB::hrFSTable\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5640581668340543106, "content_hash": -5640581668340543106, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1059", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 256, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/889025/?format=api", "priority": 100, "id": 9220128, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=31b8a0db93fb517e", "url": "https://translate.fedoraproject.org/api/units/9220128/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.947720Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ " Index MountPoint RemoteMountPoint Type\n Access Bootable StorageIndex LastFullBackupDate LastPartialBackupDate\n 1 \"/\" \"\" HOST-RESOURCES-TYPES::hrFSLinuxExt2\n readWrite true 31 0-1-1,0:0:0.0 0-1-1,0:0:0.0\n 5 \"/dev/shm\" \"\" HOST-RESOURCES-TYPES::hrFSOther\n readWrite false 35 0-1-1,0:0:0.0 0-1-1,0:0:0.0\n 6 \"/boot\" \"\" HOST-RESOURCES-TYPES::hrFSLinuxExt2\n readWrite false 36 0-1-1,0:0:0.0 0-1-1,0:0:0.0\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1648256691673120492, "content_hash": 1648256691673120492, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1068", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 257, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate.fedoraproject.org/api/units/889029/?format=api", "priority": 100, "id": 9220129, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=96dfc8ba6dd63eec", "url": "https://translate.fedoraproject.org/api/units/9220129/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.949993Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "For more information about `HOST-RESOURCES-MIB`, see the `/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt` file." ], "previous_source": "", "target": [ "" ], "id_hash": -1387887012431424486, "content_hash": -1387887012431424486, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1071", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 258, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/889035/?format=api", "priority": 100, "id": 9220130, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=6cbd3c1d93a5941a", "url": "https://translate.fedoraproject.org/api/units/9220130/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.952178Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "====== CPU and Memory Information" ], "previous_source": "", "target": [ "" ], "id_hash": 730942412277813419, "content_hash": 730942412277813419, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1074", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 259, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/889041/?format=api", "priority": 100, "id": 9220131, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=8a24d440531610ab", "url": "https://translate.fedoraproject.org/api/units/9220131/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.954157Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Most system performance data is available in the `UCD SNMP MIB`. The `systemStats` OID provides a number of counters around processor usage:" ], "previous_source": "", "target": [ "" ], "id_hash": -6498980902480719697, "content_hash": -6498980902480719697, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1076", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 260, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/889047/?format=api", "priority": 100, "id": 9220132, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=25cefb4d6196d0af", "url": "https://translate.fedoraproject.org/api/units/9220132/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.957265Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmpwalk localhost UCD-SNMP-MIB::systemStats#\nUCD-SNMP-MIB::ssIndex.0 = INTEGER: 1\nUCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats\nUCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 kB\nUCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 kB\nUCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0 blocks/s\nUCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0 blocks/s\nUCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 29 interrupts/s\nUCD-SNMP-MIB::ssSysContext.0 = INTEGER: 18 switches/s\nUCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0\nUCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0\nUCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 99\nUCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 2278\nUCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 1395\nUCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 6826\nUCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 3383736\nUCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 7629\nUCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0\nUCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 434\nUCD-SNMP-MIB::ssIORawSent.0 = Counter32: 266770\nUCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 427302\nUCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 743442\nUCD-SNMP-MIB::ssRawContexts.0 = Counter32: 718557\nUCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 128\nUCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0\nUCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1041767950181214190, "content_hash": 1041767950181214190, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1105", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 261, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 110, "source_unit": "https://translate.fedoraproject.org/api/units/889053/?format=api", "priority": 100, "id": 9220133, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=8e751a6e60f027ee", "url": "https://translate.fedoraproject.org/api/units/9220133/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.959483Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "In particular, the `ssCpuRawUser`, `ssCpuRawSystem`, `ssCpuRawWait`, and `ssCpuRawIdle` OIDs provide counters which are helpful when determining whether a system is spending most of its processor time in kernel space, user space, or I/O. `ssRawSwapIn` and `ssRawSwapOut` can be helpful when determining whether a system is suffering from memory exhaustion." ], "previous_source": "", "target": [ "" ], "id_hash": -8332364810695357366, "content_hash": -8332364810695357366, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1108", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 262, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 49, "source_unit": "https://translate.fedoraproject.org/api/units/889058/?format=api", "priority": 100, "id": 9220134, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=0c5d7e59f789cc4a", "url": "https://translate.fedoraproject.org/api/units/9220134/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.961915Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "More memory information is available under the `UCD-SNMP-MIB::memory` OID, which provides similar data to the [command]#free# command:" ], "previous_source": "", "target": [ "" ], "id_hash": -7543493530181241071, "content_hash": -7543493530181241071, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1110", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 263, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate.fedoraproject.org/api/units/889065/?format=api", "priority": 100, "id": 9220135, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=17502099f816f711", "url": "https://translate.fedoraproject.org/api/units/9220135/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.964964Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmpwalk localhost UCD-SNMP-MIB::memory#\nUCD-SNMP-MIB::memIndex.0 = INTEGER: 0\nUCD-SNMP-MIB::memErrorName.0 = STRING: swap\nUCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1023992 kB\nUCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1023992 kB\nUCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1021588 kB\nUCD-SNMP-MIB::memAvailReal.0 = INTEGER: 634260 kB\nUCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1658252 kB\nUCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB\nUCD-SNMP-MIB::memBuffer.0 = INTEGER: 30760 kB\nUCD-SNMP-MIB::memCached.0 = INTEGER: 216200 kB\nUCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)\nUCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8727079147798288187, "content_hash": -8727079147798288187, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1126", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 264, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 59, "source_unit": "https://translate.fedoraproject.org/api/units/889070/?format=api", "priority": 100, "id": 9220136, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=06e32fc0ccc3a8c5", "url": "https://translate.fedoraproject.org/api/units/9220136/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.967743Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Load averages are also available in the `UCD SNMP MIB`. The SNMP table `UCD-SNMP-MIB::laTable` has a listing of the 1, 5, and 15 minute load averages:" ], "previous_source": "", "target": [ "" ], "id_hash": 9033669514841973441, "content_hash": 9033669514841973441, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1129", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 265, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate.fedoraproject.org/api/units/889075/?format=api", "priority": 100, "id": 9220137, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=fd5e0a8fb26e62c1", "url": "https://translate.fedoraproject.org/api/units/9220137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.971821Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmptable localhost UCD-SNMP-MIB::laTable#\nSNMP table: UCD-SNMP-MIB::laTable\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7460223301180214422, "content_hash": -7460223301180214422, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1134", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 266, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/889081/?format=api", "priority": 100, "id": 9220138, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=1877f66efc0fb36a", "url": "https://translate.fedoraproject.org/api/units/9220138/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.974629Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ " laIndex laNames laLoad laConfig laLoadInt laLoadFloat laErrorFlag laErrMessage\n 1 Load-1 0.00 12.00 0 0.000000 noError\n 2 Load-5 0.00 12.00 0 0.000000 noError\n 3 Load-15 0.00 12.00 0 0.000000 noError\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5116315206435065886, "content_hash": -5116315206435065886, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1139", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 267, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate.fedoraproject.org/api/units/889087/?format=api", "priority": 100, "id": 9220139, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=38ff326d59822fe2", "url": "https://translate.fedoraproject.org/api/units/9220139/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.978363Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "====== File System and Disk Information" ], "previous_source": "", "target": [ "" ], "id_hash": -5880317546839810631, "content_hash": -5880317546839810631, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1143", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 268, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/889094/?format=api", "priority": 100, "id": 9220140, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=2e64ea58ae1dddb9", "url": "https://translate.fedoraproject.org/api/units/9220140/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.983027Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The `Host Resources MIB` provides information on file system size and usage. Each file system (and also each memory pool) has an entry in the `HOST-RESOURCES-MIB::hrStorageTable` table:" ], "previous_source": "", "target": [ "" ], "id_hash": -498184178924142968, "content_hash": -498184178924142968, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1145", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 269, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/889100/?format=api", "priority": 100, "id": 9220141, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=79161820f681be88", "url": "https://translate.fedoraproject.org/api/units/9220141/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.985762Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmptable -Cb localhost HOST-RESOURCES-MIB::hrStorageTable#\nSNMP table: HOST-RESOURCES-MIB::hrStorageTable\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5592006726811513496, "content_hash": 5592006726811513496, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1150", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 270, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/889106/?format=api", "priority": 100, "id": 9220142, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=cd9acc7d8531f298", "url": "https://translate.fedoraproject.org/api/units/9220142/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.988408Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ " Index Type Descr\nAllocationUnits Size Used AllocationFailures\n 1 HOST-RESOURCES-TYPES::hrStorageRam Physical memory\n1024 Bytes 1021588 388064 ?\n 3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Virtual memory\n1024 Bytes 2045580 388064 ?\n 6 HOST-RESOURCES-TYPES::hrStorageOther Memory buffers\n1024 Bytes 1021588 31048 ?\n 7 HOST-RESOURCES-TYPES::hrStorageOther Cached memory\n1024 Bytes 216604 216604 ?\n 10 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Swap space\n1024 Bytes 1023992 0 ?\n 31 HOST-RESOURCES-TYPES::hrStorageFixedDisk /\n4096 Bytes 2277614 250391 ?\n 35 HOST-RESOURCES-TYPES::hrStorageFixedDisk /dev/shm\n4096 Bytes 127698 0 ?\n 36 HOST-RESOURCES-TYPES::hrStorageFixedDisk /boot\n1024 Bytes 198337 26694 ?\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4521299679638615963, "content_hash": 4521299679638615963, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1169", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 271, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 76, "source_unit": "https://translate.fedoraproject.org/api/units/889113/?format=api", "priority": 100, "id": 9220143, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=bebee21a8ff2779b", "url": "https://translate.fedoraproject.org/api/units/9220143/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.991071Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The OIDs under `HOST-RESOURCES-MIB::hrStorageSize` and `HOST-RESOURCES-MIB::hrStorageUsed` can be used to calculate the remaining capacity of each mounted file system." ], "previous_source": "", "target": [ "" ], "id_hash": 4481407851784497600, "content_hash": 4481407851784497600, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1172", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 272, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate.fedoraproject.org/api/units/889118/?format=api", "priority": 100, "id": 9220144, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=be3128b29b42e9c0", "url": "https://translate.fedoraproject.org/api/units/9220144/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.994163Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "I/O data is available both in `UCD-SNMP-MIB::systemStats` (`ssIORawSent.0` and `ssIORawRecieved.0`) and in `UCD-DISKIO-MIB::diskIOTable`. The latter provides much more granular data. Under this table are OIDs for `diskIONReadX` and `diskIONWrittenX`, which provide counters for the number of bytes read from and written to the block device in question since the system boot:" ], "previous_source": "", "target": [ "" ], "id_hash": 4800636240166621994, "content_hash": 4800636240166621994, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1174", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 273, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate.fedoraproject.org/api/units/889123/?format=api", "priority": 100, "id": 9220145, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=c29f4939beff932a", "url": "https://translate.fedoraproject.org/api/units/9220145/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.997029Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmptable -Cb localhost UCD-DISKIO-MIB::diskIOTable#\nSNMP table: UCD-DISKIO-MIB::diskIOTable\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5263009989597507932, "content_hash": -5263009989597507932, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1179", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 274, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/889129/?format=api", "priority": 100, "id": 9220146, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=36f6084c90b54ea4", "url": "https://translate.fedoraproject.org/api/units/9220146/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:43.999875Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ " Index Device NRead NWritten Reads Writes LA1 LA5 LA15 NReadX NWrittenX\n...\n 25 sda 216886272 139109376 16409 4894 ? ? ? 216886272 139109376\n 26 sda1 2455552 5120 613 2 ? ? ? 2455552 5120\n 27 sda2 1486848 0 332 0 ? ? ? 1486848 0\n 28 sda3 212321280 139104256 15312 4871 ? ? ? 212321280 139104256\n" ], "previous_source": "", "target": [ "" ], "id_hash": 9166786794751961291, "content_hash": 9166786794751961291, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1186", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 275, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://translate.fedoraproject.org/api/units/889133/?format=api", "priority": 100, "id": 9220147, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=ff36f805a8eea8cb", "url": "https://translate.fedoraproject.org/api/units/9220147/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.002479Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "====== Network Information" ], "previous_source": "", "target": [ "" ], "id_hash": 8094812935369672010, "content_hash": 8094812935369672010, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1190", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 276, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/889144/?format=api", "priority": 100, "id": 9220148, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=f0568d79fff2454a", "url": "https://translate.fedoraproject.org/api/units/9220148/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.005155Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Information on network devices is provided by the Interfaces MIB. `IF-MIB::ifTable` provides an SNMP table with an entry for each interface on the system, the configuration of the interface, and various packet counters for the interface. The following example shows the first few columns of `ifTable` on a system with two physical network interfaces:" ], "previous_source": "", "target": [ "" ], "id_hash": 3281850913975227775, "content_hash": 3281850913975227775, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1192", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 277, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 54, "source_unit": "https://translate.fedoraproject.org/api/units/889149/?format=api", "priority": 100, "id": 9220149, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=ad8b7a04ad48d57f", "url": "https://translate.fedoraproject.org/api/units/9220149/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.299556Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmptable -Cb localhost IF-MIB::ifTable#\nSNMP table: IF-MIB::ifTable\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4210658076775856590, "content_hash": 4210658076775856590, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1197", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 278, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/889156/?format=api", "priority": 100, "id": 9220150, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=ba6f433638dab9ce", "url": "https://translate.fedoraproject.org/api/units/9220150/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.304377Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ " Index Descr Type Mtu Speed PhysAddress AdminStatus\n 1 lo softwareLoopback 16436 10000000 up\n 2 eth0 ethernetCsmacd 1500 0 52:54:0:c7:69:58 up\n 3 eth1 ethernetCsmacd 1500 0 52:54:0:a7:a3:24 down\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6312739387939910646, "content_hash": 6312739387939910646, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1202", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 279, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/889164/?format=api", "priority": 100, "id": 9220151, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=d79b5b06e9c673f6", "url": "https://translate.fedoraproject.org/api/units/9220151/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.308589Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Network traffic is available under the OIDs `IF-MIB::ifOutOctets` and `IF-MIB::ifInOctets`. The following SNMP queries will retrieve network traffic for each of the interfaces on this system:" ], "previous_source": "", "target": [ "" ], "id_hash": 1966818502089363321, "content_hash": 1966818502089363321, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1205", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 280, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate.fedoraproject.org/api/units/889170/?format=api", "priority": 100, "id": 9220152, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=9b4b8b01cab3cf79", "url": "https://translate.fedoraproject.org/api/units/9220152/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.311434Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ [command]#snmpwalk localhost IF-MIB::ifDescr#\nIF-MIB::ifDescr.1 = STRING: lo\nIF-MIB::ifDescr.2 = STRING: eth0\nIF-MIB::ifDescr.3 = STRING: eth1\n~]$ [command]#snmpwalk localhost IF-MIB::ifOutOctets#\nIF-MIB::ifOutOctets.1 = Counter32: 10060699\nIF-MIB::ifOutOctets.2 = Counter32: 650\nIF-MIB::ifOutOctets.3 = Counter32: 0\n~]$ [command]#snmpwalk localhost IF-MIB::ifInOctets#\nIF-MIB::ifInOctets.1 = Counter32: 10060699\nIF-MIB::ifInOctets.2 = Counter32: 78650\nIF-MIB::ifInOctets.3 = Counter32: 0\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1380141373231142550, "content_hash": 1380141373231142550, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1220", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 281, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 48, "source_unit": "https://translate.fedoraproject.org/api/units/889177/?format=api", "priority": 100, "id": 9220153, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=93273f4443431696", "url": "https://translate.fedoraproject.org/api/units/9220153/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.313829Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Extending Net-SNMP" ], "previous_source": "", "target": [ "" ], "id_hash": 23700082523724481, "content_hash": 23700082523724481, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1223", "context": "", "note": "type: Title =====", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 282, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/889184/?format=api", "priority": 100, "id": 9220154, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=8054331977f95ac1", "url": "https://translate.fedoraproject.org/api/units/9220154/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.315926Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The Net-SNMP Agent can be extended to provide application metrics in addition to raw system metrics. This allows for capacity planning as well as performance issue troubleshooting. For example, it may be helpful to know that an email system had a 5-minute load average of 15 while being tested, but it is more helpful to know that the email system has a load average of 15 while processing 80,000 messages a second. When application metrics are available via the same interface as the system metrics, this also allows for the visualization of the impact of different load scenarios on system performance (for example, each additional 10,000 messages increases the load average linearly until 100,000)." ], "previous_source": "", "target": [ "" ], "id_hash": -6489865605184970389, "content_hash": -6489865605184970389, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1226", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 283, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 114, "source_unit": "https://translate.fedoraproject.org/api/units/889190/?format=api", "priority": 100, "id": 9220155, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=25ef5d9deaeca16b", "url": "https://translate.fedoraproject.org/api/units/9220155/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.317934Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "A number of the applications that ship with {MAJOROS} extend the Net-SNMP Agent to provide application metrics over SNMP. There are several ways to extend the agent for custom applications as well. This section describes extending the agent with shell scripts and Perl plug-ins. It assumes that the [package]*net-snmp-utils* and [package]*net-snmp-perl* packages are installed, and that the user is granted access to the SNMP tree as described in xref:System_Monitoring_Tools.adoc#sect-System_Monitoring_Tools-Net-SNMP-Configuring-Authentication[Configuring Authentication]." ], "previous_source": "", "target": [ "" ], "id_hash": 7074670260557166933, "content_hash": 7074670260557166933, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1228", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 284, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://translate.fedoraproject.org/api/units/889197/?format=api", "priority": 100, "id": 9220156, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=e22e471e6787b955", "url": "https://translate.fedoraproject.org/api/units/9220156/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.320066Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "====== Extending Net-SNMP with Shell Scripts" ], "previous_source": "", "target": [ "" ], "id_hash": 3054890050787723920, "content_hash": 3054890050787723920, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1231", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 285, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/889203/?format=api", "priority": 100, "id": 9220157, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=aa652650d113ca90", "url": "https://translate.fedoraproject.org/api/units/9220157/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.322414Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The Net-SNMP Agent provides an extension MIB (`NET-SNMP-EXTEND-MIB`) that can be used to query arbitrary shell scripts. To specify the shell script to run, use the [option]`extend` directive in the `/etc/snmp/snmpd.conf` file. Once defined, the Agent will provide the exit code and any output of the command over SNMP. The example below demonstrates this mechanism with a script which determines the number of `httpd` processes in the process table." ], "previous_source": "", "target": [ "" ], "id_hash": 2674002120555728410, "content_hash": 2674002120555728410, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1233", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 286, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 69, "source_unit": "https://translate.fedoraproject.org/api/units/889210/?format=api", "priority": 100, "id": 9220158, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=a51bf6c2dc5d8e1a", "url": "https://translate.fedoraproject.org/api/units/9220158/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.324737Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Using the proc directive" ], "previous_source": "", "target": [ "" ], "id_hash": 3651762249571894290, "content_hash": 3651762249571894290, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1234", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 287, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/889216/?format=api", "priority": 100, "id": 9220159, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=b2adaa6b09ea0412", "url": "https://translate.fedoraproject.org/api/units/9220159/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.326669Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The Net-SNMP Agent also provides a built-in mechanism for checking the process table via the [option]`proc` directive. See the *snmpd.conf*(5) manual page for more information." ], "previous_source": "", "target": [ "" ], "id_hash": -7535768997778740448, "content_hash": -7535768997778740448, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1239", "context": "", "note": "type: delimited block =", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 288, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate.fedoraproject.org/api/units/889222/?format=api", "priority": 100, "id": 9220160, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=176b9205d1ff2b20", "url": "https://translate.fedoraproject.org/api/units/9220160/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.328572Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The exit code of the following shell script is the number of [command]#httpd# processes running on the system at a given point in time:" ], "previous_source": "", "target": [ "" ], "id_hash": 1654673276809845110, "content_hash": 1654673276809845110, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1243", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 289, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate.fedoraproject.org/api/units/889228/?format=api", "priority": 100, "id": 9220161, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=96f6949413951976", "url": "https://translate.fedoraproject.org/api/units/9220161/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.330433Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "#!/bin/sh\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8169268476184826843, "content_hash": 8169268476184826843, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1246, ./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1289", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 290, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.fedoraproject.org/api/units/889234/?format=api", "priority": 100, "id": 9220162, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=f15f12657dcb13db", "url": "https://translate.fedoraproject.org/api/units/9220162/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.332450Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "NUMPIDS=`pgrep httpd | wc -l`\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7747393946490591692, "content_hash": -7747393946490591692, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1248", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 291, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/889240/?format=api", "priority": 100, "id": 9220163, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=147bba40cc6aa634", "url": "https://translate.fedoraproject.org/api/units/9220163/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.334336Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "exit $NUMPIDS\n" ], "previous_source": "", "target": [ "" ], "id_hash": -540890234865755849, "content_hash": -540890234865755849, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1250", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 292, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/889246/?format=api", "priority": 100, "id": 9220164, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=787e5f3278595937", "url": "https://translate.fedoraproject.org/api/units/9220164/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.336284Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "To make this script available over SNMP, copy the script to a location on the system path, set the executable bit, and add an [option]`extend` directive to the `/etc/snmp/snmpd.conf` file. The format of the [option]`extend` directive is the following:" ], "previous_source": "", "target": [ "" ], "id_hash": 5223637025137605980, "content_hash": 5223637025137605980, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1253", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 293, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate.fedoraproject.org/api/units/889252/?format=api", "priority": 100, "id": 9220165, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=c87e1632c6e7bd5c", "url": "https://translate.fedoraproject.org/api/units/9220165/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.338096Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "[option]`extend` _name_ _prog_ _args_\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6799307678376469281, "content_hash": 6799307678376469281, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1257", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 294, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/889258/?format=api", "priority": 100, "id": 9220166, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=de5bfe4f28372321", "url": "https://translate.fedoraproject.org/api/units/9220166/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.340036Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "… where _name_ is an identifying string for the extension, _prog_ is the program to run, and _args_ are the arguments to give the program. For instance, if the above shell script is copied to `/usr/local/bin/check_apache.sh`, the following directive will add the script to the SNMP tree:" ], "previous_source": "", "target": [ "" ], "id_hash": -6053593252669875805, "content_hash": -6053593252669875805, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1260", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 295, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate.fedoraproject.org/api/units/889263/?format=api", "priority": 100, "id": 9220167, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=2bfd51028fe919a3", "url": "https://translate.fedoraproject.org/api/units/9220167/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.342417Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "extend httpd_pids /bin/sh /usr/local/bin/check_apache.sh\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2006335274080999147, "content_hash": -2006335274080999147, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1263", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 296, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/889269/?format=api", "priority": 100, "id": 9220168, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=642810b2c010e915", "url": "https://translate.fedoraproject.org/api/units/9220168/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.346161Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "The script can then be queried at `NET-SNMP-EXTEND-MIB::nsExtendObjects`:" ], "previous_source": "", "target": [ "" ], "id_hash": -5664312429528557434, "content_hash": -5664312429528557434, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1266", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 297, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/889274/?format=api", "priority": 100, "id": 9220169, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=316451db2d1ed886", "url": "https://translate.fedoraproject.org/api/units/9220169/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.351551Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "~]$ snmpwalk localhost NET-SNMP-EXTEND-MIB::nsExtendObjects\nNET-SNMP-EXTEND-MIB::nsExtendNumEntries.0 = INTEGER: 1\nNET-SNMP-EXTEND-MIB::nsExtendCommand.\"httpd_pids\" = STRING: /bin/sh\nNET-SNMP-EXTEND-MIB::nsExtendArgs.\"httpd_pids\" = STRING: /usr/local/bin/check_apache.sh\nNET-SNMP-EXTEND-MIB::nsExtendInput.\"httpd_pids\" = STRING:\nNET-SNMP-EXTEND-MIB::nsExtendCacheTime.\"httpd_pids\" = INTEGER: 5\nNET-SNMP-EXTEND-MIB::nsExtendExecType.\"httpd_pids\" = INTEGER: exec(1)\nNET-SNMP-EXTEND-MIB::nsExtendRunType.\"httpd_pids\" = INTEGER: run-on-read(1)\nNET-SNMP-EXTEND-MIB::nsExtendStorage.\"httpd_pids\" = INTEGER: permanent(4)\nNET-SNMP-EXTEND-MIB::nsExtendStatus.\"httpd_pids\" = INTEGER: active(1)\nNET-SNMP-EXTEND-MIB::nsExtendOutput1Line.\"httpd_pids\" = STRING:\nNET-SNMP-EXTEND-MIB::nsExtendOutputFull.\"httpd_pids\" = STRING:\nNET-SNMP-EXTEND-MIB::nsExtendOutNumLines.\"httpd_pids\" = INTEGER: 1\nNET-SNMP-EXTEND-MIB::nsExtendResult.\"httpd_pids\" = INTEGER: 8\nNET-SNMP-EXTEND-MIB::nsExtendOutLine.\"httpd_pids\".1 = STRING:\n" ], "previous_source": "", "target": [ "" ], "id_hash": -853430081275684584, "content_hash": -853430081275684584, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1283", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 298, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://translate.fedoraproject.org/api/units/889280/?format=api", "priority": 100, "id": 9220170, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=742801dcdcee1918", "url": "https://translate.fedoraproject.org/api/units/9220170/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.358156Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "Note that the exit code (\"8\" in this example) is provided as an INTEGER type and any output is provided as a STRING type. To expose multiple metrics as integers, supply different arguments to the script using the [option]`extend` directive. For example, the following shell script can be used to determine the number of processes matching an arbitrary string, and will also output a text string giving the number of processes:" ], "previous_source": "", "target": [ "" ], "id_hash": 5753378607717536836, "content_hash": 5753378607717536836, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1286", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 299, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 71, "source_unit": "https://translate.fedoraproject.org/api/units/889286/?format=api", "priority": 100, "id": 9220171, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=cfd81b5c6b55d444", "url": "https://translate.fedoraproject.org/api/units/9220171/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.363358Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?format=api", "source": [ "PATTERN=$1\nNUMPIDS=`pgrep $PATTERN | wc -l`\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1090908536707753517, "content_hash": 1090908536707753517, "location": "./pages/monitoring-and-automation/System_Monitoring_Tools.adoc:1292", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 300, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/889292/?format=api", "priority": 100, "id": 9220172, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f26pagesmonitoring-and-automationsystem_monitoring_tools/zh_Hans/?checksum=8f23af88c4e8262d", "url": "https://translate.fedoraproject.org/api/units/9220172/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-01-16T12:00:44.367131Z" } ] }{ "count": 348, "next": "