suse 9.3
superkaramba-0.36-1.guru.suse93.kde34
moin moin,
ich habe zwei netzwerkkarten. die eine hat probleme gemacht, also habe ich mein modem in die zweite karte gesteckt und kinternet angepasst. aus dem einwahlprotokoll:
ich hoffe, mir kann einer helfen.
superkaramba-0.36-1.guru.suse93.kde34
moin moin,
ich habe zwei netzwerkkarten. die eine hat probleme gemacht, also habe ich mein modem in die zweite karte gesteckt und kinternet angepasst. aus dem einwahlprotokoll:
seitdem zeigt cynapses aber nicht mehr meinen traffic an. in der datei sys_mon_theme habe ich bei "Network" von eth0 auf eth1 umgestellt und cynapses reloaded. das hats aber nicht gebracht. hier mal der relevante ausschnitt aus der sys_mon_theme:pppd[0]: connect: dsl0 <-> eth1
Code:
################################################################################
# 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 download
# 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=500
text x=40 y=48 sensor=network color=0,0,0 format="%in Kb" fontsize=15 font="nimbus sans l" decimals=1 shadow=1
text x=100 y=48 value="(IN)" color=0,0,0 fontsize=12 font="nimbus sans l" DECIMALS=1 shadow=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=100
text x=40 y=93 sensor=NETWORK color=0,0,0 format="%out kb" fontsize=15 font="nimbus sans l" DECIMALS=1 shadow=1
text x=100 y=93 value="(OUT)" color=0,0,0 fontsize=12 font="nimbus sans l" DECIMALS=1 shadow=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 eth0 | grep 'RX byte' | awk '{print $3 $4}'" color=0,0,0 align=right fontsize=15 font="nimbus sans l" shadow=1
#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 eth0 | grep 'RX byte' | awk '{print $7 $8}'" color=0,0,0 align=right fontsize=15 font="nimbus sans l" shadow=1
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>