rrdtool + HotsaNIC 그래픽 문제

김삼수의 이미지

kernel 2.6에 rrdtool + HotsaNIC을 사용합니다.
diskio, network, system(mem,swap)그래프가 안그려지거나 디비가 생성이 되지 않는 문제가 발생합니다.
조언 부탁드립니다. 아래 부분은 각 모듈의 settings부분입니다.
혹 rrdtool 버전과 HotsaNIC버전에서 차이가 나는지요....CentOS release 4.5

diskio,
vi settings 부분
KERNEL="2.6"
SOURCE="diskstats"
DEV=3_0,hda

2.6버전으로 수정된 linux.pm부분입니다.
package HotSaNICmod::OSdep;
use RRDs;

sub version {
($VERSION = '$Revision: 1.18 $') =~ s/.*(\d+\.\d+).*/$1/;
my $platform;
foreach (keys(%INC)) { $platform=$_ if $_ =~ /platform/; }
return "$platform $VERSION";
}
sub sample {
my %args=@_;

@stats = ();
if ($args{KERNEL} eq "2.6") {
open FILE,"/proc/diskstats";
while () {
chomp;
push @stats, $_ if / [hs]d. /;
}
close FILE;
foreach my $entry (@stats) {
$entry =~ s/^\s*//;
my ($num1,$num2,undef,$racc,$undef,$rblk,undef,$wacc,undef,$wblk,undef,undef,undef,undef) = split /\s+/, $entry;
$num = $num1 . '_' . $num2;
store_values($args{MODNAME},$num,$racc,$wacc,$rblk,$wblk,512);
}
} elsif ($args{KERNEL} eq "2.4") { -> 요 라인부터는 기본 그대로구요

system(mem, swap)
메모리나 스왑은 mem.rrd 디비를 쓰는것 같은데요...디비는 생성되는데 그래프가 그려지지 않아요...settings는 기본으로 설정을 바꾼건 없구요
다른 cpu, load, interrupts 그래프가 정상적으로 나오는데 유독 메모리하고 스왑만 그래프가 그려지지 않네요.....
vi settings 부분입니다.
NUMCPU="1"
GRAPH_BASE.CPU="absolute"
CPU_SHOW_MAX="yes"
CPUGRAPH="1"
SECTIONS="cpu load proc mem users int uptime" <-이건 안되서 그냥 추가해본거구요
IRQ=0,timer
IRQ=1,kbd
IRQ=2,casc
IRQ=3,ser1
IRQ=4,ser2
IRQ=5,
IRQ=6,fdd
IRQ=7,lpt
IRQ=8,rtc
IRQ=9,
IRQ=10,
IRQ=11,
IRQ=12,
IRQ=13,CoPro
IRQ=14,
IRQ=15,

network
vi settings 부분
IPTABLES="/sbin/iptables"
STYLE="bytes"
INTIF=""
EXTIF="eth0"
DEVEXT="아아피,eth0"

댓글 달기

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