Ik probeer een config file aan te maken voor mrtg:
Wat moet ik nou doen?
En wat is een 'community'?
'eth0' nemen heeft ook geen zin.
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
| [root@a143084 bin]# ./cfgmaker --global 'Workdir: /var/www/html/mrtg' --global '
Otions[_]: bits,growright' --output /usr/local/mrtg-2/mrtg.cfg public@62.163.143
.111
--base: Get Device Info on public@62.163.143.111:
SNMP Error:
no response received
SNMPv1_Session (remote host: "62.163.143.111" [62.163.143.111].161)
community: "public"
request ID: 1795863101
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on publi
c@62.163.143.111:
at ./cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@62.163.143.111: does not seem to
support it
--snpo: Skipping ifDescr scanning because public@62.163.143.111: does not seem t
o support it
--snpo: Skipping ipAdEntIfIndex scanning because public@62.163.143.111: does not
seem to support it
--snpo: Skipping ifType scanning because public@62.163.143.111: does not seem to
support it
--snpo: Skipping ifPhysAddress scanning because public@62.163.143.111: does not
seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "62.163.143.111" [62.163.143.111].161)
community: "public"
request ID: 1795863107
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@62.163.143.111:
at ./cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "62.163.143.111" [62.163.143.111].161)
community: "public"
request ID: 1795863108
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@62.163.143.111: |
Wat moet ik nou doen?
En wat is een 'community'?