mrtg 문제 관련...

ngh1262의 이미지

아직도 mrtg하나가지고 붙잡고있는 유저입니다

요번에 centos(6.0) 에서 해보려고 노력중이지만 될 기미가 안보이네요 ㅠ

yum을 이용해서 전부다 깔고 index까지 나오고 됐지만 막상 그래프가 출력이 안되고있습니다

아파치구동을 통해서 확인을 하지않고 samba로 공유하기 하여 열어보았지만 제대로 뜨질않고있습니다

혹시나 해서 snmpd.conf에 수정된 파일이랑 mrtg.cfg파일 같이 올립니다

(아니면 혹시 아파치에서 웹페이지를 구동시켜야지만이 나올 수 있는것인가요???)

snmpd.conf
38 # First, map the community name "public" into a "security name"
39
40 # sec.name source community
41 com2sec notConfigUser default public
42 com2sec local 127.0.0.1/32 public
43 com2sec local 192.168.1.128/24 public
44 com2sec local localhost public
45 com2sec mynetwork NETWORK/24 COMMUNITY
46
47
48
49
50
51 ####
52 # Second, map the security name into a group name:
53
54 # groupName securityModel securityName
55 group MyRWGroup v1 local
56 group MyRWGroup v2c local
57 group MyRWGroup usm local
58 group MyROGroup v1 mynetwork
59 group MyROGroup v2c mynetwork
60 group MyROGroup usm mynetwork
61
62
63
64
65
66
67 ####
68 # Third, create a view for us to let the group have rights to:
69
70 # Make at least snmpwalk -v 1 localhost -c public system fast again.
71 # name incl/excl subtree mask(optional)
72 view systemview included .1.3.6.1.2.1.1
73 view systemview included .1.3.6.1.2.1.25.1.1
74 view all included .1 80
75
76
77
78
79
80
81 ####
82 # Finally, grant the group read-only access to the systemview view.
83
84 # group context sec.model sec.level prefix read write notif
85 access notConfigGroup "" any noauth exact systemview none none
86 access MyROGroup "" any noauth exact all none none
87 access MyRWGroup "" any noauth exact all all none
88

mrtg.cfg

1 # Created by
2 # /usr/bin/cfgmaker --global "WorkDir: /Work/" --global "Language: korean" --global "Options[_]: bits,growright" -output /etc/mrtg/mrtg.cfg public@localhost
3
4
5 ### Global Config Options
6
7 # for UNIX
8 # WorkDir: /home/http/mrtg
9
10 # or for NT
11 # WorkDir: c:\mrtgdata
12
13 ### Global Defaults
14
15 # to get bits instead of bytes and graphs growing to the right
16 # Options[_]: growright, bits
17
18 EnableIPv6: no
19 WorkDir: /Work/
20 Language: korean
21 Options[_]: bits,growright
22
23 ######################################################################
24 # System:
25 # Description:
26 # Contact:
27 # Location:
28 ######################################################################
29
30

jellypo의 이미지

스케쥴러(cron)에 등록해서 일정 간격(5분)마다 실행 되어야 측정 값을 쌓는데, 그걸 빠뜨린게 아닐런지요?

ngh1262의 이미지

크론텝에서 빨리보려고 1분간격으로 출력하기 했는데도 나오지가않네요 ㅠ...

jellypo의 이미지

안보인다는게 그림(그래프)인가요? 어차피 상대 경로로 지정 되어 있어서 다 보여야 할텐데...
어쨌든 아파치는 만들어진 html 파일 보여주는데 쓰이는거라 직접적인 관계가 없고요

snmpwalk -c public -v 2c localhost .1
이런 식으로 했을 때 응답이 있나요?

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.