Netgate SG-1000 microFirewall

Author Topic: Traffic Graph showing Negative Value  (Read 403 times)

0 Members and 1 Guest are viewing this topic.

Offline luke1018

  • Jr. Member
  • **
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Traffic Graph showing Negative Value
« on: January 11, 2018, 01:40:06 am »
Hi all, I have some difficult when I come to setup my second VLAN. The graph is showing negative values, may I know which part could have done wrong.

Offline luke1018

  • Jr. Member
  • **
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #1 on: January 11, 2018, 01:54:50 am »
Some records is showing:

Host IP : Session_timeout
Bandwidth In: undefined Bits/sec
Bandwidth Out: undefined Bits/sec

Offline Harvy66

  • Hero Member
  • *****
  • Posts: 2360
  • Karma: +220/-12
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #2 on: January 11, 2018, 07:26:09 am »
I haven't experienced this before, but is your session timed out?

Offline KOM

  • Hero Member
  • *****
  • Posts: 5823
  • Karma: +710/-23
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #3 on: January 11, 2018, 08:21:04 am »
It's always done this for me (negative values for interface-out).  I assumed it was by design.

Offline Harvy66

  • Hero Member
  • *****
  • Posts: 2360
  • Karma: +220/-12
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #4 on: January 11, 2018, 02:36:02 pm »
It's always done this for me (negative values for interface-out).  I assumed it was by design.

Yes, but his screenshot is strange where the y axis has no units. Overall something smells off, but the text with "session timeout" sounds like they needed to fresh the page.

Offline KOM

  • Hero Member
  • *****
  • Posts: 5823
  • Karma: +710/-23
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #5 on: January 11, 2018, 02:50:09 pm »
Quote
Overall something smells off, but the text with "session timeout" sounds like they needed to fresh the page.

Yes, I've had this same issue where the table doesn't update.  A refresh fixes it all up.

Offline luke1018

  • Jr. Member
  • **
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #6 on: January 30, 2018, 09:48:07 pm »
I haven't experienced this before, but is your session timed out?

Not sure about that. I am trying to monitor 2 different network on one pfsense.

Offline luke1018

  • Jr. Member
  • **
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #7 on: January 30, 2018, 09:50:14 pm »
I am still getting this after a refresh.

And i added a new screenshot of the Interface Assignments.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15736
  • Karma: +1469/-210
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #8 on: February 02, 2018, 11:52:31 am »
Are the interface actually working?  Your talking to the interface - so your sure there is actually in out traffic, its just not showing in the graph?

You can turn off inverse if you don't like it..

- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.3-RELEASE (work)
1x SG-3100 2.4.3-RELEASE (work)
1x SG-4860 2.4.3-RELEASE (home)

Offline Lawrence Dol

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
    • Software Monkey
Re: Traffic Graph showing Negative Value
« Reply #9 on: February 05, 2018, 01:18:25 am »
This is not a bug, and it's not showing "negative" values. The default rendering simply shows outgoing traffic underneath and incoming traffic on top instead of overlaying both on the top. It's controlled by the "Inverse" setting in the graph.

Picture attached.
Lawrence Dol
Perfection is the enemy of excellence.
pfSense on a recycled AMD AthlonII X3 435; 3GHz; 8 GiB

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15736
  • Karma: +1469/-210
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #10 on: February 05, 2018, 06:49:29 am »
But what is odd is not showing any in the other direction also.. Maybe its really really low?  But think there is a something wrong where he is only seeing 1 half of the traffic.. As I already stated if you don't want to see the inverse you can just turn that off..
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.3-RELEASE (work)
1x SG-3100 2.4.3-RELEASE (work)
1x SG-4860 2.4.3-RELEASE (home)

Offline luke1018

  • Jr. Member
  • **
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #11 on: February 06, 2018, 01:30:33 am »
Are the interface actually working?  Your talking to the interface - so your sure there is actually in out traffic, its just not showing in the graph?

You can turn off inverse if you don't like it..

Hi, thanks for your reply. May I know how do I check if I am "talking" to the interface?

For the graph turning off the inverse is not the main issue. Main issue is that does not show any activities....

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15736
  • Karma: +1469/-210
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Traffic Graph showing Negative Value
« Reply #12 on: February 08, 2018, 08:01:15 am »
"Main issue is that does not show any activities.... "

That is what it looks like to me as well which is really odd..

What does say

systat -ifstat 5

show you for your interfaces traffic?  What about say something like


[2.4.2-RELEASE][root@sg4860.local.lan]/root: netstat -i -b -n -I igb2
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll
igb2   1500 <Link#3>      00:08:a2:0c:e6:20 243692313     0     0 33829938506 166012308     0 220759170807     0
igb2      - fe80::%igb2/6 fe80::208:a2ff:fe        0     -     -          0        1     -        116     -
igb2      - 192.168.2.0/2 192.168.2.253        95013     -     -   13184546    48803     -   10963069     -
[2.4.2-RELEASE][root@sg4860.local.lan]/root:

You can call up a specific vlan with say
[2.4.2-RELEASE][root@sg4860.local.lan]/root: netstat -i -b -n -I igb2.5
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll
igb2.  1500 <Link#12>     00:08:a2:0c:e6:20   667311     0     0   40451516     4895     0     809821     0
igb2.     - fe80::%igb2.5 fe80::208:a2ff:fe        0     -     -          0        2     -        172     -
igb2.     - 192.168.5.0/2 192.168.5.253           42     -     -      20976      133     -      13931     -
[2.4.2-RELEASE][root@sg4860.local.lan]/root:
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.3-RELEASE (work)
1x SG-3100 2.4.3-RELEASE (work)
1x SG-4860 2.4.3-RELEASE (home)