rrdtool + HotSaNIC에서 eth0에 대한 traffic 정보 갱신이 안됩

jckim의 이미지

안녕하세요~ ^^

rrdtool + HotSaNIC을 설치하였습니다.
rrdtool은 rrdtool-1.0.46을
HotSaNIC는 HotSaNIC-0.5.0-pre4 입니다.

하지만, traffic 항목의 eth0에 대한 정보가 갱신이 안되네요.

HotSaNIC.log를 보면,

1077111641: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1571447318
'
1077111650: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1575899968
'
1077111661: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1591000468
'
1077111671: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1596552369
'
1077111681: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1605562419
'
1077111691: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1615980499
'
1077111701: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1626834078
'
1077111711: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1633137285
'
1077111721: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1641065345
'
1077111731: TRAFFIC: unable to update `eth0.rrd': not a simple integer: '1645988939

만 잔뜩 쌓여 있습니다. iptables는 1.2.5에서 안되길래... 1.2.9로 업그레이드를 해주었지만 안되네요..

아래는 settings 파일 내용 입니다.(혹 참고가 될지 모르겠네요...)

OSTYPE="Linux"

DAEMONDIR="/usr/local/HotSaNIC"
BINPATH="/usr/local/rrdtool-1.0.46/bin"
VARDIR="$DAEMONDIR/var/"
LOGDIR="/var/log/rrdtool"
PIDFILE="$DAEMONDIR/var/run/rrdtimer.pid"

DIAGRAMLOG="last"
LOGSIZE="200000"
LOGBACKUPS="5"

DEBUGLEVEL="-1"

STIME="120"

SCHEDULE_MIN="100"
SCHEDULE_MAX="200"

RUN="apps diskio networks part system traffic worms"

WEBDIR="/var/www/rrdtool"

WIDTH="600"
HEIGHT="200"

IMAGEFORMAT="gif"

SHOW="apps diskio networks part system traffic worms"

ORDER="traffic system part ping dnet sensors"

DTIME="15"
CTIME="24"

CONVERTMETHOD="ImgMgck"

CONVERTPATH="/usr/X11R6/bin/convert"

THUMBSIZE="20%"
REFRESH="300"

SNMPWALK="/usr/bin/snmpwalk"
SNMPGET="/usr/bin/snmpget"
SNMPBULKWALK="/usr/bin/snmpbulkwalk"
ar5k4의 이미지

HotSaNIC/modules/traffic/platform/linux.pm
아래 라인을 찾아서 수정해 주세요!

Quote:
RRDs::update "rrd/$name.rrd",$sampletime{$name}.":".$devin{$name}.":".$devout{$name}."\n";

."\n"을 삭제해 주세요!

한심한 하루는 한심한 미래뿐이다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.