Statistics server (RFC0996)
Original Publication Date: 1987-Feb-01
Included in the Prior Art Database: 2001-Jul-13
Internet Society Requests For Comment (RFCs)
STATUS OF THIS MEMO
Network Working Group D.L. Mills Request for Comments: 996 University of Delaware
STATUS OF THIS MEMO
This RFC specifies a standard for the ARPA Internet community. Hosts and gateways on the DARPA Internet that choose to implement a remote statistics monitoring facility may use this protocol to send statistics data upon request to a monitoring center or debugging host. Distribution of this memo is unlimited.
Many host and gateway implementations include a facility which records traffic statistics, such as packet counters, error counters and significant event counters for debugging and performance evluation. Simple data-access and formatting programs can be used to display these statistics along with the status of connections, etc. Several operating systems, including the various Unix systems and Fuzzball systems, already provide extensive facilities to capture and display these data for local users and/or operators.
In many instances it is highly useful to observe statistics data on remote hosts and gateways from a monitoring center or debugging host. Indeed, several protocols have been implemented and used expressly for this purpose [1-6]. In many cases the data can be retrieved using conventional services such as remote login or even file transfer. However, use of these heavyweight mechanisms is awkward and intrusive if conducted on a regular, frequent basis and may involve substantial intrusion in the operating system if retrofitted to existing systems.
The Statistics Server (STATSRV) protocol is intended as a lightweight mechanism similar in spirit to NETSTAT  and complementary to it. STATSRV is designed to capture statistics data with minimal intrusion on existing systems or networks. It is intended for use with existing hosts and gateways primarily for casual monitoring and debugging purposes. It is not intended as a full-function monitoring protocol [1,5,6] providing detailed, standardized reports suitable for machine analysis, for example, but could be useful in exploratory development leading to enduring systems of this type.
The STATSRV model is based on the native host command language used for statistics monitoring and display. The client sends a null- terminated ASCII command to the server, which then responds with a null-terminated ASCII response suitable for a printer or CRT display. Although in principle STATSRV could be used over TCP, it is less intrusive and more efficient to use it over UDP. In the case of UDP,
D. L. Mills [Page 1]
RFC 996 February 1987
commands and responses must fit into a single 576-octet IP datagram. In both UDP and TCP the assigned port number is 133 (decimal).
As is conventional in other lightweight services of this type (NETSTAT, FINGER, etc.), there is no provision for access control or authentication in STATSRV. If necessary, each command co...