Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Feature Requests
  3. Network Traffic Monitoring

Network Traffic Monitoring

Scheduled Pinned Locked Moved Feature Requests
2 Posts 2 Posters 19.9k Views
  • 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.
  • S
    S
    shovandas
    wrote on last edited by
    #1

    Hi Team,

    I required a Network Monitoring Tool (Open Source) and finally looking at the documentation and slick setup instruction of Netxms, i have preferred to evaluate this software. But having a Network Monitoring Software in place, our first criteria is to Monitor the Network traffic over LAN AND Content (Internet Traffic such as Email, Internet Download & Internet Upload) moving to and fro over internet from LAN through a Proxy Server which works as Gateway to access internet from Lan.

    As  I am new to this tool, so i want to know if my basic requirement can be fulfilled with this software or not if I setup this Netxms server at our proxy server; then i ll prefer to explore further. I can understand, that it may not be OTB and requires configuration.

    Please help me finding the direction.

    Thanks
    Shovan

    1 Reply Last reply
    0
    • Iliyan VutovV
      Iliyan VutovV
      Iliyan Vutov
      wrote on last edited by
      #2

      This could be easily achieved via SNMP. If you're running Linux you can setup network counters in NetFilter like:
      # WEB Traffic
      iptables -I FORWARD -s $localnet -d 0/0 -p tcp --dport 80
      iptables -I FORWARD -s 0/0 -d $localnet -p tcp --dport 80

      After that you can see something like (for the purpose of example I'm using INPUT chain):

      root@green:~# iptables -L INPUT -n -v
      Chain INPUT (policy ACCEPT 1265 packets, 181K bytes)
       pkts bytes target    prot opt in    out    source              destination       
        170 30091            tcp  --  *      *      0.0.0.0/0            0.0.0.0/0          tcp dpt:80
      root@green:~#

      Whit a little help of AWK you can make a script that will get bytes value:

      Create a file.sh and put that command in it. After that extend your SNMP functionality by adding a line like such in snmpd.conf:

      extend webtraf  /bin/sh /path/to/file.sh

      Don't forget to restart your snmpd. Then call snmpwalk:

      snmpwalk -v 2c -c community IP.ADD.RE.SS iso.3.6.1.4.1.8072.1.3.2.4.1.2

      It should return something similar to

      iso.3.6.1.4.1.8072.1.3.2.4.1.2.7.119.101.98.116.114.97.102.1 = STRING: "313K"

      And voila - this is the web traffic counter. After that you can easily create DCI with SNMP and put this OID to get the value.
      I hope you've got the idea 🙂
      I guess there are other ways of getting that traffic but I can't think of any right now.

      Cheers,
      Iliyan

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups