Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

Bandwidth usage monitoring per subnet

Hello,

I have a FreeBSD 7.2 box as the boarder router/firewall with ipfw compiled into kernel. Also I have a server in my network which collects and graphs various monitoring information from network with MySQL, PHP and Apache installed. I would like to know if there is a tool to collect Bandwidth usage information from FreeBSD box per subnet, NOT per port, NOT per IP, just per subnet, I mean it can monitor per IP but it should graph bandwidth usage per subnet. The desirable way is to keep statistic collector on FreeBSD box send this info to MySQL and graph with PHP. But all other options can be acceptable.

Thank you in advance
0
synisys
Asked:
synisys
1 Solution
 
GuruChiuCommented:
Try PRTG or RRD Tool.
0
 
Kamran ArshadIT AssociateCommented:
Hi,

I know solarwinds Orion. You can tryout ObserverNMS;

http://www.observernms.org/
0
 
tkuennenCommented:
I agree with GuruChiu on the use of RRDTool. I'm a big fan of RRD. If you want an easy way to implement RRD take a look at Cricket. http://cricket.sourceforge.net/
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
tkuennenCommented:
Also take a look at pfSense.. It's a modified version of BSD made for firewall and or routing applications and will support what you are looking for.
0
 
madunixChief Information Security Officer Commented:
i use cacti and MRTG to monitor my environment ..... so install and run MRTG
Install SNMP using Ports

# cd /usr/ports/net-mgmt/net-snmp
# make && make install && make clean
Add Two Lines into /etc/rc.conf
snmpd_enable="YES"
snmpd_flags="-a -Lsd -p /var/run/snmpd.pid"
# chmod 444 /usr/local/etc/rc.d/snmptrapd.sh
   
Configure snmpd.conf      

      # snmpconf -i
      a. Edit snmpd.conf
      b. Choose : System Information Setup
      c. You will get
                     1:  The [typically physical] location of the system.
                  2:  The contact information for the administrator
                   3:  The proper value for the sysServices object.
      d. Fill up 1 and 2. Please pay attention to option 3
      e. When finish, back to main menu and choose 2.
      f. Choose 3, a SNMPv1/SNMPv2c read-only access community name
      h. Put in community name such as, foo
      i. In hostname and network mask we enter 127.0.0.1
      j. Setup OID , leave blank
      k. Back to menu
      l. The IP address and port number that the agent will listen on.
 
Finish generate configuration file.
# /usr/local/etc/rc.d/snmpd.sh start
Install MRTG using ports
# cd /usr/ports/net-mgmt/mrtg
# make && make install && make clean
     
configure file for MRTG
# cfgmaker foo@127.0.0.1 > /usr/local/etc/mrtg/mrtg.cfg
Edit /usr/local/etc/mrtg/mrtg.cfg , put in Apache Directory
Adding Cron Jon
# crontab -e
Insert
*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
Launch Brower and view the file.

check also
http://oss.oetiker.ch/mrtg/
http://www.section6.net/wiki/index.php/Setting_up_MRTG_in_FreeBSD
http://forums.freebsd.org/showthread.php?t=248
http://www.cacti.net/

madunix
0
 
srgilaniCommented:
Please go through below articles which explain how you can use MRTG for IPFW.

http://alex.kruijff.org/FreeBSD/Traffic_Report.html

http://howto.aphroland.org/HOWTO/MRTG/IPFWCountersWithMRTG

0
 
synisysAuthor Commented:
Thank you very much, I will try suggested solutions and come back with comments
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now