|
|
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: Димитър |
Дата: 09/15/2003 |
опитах се да направя MRTG.cfg файла, като преди това съм
инсталирал и пуснал SNMP, но ми дава горната грешка. Ето и
пълния текст:
root@localhost:~# /usr/local/mrtg-2/bin/cfgmaker --global
'WorkDir: /var/www/ht
docs/mrtg' --global 'Options[_]:bits,growright' --output
/usr/local/mrtg-2/cfg
/mrtg.cfg public@localhost
--base: Get Device Info on public@localhost:
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532421
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 public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@localhost:
does not seem to support it
--snpo: Skipping ifDescr scanning because public@localhost:
does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because
public@localhost: does not seem to support it
--snpo: Skipping ifType scanning because public@localhost:
does not seem to support it
--snpo: Skipping ifPhysAddress scanning because
public@localhost: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532427
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@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532428
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@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532429
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.5 on
public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532430
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.7 on
public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 375532431
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.8 on
public@localhost:
at /usr/local/mrtg-2/bin/cfgmaker line 107
--base: Writing /usr/local/mrtg-2/cfg/mrtg.cfg
можете ли да кажете какъв е проблема.
благодаря предварително
|
Отговор #1 |
От: Anoymous |
Дата: 09/15/2003 |
SNMP Error:
no response received
to si pishe kyv e problema ...
vij community string-a, i se overi, che snmpd e pusnat.
|
Отговор #2 |
От: Димитър |
Дата: 09/16/2003 |
snmpd-to e пуснатo (p-s 29772):
177 tty1 00:00:00 bash
178 tty2 00:00:00 agetty
179 tty3 00:00:00 agetty
180 tty4 00:00:00 agetty
181 tty5 00:00:00 agetty
182 tty6 00:00:00 agetty
183 ? 00:00:00 mysqld
184 ? 00:00:00 mysqld
207 ? 00:00:00 httpd
258 ? 00:00:00 httpd
29772 ? 00:00:00 snmpd
29796 ? 00:00:00 sshd
29797 pts/0 00:00:00 bash
29809 pts/0 00:00:00 ps
root@localhost:~#
|
Отговор #3 |
От: Димитър |
Дата: 09/16/2003 |
и тестовете минават успешно:
1:testing SNMPv1 support.......ok
2:testing SNMPv2c get of system.sysUpTime.0...ok
3:testing SNMPv2c getnext of system.sysUpTime...ok
4:testing SNMPv2 bulkget of system components......ok
5:testing for failure of SNMPv2c get with wrong
community...ok
6:testing for failure of SNMPv2c get against SNMPv1
agent...ok
7:testing for failure of SNMPv1 get against SNMPv2c
agent...ok
8:testing SNMPv2c get of system.sysUpTime.1...ok
9:testing SNMPv3 get using initial of
.1.3.6.1.2.1.1.3.0...ok
10:testing SNMPv3 getnext using initial of
.1.3.6.1.2.1.1.3.0...ok
11:testing SNMPv3 bulkget of system......ok
12:testing SNMPv3 get using initial/MD5 of
.1.3.6.1.2.1.1.3.0...ok
13:testing SNMPv3 get using initial/MD5DES of
.1.3.6.1.2.1.1.3.0...SKIPPED
14:testing SNMPv3 get using templateSHA/SHA of
.1.3.6.1.2.1.1.3.0...ok
15:testing SNMPv3 get using templateSHA/MD5DES of
.1.3.6.1.2.1.1.3.0...SKIPPED
16:testing for failure of SNMPv3 get using unknown
user....ok
17:testing SNMPv3 user creation and usage using
snmpusm...........ok
18:testing SNMPv3 informs received and sent by tools...ok
19:testing SNMPv3 traps received and sent by tools...ok
20:testing SNMPv2c traps received and sent by tools...ok
21:testing SNMPv2c informs received and sent by tools...ok
22:testing snmpv1 traps are sent by snmpd API...SKIPPED
23:testing snmpv2c traps are sent by snmpd API...SKIPPED
24:testing snmpv1 traps are sent by snmpd without
notification mib support...SKIPPED
25:testing snmpv2c traps are sent by snmpd without
notification mib support...SKIPPED
26:testing authentication failure traps are sent by
snmpd...ok
27:testing that the agent responds properly to a kill
-HUP...ok
28:testing AgentX GET support...ok
29:testing AgentX SET support...ok
30:testing AgentX illegal SET handling support...ok
31:testing AgentX trap sending support...SKIPPED
32:testing Proxy GET support...ok
33:testing Proxy SET support...ok
34:testing Proxy illegal SET handling support...ok
Summary: 34 / 34 succeeded.
|
Отговор #4 |
От: Димитър |
Дата: 09/16/2003 |
http://faq.mrtg.org/FAQ021.html
Q: When I run mrtg, I get this error:
SNMP Error:
no response received
SNMPv1_Session (remote host: "ip.of.remote.host"
[ip.of.remote.host].161)
community: "public"
request ID: 1982719325
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
A: There are a number of reasons you would get this error:
You are using the wrong community string.
You are not in the access list of the box you are polling.
The box you are polling is not running snmp.
The box you are polling is down.
You are not using the correct hostname or IP.
You will need to contact the sysadmin of the box you are
trying to poll to straighten this out.
|
Отговор #5 |
От: Anonymous |
Дата: 09/16/2003 |
A: There are a number of reasons you would get this error:
You are using the wrong community string.
tiq test-ove deto si gi post-nal predpoalgam sa ot 'make
test' pri instaliraneto na snmpd-to.
Mislq, che community-to ti e problema (ili pyk si se olql s
filtruvane ?! ). Pusni snmpconf, izberi snmpd.conf .. i
deistvai.
|
<< Postfix Install & Setup (0
) | Какво да използвам за ограничение ... (1
) >>
|
|
|
|
|