Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Some Wireless RRD graphs seem to be missing

    2.1 Snapshot Feedback and Problems - RETIRED
    2
    5
    1448
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wallabybob last edited by

      I have three wireless interfaces (OPT1, OPT2 and Wlan) configured on my system:

      | OPT1 | ral0 |
      | OPT2 | ral0_wlan1 |
      | Wlan | run0 |

      Status -> RRD Graphs, click on Wireless tab, the Graphs pulldown gives options Allgraphs and OPT1. I expected OPT2 and Wlan to also be options.

      I'm running

      2.1-DEVELOPMENT (i386)
      built on Wed May 2 08:30:32 EDT 2012
      FreeBSD 8.3-RELEASE

      Edit: This post includes a table. Display of tables seems to be broken again. I'll report that where I last reported it (General forum, if I recall correctly).

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob last edited by

        Mystery solved: It appears the Wireless rrd graph is intended only for wireless interfaces operating in bss mode.

        However I noticed the following three lines in /var/db/rrd/updaterrd.sh:```

        polling wireless for interface opt1 ral0_wlan0

        WIFI=/sbin/ifconfig ral0_wlan0 list sta| /usr/bin/awk 'gsub("M", "") {getline 2;print substr($5, 0, length($5)-2) ":" $4 ":" $3}'
        /usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/opt1-wireless.rrd N:

        
        I wonder if the last line should be```
        
        /usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/opt1-wireless.rrd N:$WIFI
        
        
        1 Reply Last reply Reply Quote 0
        • D
          databeestje last edited by

          I think so too.

          Looking in the code it's set to ${WIFI} which should expand.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob last edited by

            From other examples of ${var} in /etc/inc/rrd.inc I guess that${WIFI}should be```
            ${WIFI}

            1 Reply Last reply Reply Quote 0
            • D
              databeestje last edited by

              Done

              1 Reply Last reply Reply Quote 0
              • First post
                Last post