Ik wil dus een standaard config maken om daarop verder te klooien maar dit werkt niet. De fout zit `m in SNMP want deze geeft geen info. (ikke beetje n00b)
Dit krijg ik:
De smbd.conf is standaard en er staat in die conf file dat het moet werken als je m zo laat dus
Dit krijg ik:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
| Debian:/etc/snmp# cfgmaker --global 'WorkDir: /etc/www/mrtg' --global 'Options[_]: bits,growright' --output /etc/mrtg.cfg public@127.0.0.1
--base: Get Device Info on public@127.0.0.1:
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifDescr scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifType scanning because public@127.0.0.1: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@127.0.0.1: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 1019575895
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 1019575896
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 1019575897
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 1019575898
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
community: "public"
request ID: 1019575899
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@127.0.0.1:
at /usr/bin/cfgmaker line 107
--base: Writing /etc/mrtg.cfg
Debian:/etc/snmp# |
De smbd.conf is standaard en er staat in die conf file dat het moet werken als je m zo laat dus