LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2006, 04:12 PM   #1
gregleimbeck
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Rep: Reputation: 0
Karamba network monitor


I am running Karamba on kubuntu, and have been able to get everything working in this theme except for the network load monitors. I am trying to get it to monitor my wireless card (eth1) but the graphs stay idle, and I am not sure what part I need to edit. I have the ip address part working. Here is the part of the config file in question.

################################################## ##############################
# Network
################################################## ##############################
<group> x=10 y=275
text x=70 y=2 value="IP:" color=185,36,36 fontsize=10 font="nimbus sans l"
text x=85 y=2 sensor=program program="/sbin/ip addr show eth1 | grep 'inet ' | cut -d t -f2 | cut -d / -f1 | cut -b 2-" color=0,0,0 fontsize=10 font="nimbus sans l"

################################################## ##############################
# Sensor network upload
# range is up to 100 kb. change 'max' value if needed.
image x=10 y=20 path="img/netgrid-up.png"
graph x=10 y=19 w=200 h=28 color=185,36,36 sensor=network format="%in" interval=1000 max=1000
text x=40 y=48 sensor=network color=0,0,0 format="%in Kb" fontsize=10 font="nimbus sans l" decimals=1
text x=100 y=48 value="(incoming)" color=0,0,0 fontsize=10 font="nimbus sans l" DECIMALS=1

################################################## ##############################
# Sensor network upload
# range is up to 16 kb. change 'max' value if needed.
image x=10 y=65 path="img/netgrid-down.png"
graph x=10 y=64 w=200 h=28 color=185,36,36 sensor=network format="%out" interval=1000 max=1000
text x=40 y=93 sensor=NETWORK color=0,0,0 format="%out kb" fontsize=10 font="nimbus sans l" DECIMALS=1
text x=100 y=93 value="(outgoing)" color=0,0,0 fontsize=10 font="nimbus sans l" DECIMALS=1

text x=20 y=110 value="Total: IN" color=0,0,0 fontsize=10 font="nimbus sans l"
text x=110 y=110 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $3 $4}'" color=0,0,0 align=right fontsize=10 font="nimbus sans l"
text x=120 y=110 value="OUT" color=0,0,0 fontsize=10 font="nimbus sans l"
text x=190 y=110 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $7 $8}'" color=0,0,0 align=right fontsize=10 font="nimbus sans l"

image x=160 y=105 PATH="img/icons/network.png"
text x=15 y=130 value="Network Load" color=0,0,0 fontsize=16 font="neuropol"
</group>


################################################## ##############################
image x=25 y=430 path="img/line.png"
################################################## ##############################



Any help is greatly appreciated! ( )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
karamba wireless monitor novacrasher Linux - Software 3 11-16-2005 04:16 AM
Screenlock + Battery Monitor + Network monitor Atrocity Slackware 1 10-02-2005 04:06 PM
karamba *not super karamba* whishkah Linux - Software 1 09-28-2004 10:59 AM
More than one monitor in a network? theonebeyond Linux - General 4 09-20-2004 04:26 AM
Network Monitor Xiang Wei Linux - Newbie 3 07-17-2002 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration