SeriousK
Member
Hi,
ich habe mir mal Super karaba istalliert und es fungst auch soweit alles sehr gut
nur wird kein up/download angezeigt und auch keine IP!
Mein sys: suse 9.1
ich habe keinen Router und eine dynamiche IP!
hier der code von karaba für den traffic!:
################################################################################
# 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 eth0 | 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=f,f,f format="%in Kb" fontsize=10 font="nimbus sans l" decimals=1
text x=100 y=48 value="(incoming)" color=f,f,f 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=f,f,f format="%out kb" fontsize=10 font="nimbus sans l" DECIMALS=1
text x=100 y=93 value="(outgoing)" color=f,f,f fontsize=10 font="nimbus sans l" DECIMALS=1
text x=20 y=110 value="Total: IN" color=f,f,f fontsize=10 font="nimbus sans l"
text x=110 y=110 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $3 $4}'" color=f,f,f align=right fontsize=10 font="nimbus sans l"
text x=120 y=110 value="OUT" color=f,f,f fontsize=10 font="nimbus sans l"
text x=190 y=110 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $7 $8}'" color=f,f,f 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=f,f,f fontsize=16 font="neuropol"
</group>
ich habe mir mal Super karaba istalliert und es fungst auch soweit alles sehr gut
nur wird kein up/download angezeigt und auch keine IP!
Mein sys: suse 9.1
ich habe keinen Router und eine dynamiche IP!
hier der code von karaba für den traffic!:
################################################################################
# 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 eth0 | 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=f,f,f format="%in Kb" fontsize=10 font="nimbus sans l" decimals=1
text x=100 y=48 value="(incoming)" color=f,f,f 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=f,f,f format="%out kb" fontsize=10 font="nimbus sans l" DECIMALS=1
text x=100 y=93 value="(outgoing)" color=f,f,f fontsize=10 font="nimbus sans l" DECIMALS=1
text x=20 y=110 value="Total: IN" color=f,f,f fontsize=10 font="nimbus sans l"
text x=110 y=110 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $3 $4}'" color=f,f,f align=right fontsize=10 font="nimbus sans l"
text x=120 y=110 value="OUT" color=f,f,f fontsize=10 font="nimbus sans l"
text x=190 y=110 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $7 $8}'" color=f,f,f 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=f,f,f fontsize=16 font="neuropol"
</group>