From 740d517e1fd00912c78f538059c3b1f5995a03e6 Mon Sep 17 00:00:00 2001 From: Vincent Date: Sat, 27 Feb 2010 10:25:56 +0100 Subject: [PATCH] Add a manual page for the new -X option. --- CHANGELOG | 1 + man/lldpd.8 | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index c24071a3..59d250dc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ lldpd (0.5.0) + Support of ifAlias with kernel >= 2.6.28 + Lot of portability stuff. lldpd can now be compiled on RHEL 2.1. Still Linux-only though. + + Add an option to specify AgentX socket (-X). + Add some unit tests * Bug fixes: diff --git a/man/lldpd.8 b/man/lldpd.8 index 864d126d..b15ccaef 100644 --- a/man/lldpd.8 +++ b/man/lldpd.8 @@ -22,6 +22,7 @@ .Sh SYNOPSIS .Nm .Op Fl dvxcseik +.Op Fl X Ar socket .Op Fl m Ar management .Op Fl M Ar class .Sh DESCRIPTION @@ -65,11 +66,23 @@ Disable advertising of kernel release, version and machine. Kernel name (ie: Linux) will still be shared, and Inventory software version will be set to 'Unknown'. .It Fl x -Enable SNMP subagent +Enable SNMP subagent. With this option, .Nm will enable an SNMP subagent using AgentX protocol. This allows to get information about local system and remote systems through SNMP. +.It Fl X Ar socket +Enable SNMP subagent using the specified socket. +.Nm +will enable an SNMP subagent using AgentX protocol for the given +socket. This option implies the previous one. The default socket is +usally +.Em /var/agentx/master . +You can specify a socket like +.Em tcp:127.0.0.1:705 +for example. Since the process that will open this socket is enclosed +in a chroot, you need to specify an IP address (not a hostname) when +using a TCP or UDP socket. .It Fl c Enable the support of CDP protocol to deal with Cisco routers that do not speak LLDP. -- 2.39.5