LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-02-2015, 01:51 PM   #1
aazevedo1984
LQ Newbie
 
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
Need a solution to monitoring a gateway traffic


Hi,

I'm trying to find a solution for this problem. I have a firewall that has 2 links on it, and it's a gateway for my local network. It's working well, but I need monitoring it, for the main reason "I can't block any access all the time" but I can use priority and did it, but if a host trying to access a video, download etc I wan't to know witch host doing it and witch sites he's trying to access at this moment. I tried zabbix, installed it, but just got graphics for interface, zabbix don't show me witch hosts are generating that bandwidth, and I need know it to block that host for a short moment if I have to many hosts trying access a site that's important for the job and 1 or more hosts are trying to access a site that's not important. I tried squirm, and other's proxy analyzers, but some hosts and services don't pass by proxy rules, and I need something that work on "real time", that's why I need something to watch a forward to solve this problem and I want to integrate it with zabbix/cacti or anything else that is open source and free that can generate visual or a audible alarm. I was taking a look at observium, but it's not free and I don't know if it's "real time". Anyone can help me with it?
 
Old 01-03-2015, 05:25 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by aazevedo1984 View Post
(..) if a host trying to access a video, download etc I wan't to know witch host doing it and witch sites he's trying to access at this moment. (..) zabbix don't show me witch hosts are generating that bandwidth,
Zabbix uses SNMP so first you would have to set up accounting using 0) accounting rules in iptables with ipt_nfacct / xt_nfacct or user land tools like ipac-ng or bandwidthd (see Sourceforge) or Ntop or Netflow and then expose it via the right SNMP OID if the tool can't be queried differently. However your problem is that:


Quote:
Originally Posted by aazevedo1984 View Post
(..) I need know it to block that host for a short moment if I have to many hosts trying access a site that's important for the job and 1 or more hosts are trying to access a site that's not important.
... next to exposing counters you also require some logic to alert only on bandwidth usage peaks and since I fear you're adjusting things manually I doubt that's going to work efficiently. I suggest instead you look into traffic shaping. Search for "LARTC" for gory details and "Wondershaper" if you want to get an idea of how to accomplish it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ip traffic monitoring Ammad Linux - Networking 3 08-12-2007 12:23 PM
Linux gateway traffic monitoring saifurab Linux - Server 3 05-23-2007 12:06 AM
monitoring traffic cranium2004 Linux - Networking 1 03-08-2006 09:03 AM
Monitoring traffic? orange400 Linux - Networking 2 06-19-2004 07:32 AM
Wireless traffic stomps isdn traffic on gateway machine Radix999 Linux - Wireless Networking 0 11-14-2003 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration