.\" $OpenBSD$ .\" .\" Copyright (c) 2020 Martijn van Duren .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd $Mdocdate$ .Dt SNMP_TCP 8 .Os .Sh NAME .Nm snmp_tcp .Nd Export the TCP-MIB .Sh SYNOPSIS .Nm .Op Fl dv .Op Fl C Ar cachetime .Op Fl c Ar context .Op Fl s Ar path .Sh DESCRIPTION .Nm exports the TCP-MIB metrics via an agentx compatible .Pq snmp daemon by connecting to path. Metrics can be found under the tcp subtree .Pq mib-2.6 . If .Ar path is omitted it will default to .Pa /var/agentx/master . .Ar Context is the SNMPv3 context and can usually be omitted. .Pp On servers with many open sockets the results can be cached by setting the .Ar cachetime in seconds. This is set to 0 .Pq disabled by default. .Sh SEE ALSO .Xr snmpd 8 .Xr snmp 1 .Sh STANDARDS .Rs .%A R. Raghunarayan, Ed. .%A Cisco Systems .%D March 2005 .%R RFC 4022 .%T Management Information Base for the Transmission Control Protocol (TCP) .Re .Sh AUTHORS .An Jan Klemkow Aq Mt jan@openbsd.org .An Martijn van Duren Aq Mt martijn@openbsd.org