diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-09-25 11:23:45 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-09-25 11:23:45 +0300 |
commit | eb1aa1985aa837b06acf9fb4d7db41d74184ef48 (patch) | |
tree | 127bf0cdaf5ade768c38ab4723dd982e0cdd041b | |
parent | 61a90bb136035b1364c52b5bfed6a807dc7d75ca (diff) | |
download | assignments-eb1aa1985aa837b06acf9fb4d7db41d74184ef48.tar.gz assignments-eb1aa1985aa837b06acf9fb4d7db41d74184ef48.tar.bz2 |
Describe the hostproc assignment
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | gray-assignments.texi | 33 |
3 files changed, 35 insertions, 2 deletions
@@ -4,6 +4,7 @@ SENDMAIL-STATS.txt MYSQL-STAT-MIB.txt TALLYMAN-MIB.txt +HOSTPROC-MIB.txt *.html gray-assignments .emacs.desktop @@ -1,6 +1,6 @@ SCHEMES = gray.schema gitacl.schema umi.schema MIBS = OWS-STATS.txt SESSION-STATS.txt -REFMIBS = TALLYMAN-MIB.txt MYSQL-STAT-MIB.txt SENDMAIL-STATS.txt +REFMIBS = TALLYMAN-MIB.txt MYSQL-STAT-MIB.txt SENDMAIL-STATS.txt HOSTPROC-MIB.txt TEXINFO_SOURCES = $(SCHEMES:.schema=.inc) $(MIBS:.txt=.inc) $(REFMIBS:.txt=.inc) SOURCES = gray-assignments.texi version.texi $(TEXINFO_SOURCES) @@ -38,6 +38,7 @@ endef $(call localcopy,SENDMAIL-STATS.txt,http://git.gnu.org.ua/cgit/netsnmp-sendmail.git/plain/SENDMAIL-STATS.txt) $(call localcopy,MYSQL-STAT-MIB.txt,http://git.gnu.org.ua/cgit/mysqlstat.git/plain/src/MYSQL-STAT-MIB.txt) $(call localcopy,TALLYMAN-MIB.txt,http://git.gnu.org.ua/cgit/tallyman.git/plain/src/TALLYMAN-MIB.txt) +$(call localcopy,HOSTPROC-MIB.txt,http://git.gnu.org.ua/cgit/hostproc.git/plain/HOSTPROC-MIB.txt) install: html @if test -z "$(DESTDIR)"; then \ diff --git a/gray-assignments.texi b/gray-assignments.texi index 8ae72ad..0f520a9 100644 --- a/gray-assignments.texi +++ b/gray-assignments.texi @@ -13,7 +13,7 @@ @end ifinfo @copying -Copyright @copyright{} 2019 Sergey Poznyakoff +Copyright @copyright{} 2019, 2020 Sergey Poznyakoff Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or @@ -52,6 +52,7 @@ Apendices * SESSION-STATS.txt:: * MYSQL-STAT-MIB.txt:: * TALLYMAN-MIB.txt:: +* HOSTPROC-MIB.txt:: * OWS-STATS.txt:: * umi.schema:: @end menu @@ -108,6 +109,13 @@ Name: @samp{TALLYMAN-MIB.txt} @*References: @xref{TALLYMAN-MIB.txt}. @end defvr +@defvr {OID} 1.3.6.1.4.1.9163.104 +Name: @samp{HOSTPROC-MIB.txt} +@*Purpose: MIB assignment for @command{hostproc} +@*Project: @uref{https://puszcza.gnu.org.ua/projects/hostproc} +@*References: @xref{HOSTPROC-MIB.txt}. +@end defvr + @defvr {OID} 1.3.6.1.4.1.9163.110 Name: @samp{OWS-STATS.txt} @*Purpose: MIB assignment for @command{NetSNMP::OWSProbe} @@ -235,6 +243,29 @@ Base OID: 1.3.6.1.4.1.9163.103 @include TALLYMAN-MIB.inc @end example +@node HOSTPROC-MIB.txt +@appendix HOSTPROC-MIB.txt + +This MIB is used by the @command{hostproc} SNMP agent. It provides a +detailed statistics about processes running on a remote Linux host. +The MIB includes information about each process running on the host, +similar to the @command{ps axwl} output. It also allows the +administrator to aggregate processes into a process group and to +return the total statistics about the group, thus providing a highly +enhanced version of the venerable @samp{UCD-SNMP-MIB::prTable} MIB. +Processes descending from a preconfigured common ancestor can be +excluded from the output, which is especially useful for monitoring +servers that run docker containers. For example, one can configure +@command{hostproc} to return information about @command{httpd} +processes that are running on the server, as opposed to those running +in the containers. + +Base OID: 1.3.6.1.4.1.9163.104 + +@example +@include HOSTPROC-MIB.inc +@end example + @node OWS-STATS.txt @appendix OWS-STATS.txt |