Announcement

Collapse
No announcement yet.

Network bridge and monitor amount of bandwidth used

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Network bridge and monitor amount of bandwidth used

    Hi,

    Is this possible without buying new hardware?
    Last edited by WF_h; 1st October 2007, 16:05.

  • #2
    Re: Network bridge and monitor amount of bandwidth used

    Just an idea off the top of my head-
    1) add a new NIC to the VM host and assign it to that VM guest ONLY
    2) connect the new NIC to a managed switch with SNMP
    3) Use PRTG, MRTG or Nagios to connect to that switch and monitor bandwidth over time
    4) Yes, I believe you can setup permissions using the VS web page so that only a single user can shut down and restart a single VM

    I hope that helps.

    Thanks,
    David Davis - Petri Forums Moderator & Video Training Author
    Train Signal - The Global Leader in IT Video Training
    TrainSignalTraining.com - Free IT Training Products
    Personal Websites: HappyRouter.com & VMwareVideos.com

    Comment


    • #3
      Re: Network bridge and monitor amount of bandwidth used

      Hi,

      I got a couple of questions where I couldn't find a good answer for.

      Let me first explain the situation.
      I'm trying to create a CentOS virtual server in MS Virtual Server 2005 R2.
      This VM should have its own external IP address (IP host: *.*.*.212 and .213 , IP guest: *.*.*.214).
      I would like to know how I assign an IP directly to the VM, and how to know how many GB's a VM uses (without the guest OS can change that number (like by restarting or resetting the stats in his VM)).
      That as a first problem, now the second one is that I would like to be able to let the person for who I'm hosting the VPS for, know how many GB's he's using (network bandwidth) and give him the option to (re)start or shut down his VM within a webinterface.
      Is that possible?

      Kind regards,
      WF_h
      Last edited by WF_h; 1st October 2007, 16:06.

      Comment


      • #4
        Re: Network bridge and monitor amount of bandwidth used

        I am trying to picture the virtual interfaces on the host system but I don't have a VS system to look at for reference right now.

        Say that there was a seperate virtual interface for the virtual guest. You could then point PRTG to the host system and monitor that single virtual interface using PRTG or similar.

        Or, why not just enable SNMP on the virtual GUEST system and monitor that interface directly ...? have you tried that?

        Thanks
        David Davis - Petri Forums Moderator & Video Training Author
        Train Signal - The Global Leader in IT Video Training
        TrainSignalTraining.com - Free IT Training Products
        Personal Websites: HappyRouter.com & VMwareVideos.com

        Comment


        • #5
          Re: Network bridge and monitor amount of bandwidth used

          Looks like something went wrong with my messages..

          Anyway, yes, that'd be an option. I should only make sure the guest can't mess with the stats.

          What should be the settings for a bridged connections be like?

          I've tried attaching the physical NIC to the VS, and use as settings in the virtual server:
          IP: 85.*.*.216
          Gateway: 85.*.*.212 (host IP)
          Subnetmask: 255.255.255.0
          But that doesn't work. What did I configure wrong?

          Comment


          • #6
            Re: Network bridge and monitor amount of bandwidth used

            It should be possible without buying any new hardware.

            What if you just monitored the virtual guest's NIC card?

            You would have to do some testing to see what happened to the stats when it was rebooted or if the client, as an admin, could clear the stats. I am not sure about that. That was why I was thinking of ways to get it out of the control of the guest OS - like off on a switch that is being monitored or a different NIC on the host system that - both of which are under your control and not the client.

            Hope that helps.
            David Davis - Petri Forums Moderator & Video Training Author
            Train Signal - The Global Leader in IT Video Training
            TrainSignalTraining.com - Free IT Training Products
            Personal Websites: HappyRouter.com & VMwareVideos.com

            Comment

            Working...
            X