1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FAO: RainMeter Pro's - Help required - Network Monitor

Discussion in 'Windows & Other Software' started by ~Divine~Wind~, 19 Feb 2010.

  1. ~Divine~Wind~

    Underboss

    Joined: 14 Jun 2004

    Posts: 16,192

    Location: Newcastle U/T

    Just having a play about as I dont like the standard windows 7 stuff and am busy hacking away thru sections of random skins and got a bit stuck with trying to get a network one working properly

    Code:
    ;[GATHER NETWORK]=================================
    
    [MeasureNetIn]
    Measure=NetIn
    Interface3
    UpdateDivider=2
    
    
    [MeasureNetOut]
    Measure=NetOut
    Interface4
    UpdateDivider=2
    
    [MeasureBytesIn]
    Measure=Plugin
    Plugin=PerfMon.dll
    PerfMonObject=Network Interface
    PerfMonCounter=Bytes Received/sec
    PerfMonInstance=Realtek RTL8168B/8111B Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
    PerfMonDifference=0
    UpdateDivider=2
    
    ;[NETWORK LABEL]==================================
    
    [MeterNetwork]
    Meter=STRING
    X=15
    Y=25r
    FontColor=#FontColor#
    StringStyle=BOLD
    FontSize=8
    StringAlign=LEFT
    FontFace=#FontFace#
    Text="Network:"
    AntiAlias=1
    
    ;[NETWORK HOSTNAME]===============================
    
    [MeasureHost]
    Measure=Plugin
    Plugin=Plugins\SysInfo.dll
    SysInfoType=HOST_NAME
    UpdateDivider=30
    
    [MeterHost]
    MeasureName=MeasureHost
    Meter=STRING
    X=15
    Y=15r
    FontColor=#FontColor#
    StringStyle=NORMAL
    FontSize=8StringAlign=LEFT
    FontFace=#FontFace#
    Text="Host: %1"
    AntiAlias=1
    
    ;[NETWORK WEB IP]=================================
    
    [MeasureIPWeb]
    Measure=Plugin
    Plugin=Plugins\WebParser.dll
    URL=http://ipdetect.dnspark.com/
    RegExp="(?siU)<body>(.+)Address: (.+)</body>"
    StringIndex=2
    UpdateRate=300
    
    [MeterWANIPLabel]
    Meter=STRING
    X=0r
    Y=15r
    FontColor=#FontColor#
    FontSize=8
    FontFace=#FontFace#
    AntiAlias=1
    Prefix="IP:"
    
    [MeterWANIP]
    Meter=STRING
    MeasureName=MeasureIPWeb
    X=104r
    Y=0r
    StringAlign=Right
    FontColor=#FontColor#
    FontSize=8
    FontFace=#FontFace#
    AntiAlias=1
    
    ;[NETWORK INBOUND TRAFFIC]========================
    
    [MeterNetInPre]
    Meter=STRING
    X=16
    Y=20r
    FontColor=#FontColor#
    StringStyle=NORMAL
    FontSize=8
    StringAlign=LEFT
    FontFace=#FontFace#
    AutoScale=1
    AntiAlias=1
    Text="DN:"
    
    [MeterNetInText]
    MeasureName=MeasureNetIn
    Meter=STRING
    X=44
    Y=0r
    FontColor=#FontColor#
    StringStyle=NORMAL
    FontSize=8
    StringAlign=LEFT
    FontFace=#FontFace#
    AutoScale=1
    NumOfDecimals=2
    AntiAlias=1
    Text="%1B"
    
    [MeterNetInGraph]
    Meter=Line
    MeasureName=MeasureNetIn
    Percentual=1
    X=110
    Y=0r
    H=12
    W=40
    LineCount=1
    AutoScale=1
    LineColor=255, 255, 255, 64
    
    ;[NETWORK OUTBOUND TRAFFIC]=======================
    
    [MeterNetOUTPre]
    Meter=STRING
    X=16
    Y=15r
    FontColor=#FontColor#
    StringStyle=NORMAL
    FontSize=8
    StringAlign=LEFT
    FontFace=#FontFace#
    AutoScale=1
    AntiAlias=1
    Text="UP:"
    
    [MeterNetOutText]
    MeasureName=MeasureNetOut
    Meter=STRING
    X=44
    Y=0r
    FontColor=#FontColor#
    StringStyle=NORMAL
    FontSize=8
    StringAlign=LEFT
    FontFace=#FontFace#
    AutoScale=1
    NumOfDecimals=2
    AntiAlias=1
    Text="%1B"
    
    [MeterNetOutGraph]
    Meter=Line
    MeasureName=MeasureNetOut
    Percentual=1
    X=110
    Y=0r
    H=12
    W=40
    AutoScale=1
    LineCount=1
    LineColor=255, 255, 255, 64
    
    ;[END CONFIG FILE]================================
    
    Is whats currently on there issues being...

    It shows no internal or external IP
    Download and upload VERY erratic
    Changes from B >kb> KB

    Can anyone help with this?

    Need a proper readout of internal and external IP.
    A better way to monitor the actual traffic?
    Any way to lock this as say Kb/s so it doesnt keep changing units?