Hi, I maintain several dom0 hosts, and I would like to monitor the following with Cacti: * the overall hypervisor CPU usage * available hypervisor memory (e.g. memory that can be allocated to new domUs) and maybe: * domU CPU usage But the latter is not as important to me right now. Anyone have any pointers on how I might do this? My knowledge of Cacti is very basic. Basically: has anyone written the needed code to do this already? William _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2008-03-19 at 21:47 -0500, William Pitcock wrote:> Hi, > > I maintain several dom0 hosts, and I would like to monitor the following > with Cacti:Just install the Net-SNMP agent on the hypervisor and monitor it like any other system. ~BAS> * the overall hypervisor CPU usage > * available hypervisor memory (e.g. memory that can be allocated to new > domUs) > > and maybe: > > * domU CPU usage > > But the latter is not as important to me right now. > > Anyone have any pointers on how I might do this? My knowledge of Cacti > is very basic. Basically: has anyone written the needed code to do this > already? > > William > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, 2008-03-19 at 22:58 -0400, Brian A. Seklecki wrote:> > Just install the Net-SNMP agent on the hypervisor and monitor it like > any other system. >Yes. I''ve done that, but I want to monitor things which Net-SNMP cannot monitor by default, like Xen-specific details such as the bare metal CPU usage, and bare metal RAM usage. I am already running Net-SNMP to monitor bandwidth usage. William _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 19 Mar 2008, William Pitcock wrote:> Hi, > > On Wed, 2008-03-19 at 22:58 -0400, Brian A. Seklecki wrote: >> >> Just install the Net-SNMP agent on the hypervisor and monitor it like >> any other system. >>Xen should have a MIB and AgentX/SMUX sub-agent for all of the Xen-specific stuff. I''d be very _very_ surprised if it didn''t -- after all, isn''t somone trying to charge money for it? :) Results 1 - 10 of about 26,900 for xen SNMP agentx. (0.36 seconds) Raw CPU is easy to capture on GNU/Linux. Target[kontor.cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public@10.10.11.2 + ssCpuRawSystem.0&ssCpuRawSystem.0:public@10.10.11.2 + ssCpuRawNice.0&ssCpuRawNice.0:public@10.10.11.2 ~BAS> > Yes. I''ve done that, but I want to monitor things which Net-SNMP cannot > monitor by default, like Xen-specific details such as the bare metal CPU > usage, and bare metal RAM usage. > > I am already running Net-SNMP to monitor bandwidth usage. > > William >l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you''re guilty. You just don''t know it. So who''s really in jail?" ~Maynard James Keenan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, 2008-03-19 at 23:26 -0400, Brian A. Seklecki wrote:> > On Wed, 19 Mar 2008, William Pitcock wrote: > > > Hi, > > > > On Wed, 2008-03-19 at 22:58 -0400, Brian A. Seklecki wrote: > >> > >> Just install the Net-SNMP agent on the hypervisor and monitor it like > >> any other system. > >> > > Xen should have a MIB and AgentX/SMUX sub-agent for all of the > Xen-specific stuff. I''d be very _very_ surprised if it didn''t -- after > all, isn''t somone trying to charge money for it? :) > > Results 1 - 10 of about 26,900 for xen SNMP agentx. (0.36 seconds)I do not see anything for an AgentX/SMUX sub-agent for Xen in 100 results of your query. This leads me to believe it does not exist.> > Raw CPU is easy to capture on GNU/Linux. > > Target[kontor.cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public@10.10.11.2 + > ssCpuRawSystem.0&ssCpuRawSystem.0:public@10.10.11.2 + > ssCpuRawNice.0&ssCpuRawNice.0:public@10.10.11.2 >I want to capture the combined CPU time of all domU''s. That query covers only the dom0. William _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I do not see anything for an AgentX/SMUX sub-agent for Xen in 100 > results of your query. This leads me to believe it does not exist. >Yep. I know. One will have to be written. The first of many difficult steps to ramping up to the enterprise. ~BAS _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wed, 2008-03-19 at 23:40 -0400, Brian A. Seklecki wrote:> Yep. I know. One will have to be written. The first of many > difficult > steps to ramping up to the enterprise.Well, that''s all great and good, but how do I monitor my systems in the meantime. I do not know enough about SNMP to write an AgentX sub-agent. It doesn''t even *need* to use SNMP. There''s plenty of other ways to get data into cacti. William _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi William, On Wed, Mar 19, 2008 at 10:43:38PM -0500, William Pitcock wrote:> On Wed, 2008-03-19 at 23:40 -0400, Brian A. Seklecki wrote: > > Yep. I know. One will have to be written. The first of many > > difficult > > steps to ramping up to the enterprise. > > Well, that''s all great and good, but how do I monitor my systems in the > meantime. I do not know enough about SNMP to write an AgentX sub-agent.Try: http://lists.xensource.com/archives/html/xen-users/2007-11/msg00572.html Cheers, Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users