[CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Hi all Can someone please tell me how to monitor each VM's traffic on a CentOS 5.2 server, running either Xen or OpenVZ? I need to bill my users for the traffic they use, and would like to have a traffic usage graph for each Xen / OpenVZ Virtual Machine on the server. Thanx :) -- Kind Regards

Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Rudi Ahlers
Sure, that's for XEN, but it's not very effective. I need graph the traffic for each VM, not the vif - the vifs tend to change on a reboot, and also reset with the stats. How can I graph the traffic over a perioud of time, for any given IP address? Cacti works well, for switches routers, but I

Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh
Rudi Ahlers wrote: Sure, that's for XEN, but it's not very effective. I need graph the traffic for each VM, not the vif - the vifs tend to change on a reboot, and also reset with the stats. How can I graph the traffic over a perioud of time, for any given IP address? Cacti works well, for

Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Karanbir Singh
Rudi Ahlers wrote: I'm looking for something similar to Cacti / MRTG - but something that can graph traffic for each IP / VM on a server humm... Cacti or mrtg would work fine if it targets the interface and the resources on the inside of the vm. for all purposes it should not matter if the

[CentOS-virt] KVM + bridge + static ip address

2008-08-08 Thread Raymond C. Rodgers
Hi folks, I've been reading through the list a bit, and also looked at the KVM How-To on the wiki (http://wiki.centos.org/HowTos/KVM ) but I still have a question. I haven't yet begun to set up KVM, so I haven't made any mistakes yet. :-) My company recently rented a server on which CentOS

Re: [CentOS-virt] how to monitor each VM's traffic?

2008-08-08 Thread Luke S Crawford
Rudi Ahlers [EMAIL PROTECTED] writes: Sure, that's for XEN, but it's not very effective. I need graph the traffic for each VM, not the vif - the vifs tend to change on a reboot, and also reset with the stats. set vifnam=xenname in the vif=[] statement and you can give the interfaces symbolic

Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread cetertick
Any error occured???If yes, post here!Em 15:25, white list   escreveu: I just want to install NetBSD on Xen, im running centOS 5.2 Xen 3Im not sure what im doing wrong, I cant install NetBSD.here is my vm04 config file. Please Helpkernel=/boot/netbsd/netbsd-XEN3_DOMU.gzbuilder=hvmname = vm02#uuid

Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread white list
If I comment the pygrub line I get the following error message. [EMAIL PROTECTED] xen]# xm create -c vm02 Using config file ./vm02. Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS? Please Help! - Augustin On Fri, Aug 8, 2008 at 3:13 PM,

Re: [CentOS-virt] Installing guest OS on Xen 3

2008-08-08 Thread Jerry Amundson
On Fri, Aug 8, 2008 at 5:31 PM, white list [EMAIL PROTECTED] wrote: If I comment the pygrub line I get the following error message. [EMAIL PROTECTED] xen]# xm create -c vm02 Using config file ./vm02. Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in

Re: [CentOS-es] ERROR SYSLOG

2008-08-08 Thread BlackHand
Hector Cuadros Prosopio wrote: kernel: journal commit I/O error Q puede ser y desde ahi no me dejaba guardar ni podia usar ningun comando . Q puede ser Gracias Error fisico de disco, yo lo he visto en dos casos especificos, en esencia el disco te deja de responder, no pareciera ser un

[CentOS-es] leer la cola de correo postfix

2008-08-08 Thread Victor Santana - ReparacionONLINE
Hola otra vez...gracias de antemano a todos por vuestra ayuda. Tengo el postfix corriendo en la mquina y me gustara poder leer los mensajes que estn pendientes en la cola pero que tenga formato. Quiero decir, cuando lo abro con mi editor normal, sale todo sin formato alguno y es dificil para

Re: [CentOS-es] ERROR SYSLOG

2008-08-08 Thread Hector Cuadros Prosopio
Gracias Eso voy hacer cambiar de disco seria mejor gracias. El 8 de agosto de 2008 7:50, BlackHand [EMAIL PROTECTED] escribió: Hector Cuadros Prosopio wrote: kernel: journal commit I/O error Q puede ser y desde ahi no me dejaba guardar ni podia usar ningun comando . Q puede ser Gracias

[CentOS] MRTG Problem - no traffic recorded

2008-08-08 Thread Morten Nilsen
Hi all, I've just recently replaced my old firewall with a new one, running CentOS 5.. Yesterday, I decided to get MRTG up and running again, so I entered sections like this into the mrtg.conf file: Title[vlan10]: Bandwidth usage on tenchi.4th-age.com (Internet) PageTop[vlan10]: H1Traffic

[CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Hello folks, I am trying to add HDLC module support in the menuconfig. However, I am facing difficulties in rebuilding the kernel and modules. My main objective is to get the HDLC supported in kernel 2.6.9. I have a CentOS 4.4 with kernel 2.6.9.42. I need help in finding the best way to add

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]
Yahia Tachwali pisze: Hello folks, Hi. It is request for it to add this in kernel for centosplus, look at this: http://bugs.centos.org/view.php?id=3019 I am trying to add HDLC module support in the menuconfig. However, I am facing difficulties in rebuilding the kernel and modules. My main

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Ned Slider
Yahia Tachwali wrote: Hello folks, I am trying to add HDLC module support in the menuconfig. However, I am facing difficulties in rebuilding the kernel and modules. My main objective is to get the HDLC supported in kernel 2.6.9. I have a CentOS 4.4 with kernel 2.6.9.42. I need help in

Re: [CentOS] ext2online / ext2resize

2008-08-08 Thread Peter Kjellstrom
On Friday 08 August 2008, Al Sparks wrote: I'm running CentOS 5.2 x x86_64. I did an lvextend of a logical volume, and proceeded to run one of the ext2 utilities (e.g. ext2online This is a different tool, not in 5.2 (was in 4.x). , ext2resize Wrong name. ) and found to my surprise

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 07:13:01 +0200: You are talking about a basic vm installation to a partition instead of an image file? That doesn't make a difference. Whether you virt-install to file or partition you end up with xvda'd disks. If they work at all you one way or the

Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes
Aleksey Tsalolikhin wrote: Any suggestions on how to make this work under CentOS? I'd prefer to have CentOS on my laptop, to keep it the same OS as our servers.I don't want to learn two flavors of Linux... Thanks, -at It normally just works on most wireless cards (centos in general, not

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Johnny Hughes
[EMAIL PROTECTED] wrote: Yahia Tachwali pisze: Hello folks, Hi. It is request for it to add this in kernel for centosplus, look at this: http://bugs.centos.org/view.php?id=3019 I am trying to add HDLC module support in the menuconfig. However, I am facing difficulties in rebuilding the

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]
Johnny Hughes pisze: [EMAIL PROTECTED] wrote: Yahia Tachwali pisze: Hello folks, Hi. It is request for it to add this in kernel for centosplus, look at this: http://bugs.centos.org/view.php?id=3019 I am trying to add HDLC module support in the menuconfig. However, I am facing difficulties

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Johnny Hughes
[EMAIL PROTECTED] wrote: Johnny Hughes pisze: [EMAIL PROTECTED] wrote: Yahia Tachwali pisze: Hello folks, Hi. It is request for it to add this in kernel for centosplus, look at this: http://bugs.centos.org/view.php?id=3019 I am trying to add HDLC module support in the menuconfig. However,

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread [EMAIL PROTECTED]
Johnny Hughes pisze: [EMAIL PROTECTED] wrote: Johnny Hughes pisze: [EMAIL PROTECTED] wrote: Yahia Tachwali pisze: Hello folks, Hi. It is request for it to add this in kernel for centosplus, look at this: http://bugs.centos.org/view.php?id=3019 I am trying to add HDLC module support in the

[CentOS] Re: pam max locked memory issue after updating to 5.2 and rebooting

2008-08-08 Thread Rob Lines
It has been a few days so I am sending this again incase someone has seen this issue and might have a seen this problem or has a suggestion of where to look and why it might not be taking these settings with 5.2 when it did with 5.1 On Mon, Aug 4, 2008 at 2:00 PM, Rob Lines [EMAIL PROTECTED]

[CentOS] sound

2008-08-08 Thread tony . chamberlain
I am using Cent OS 4.6 and a USB speaker (no sound card but USB speaker works fine). Problem is, if I use something like xine or realplay and then later want to visit youtube through firefox, the youtube sound won't work, because even though I exited xine or realplay somehow it still has control

Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Robert Moskowitz
I have had a terrible time with NetworkManager. Johnny Hughes wrote: Aleksey Tsalolikhin wrote: Any suggestions on how to make this work under CentOS? I'd prefer to have CentOS on my laptop, to keep it the same OS as our servers.I don't want to learn two flavors of Linux... Thanks,

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Dirk H. Schulz
Hi Kai, --On 8. August 2008 10:31:18 +0200 Kai Schaetzl [EMAIL PROTECTED] wrote: - snip - If you don't mind ending up with xvda it's a good way. What is the problem with xvda? And what is the alternative? Dirk ___ CentOS mailing list

Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes
Johnny Hughes wrote: Aleksey Tsalolikhin wrote: Any suggestions on how to make this work under CentOS? I'd prefer to have CentOS on my laptop, to keep it the same OS as our servers.I don't want to learn two flavors of Linux... Thanks, -at It normally just works on most wireless cards

[CentOS] Command line partition manipulation

2008-08-08 Thread Plant, Dean
I want to write a script to automatically modify the partition table I am starting with 3 partitions like this # parted /dev/sda print Model: VMware, VMware Virtual S (scsi) Disk /dev/sda: 10.7GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size

Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Johnny Hughes
Robert Moskowitz wrote: I have had a terrible time with NetworkManager. Johnny Hughes wrote: Aleksey Tsalolikhin wrote: Any suggestions on how to make this work under CentOS? I'd prefer to have CentOS on my laptop, to keep it the same OS as our servers.I don't want to learn two

Re: [CentOS] Command line partition manipulation

2008-08-08 Thread Karanbir Singh
Plant, Dean wrote: Is there a way to use a non-interactive command to create the new 2nd partition in the free space? parted works well for such situations, and if python is your thing, pyparted is already included in the distro. - KB ___ CentOS

RE: [CentOS] Command line partition manipulation

2008-08-08 Thread Plant, Dean
Karanbir Singh wrote: Plant, Dean wrote: Is there a way to use a non-interactive command to create the new 2nd partition in the free space? parted works well for such situations, and if python is your thing, pyparted is already included in the distro. Sorry, I should have worded my first

RE: [CentOS] Command line partition manipulation

2008-08-08 Thread William L. Maltby
On Fri, 2008-08-08 at 15:10 +0100, Plant, Dean wrote: Karanbir Singh wrote: Plant, Dean wrote: Is there a way to use a non-interactive command to create the new 2nd partition in the free space? Yes. parted works well for such situations, and if python is your thing, pyparted is

[CentOS] Xen and bonding on Centos 5.2

2008-08-08 Thread Dirk H. Schulz
Hi folks, I am stuck with a weird phenomenon. I have set up two servers as xen servers with bonded interfaces (mode 1). The bond interface works fine on both servers as long as xen is not used. When using xen's network-bridge script (with netdev=bond0), one server works fine without

[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu http://lists.centos.org/mailman/listinfo/centos wrote: Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz), 4 GB RAM (MemTotal: 4072176 kB) and my system gets sevarel minutes to startup, specially on udev

[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu http://lists.centos.org/mailman/listinfo/centos wrote: Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz), 4 GB RAM (MemTotal: 4072176 kB) and my system gets sevarel minutes to startup, specially on udev

[CentOS] RE: CentOS5 running very slowly on a core 2 duo with 4 GB RAM

2008-08-08 Thread israel.garcia
israel.garcia at cimex.com.cu http://lists.centos.org/mailman/listinfo/centos wrote: Hi, I've installed CentOS5.2 on an INTEL Core 2 Duo (Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz), 4 GB RAM (MemTotal: 4072176 kB) and my system gets sevarel minutes to startup, specially on udev

Re: [CentOS] Mount a Xen disk image file

2008-08-08 Thread Kai Schaetzl
Dirk H. Schulz wrote on Fri, 08 Aug 2008 14:54:20 +0200: What is the problem with xvda? And what is the alternative? Didn't we just discuss that? xvda doesn't allow you simple mounting of the disk from the host, be it file or LV. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive

[CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
Hi all, I hope someone can help me with this one. I'm trying to graph all traffic on the localhost's network card with Cacti. From what I understand I should use SNMP to query the traffic, but I can't seem to get SNMP info for the network interface. I have installed all the necessary snmp

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
Rudi Ahlers wrote: running snmpwalk, I get the following: Likely you need to open up your snmpd.conf, take a look at this one as an example: http://portal.aphroland.org/~aphro/snmp/snmpd.conf For CentOS 4.x at least the OIDs are: eth0 in: .1.3.6.1.2.1.2.2.1.10.2 eth0 out:

[CentOS] Package request: php, pear: spreadsheet::excel::writer

2008-08-08 Thread Morten Nilsen
Hello, I am currently using this PEAR package to generate .xls documents in PHP; http://pear.php.net/package/Spreadsheet_Excel_Writer It would be very much appreciated if someone could add it to the repository, as it is always to prefer rpm packages over manually installed ones. -- Cheers,

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
On Fri, Aug 8, 2008 at 9:05 PM, nate [EMAIL PROTECTED] wrote: Rudi Ahlers wrote: running snmpwalk, I get the following: Likely you need to open up your snmpd.conf, take a look at this one as an example:

Re: [CentOS] Package request: php, pear: spreadsheet::excel::writer

2008-08-08 Thread Jay Leafey
Morten Nilsen wrote: Hello, I am currently using this PEAR package to generate .xls documents in PHP; http://pear.php.net/package/Spreadsheet_Excel_Writer It would be very much appreciated if someone could add it to the repository, as it is always to prefer rpm packages over manually

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
Rudi Ahlers wrote: snmpwalk -Of -v2c -c public localhost interfaces .iso.org.dod.internet.mgmt.mib-2.interfaces = No Such Object available on this agent at this OID So the question now is, what should the OID's be for CentOS 5.2 to get the network car's SNMP info? And where exactly do I

[CentOS] Stopping setroubleshootd failed

2008-08-08 Thread Lanny Marcus
This is probably a known issue, but just in case. On my Desktop, I am running SELinux in Permissive mode. When I restart the system, or shut it down, I notice this message: Stopping setroubleshootd failed. Notice at the end of the dmseg output below, regarding SELinux, there are three (3)

Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Aleksey Tsalolikhin
Thanks for testing the Live CD on your Inspiron laptop, Johnny. Ok, next stop, install CentOS to the hard drive. Thanks! Aleksey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Thank you very much for the link.. I have built a new bootable kernel 2.6.9-67 on my machine. However I still have a problem :( During the installation at make menuconfig stage after make oldconfig I have added the generic HDLC package with synchronous PPP support and saved the new config

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Also, on the procedure mentioned in the link, I am confused about the need to run: rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | tee build-out.log after menuconfig... I tend to believe that I need to do make all then make modules and make install after reconfiguring the

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread MHR
On Fri, Aug 8, 2008 at 3:30 PM, Yahia Tachwali [EMAIL PROTECTED] wrote: Also, on the procedure mentioned in the link, I am confused about the need to run: rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2 build-err.log | tee build-out.log This will do all the makes for you. That's what

[CentOS] Good reference for dkms?

2008-08-08 Thread MHR
I've just built the nvidia driver for my home machine for the third time and I'd like to put it into a dkms format, but I'm not entirely clear on what goes where to make this work. I googled for a good primer on dkms, but what I'm finding is essentially equivalent to the man page, which, like

Re: [CentOS] Good reference for dkms?

2008-08-08 Thread Ned Slider
MHR wrote: Or is there a really good primer on dkms that tells what to put where and how to create a proper dkms.conf file (and where)? Did you read the Wiki? http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0

Re: [CentOS] Good reference for dkms?

2008-08-08 Thread Ned Slider
Ned Slider wrote: MHR wrote: Or is there a really good primer on dkms that tells what to put where and how to create a proper dkms.conf file (and where)? Did you read the Wiki? http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0 And one

Re: [CentOS] Good reference for dkms?

2008-08-08 Thread MHR
On Fri, Aug 8, 2008 at 5:11 PM, Ned Slider [EMAIL PROTECTED] wrote: Did you read the Wiki? http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0 Funny, this didn't show up in Google, and I didn't think to look there (the second most obvious place -

Re: [CentOS] rebuilding the kernel.

2008-08-08 Thread Yahia Tachwali
Yahia Tachwali wrote: Thank you very much for the link.. I have built a new bootable kernel 2.6.9-67 on my machine. However I still have a problem :( During the installation at make menuconfig stage after make oldconfig I have added the generic HDLC package with synchronous PPP support and

Re: [CentOS] vncserver on IPv6

2008-08-08 Thread Rob Lockhart
In /etc/sysconfig/vncservers I have something like this: VNCSERVERS=1:myusername VNCSERVERARGS[1]=-geometry 1400x1050 -depth 16 -localhost (so I can only use localhost, which means I only allow connections over ssh or from the local machine). Yours might be something like this: