[acassen/keepalived] 818426: snmp: don't hardcode AgentX socket location

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <554df13587563_1fc43f940d7992b824f@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 818426f7418fb4cb32970a3738311cad68fbb9e7
      https://github.com/acassen/keepalived/commit/818426f7418fb4cb32970a3738311cad68fbb9e7
  Author: Vincent Bernat <[email protected]>
  Date:   2015-05-09 (Sat, 09 May 2015)

  Changed paths:
    M keepalived/core/snmp.c

  Log Message:
  -----------
  snmp: don't hardcode AgentX socket location

The default location should be `/var/agentx/master` (as per RFC2741 and
this is also the default for NetSNMP, including on Debian-based
distributions). This default location is set at configure-time for
NetSNMP and subagent will use it automatically (it is also available
through `net-snmp-config.h`).

A useful feature would be to have a flag to change that if the user
change this settings in the master agent. This commit just reverts this
change to let SNMP subsystem work as expected for most users.

Signed-off-by: Vincent Bernat <[email protected]>


  Commit: 8240b2330a931ff823b6f799180de29ee1a0bcd1
      https://github.com/acassen/keepalived/commit/8240b2330a931ff823b6f799180de29ee1a0bcd1
  Author: Alexandre Cassen <[email protected]>
  Date:   2015-05-09 (Sat, 09 May 2015)

  Changed paths:
    M keepalived/core/snmp.c

  Log Message:
  -----------
  Merge pull request #145 from vincentbernat/fix/snmp-agentx-socket

snmp: don't hardcode AgentX socket location


Compare: https://github.com/acassen/keepalived/compare/960e99d6cb7e...8240b2330a93

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.