Deleted Added
full compact
snmpd.config (142810) snmpd.config (154180)
1#
2# Copyright (c) 2001-2003
3# Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4# All rights reserved.
5#
6# Author: Harti Brandt <harti@freebsd.org>
7#
8# Redistribution and use in source and binary forms, with or without

--- 28 unchanged lines hidden (view full) ---

37host := foo.bar.com
38location := "Room 200"
39contact := "sysmeister@bar.com"
40system := 1 # FreeBSD
41traphost := noc.bar.com
42trapport := 162
43
44read := "public"
1#
2# Copyright (c) 2001-2003
3# Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4# All rights reserved.
5#
6# Author: Harti Brandt <harti@freebsd.org>
7#
8# Redistribution and use in source and binary forms, with or without

--- 28 unchanged lines hidden (view full) ---

37host := foo.bar.com
38location := "Room 200"
39contact := "sysmeister@bar.com"
40system := 1 # FreeBSD
41traphost := noc.bar.com
42trapport := 162
43
44read := "public"
45# Uncomment the line below that sets the community string
46# to enable write access.
45write := "geheim"
46trap := "mytrap"
47
48#
49# Configuration
50#
51%snmpd
52begemotSnmpdDebugDumpPdus = 2
53begemotSnmpdDebugSyslogPri = 7
54
47write := "geheim"
48trap := "mytrap"
49
50#
51# Configuration
52#
53%snmpd
54begemotSnmpdDebugDumpPdus = 2
55begemotSnmpdDebugSyslogPri = 7
56
57#
58# Set the read and write communities.
59#
60# The default value of the community strings is NULL (note, that this is
61# different from the empty string). This disables both read and write access.
62# To enable read access only the read community string must be set. Setting
63# the write community string enables both read and write access with that
64# string.
65#
66# Be sure to understand the security implications of SNMPv2 - the community
67# strings are readable on the wire!
68#
55begemotSnmpdCommunityString.0.1 = $(read)
69begemotSnmpdCommunityString.0.1 = $(read)
56begemotSnmpdCommunityString.0.2 = $(write)
70# begemotSnmpdCommunityString.0.2 = $(write)
57begemotSnmpdCommunityDisable = 1
58
59# open standard SNMP ports
60begemotSnmpdPortStatus.[$(host)].161 = 1
61begemotSnmpdPortStatus.127.0.0.1.161 = 1
62
63# open a unix domain socket
64begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1

--- 25 unchanged lines hidden ---
71begemotSnmpdCommunityDisable = 1
72
73# open standard SNMP ports
74begemotSnmpdPortStatus.[$(host)].161 = 1
75begemotSnmpdPortStatus.127.0.0.1.161 = 1
76
77# open a unix domain socket
78begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1

--- 25 unchanged lines hidden ---