Yeah, pretty close to the same file. I'll post update both the collector and php file later on.
On Tue, Apr 19, 2011 at 13:10, Bernard Li <bern...@vanhpc.org> wrote: > Hi Jesse: > > Is the script you have included the same as the one found here? > > https://github.com/ganglia/gmetric/tree/master/hpc/sge_jobs > > I didn't see the PHP file in the repo though. > > Perhaps you can update what's available in the repo and point users > there in the future. > > Thanks! > > Bernard > > On Tue, Apr 19, 2011 at 7:00 AM, Jesse Becker <haw...@gmail.com> wrote: >> The sge.sh is something that you should have already that sets the >> various ENV variables needed to run SGE programs. Specifically, it >> must set at least SGE_ROOT, SGE_CELL and SGE_ARCH, and probably >> update your PATH correctly as well (so the script can find the 'qstat' >> binary). >> >> The PHP script goes in <wwwroot>/ganglia/graphs.d/, and you will need >> to edit the conf.php file to include "jobqueue" in the >> $optional_graphs list. >> >> On Tue, Apr 19, 2011 at 09:56, Mostafa Ismail <mostafa.ism...@itworx.com> >> wrote: >>> Hello Jesse, >>> >>> Thanks for fast reply. I have some questions here: >>> >>> - I can found the "/etc/profile.d/sge.sh" script the you're sourcing at the >>> "ganglia_sge". >>> - Also where can I add the php script. >>> >>> Thanks, >>> Mostafa ismail >>> >>> -----Original Message----- >>> From: Jesse Becker [mailto:haw...@gmail.com] >>> Sent: Tuesday, April 19, 2011 3:39 PM >>> To: Mostafa Ismail >>> Cc: ganglia-general@lists.sourceforge.net >>> Subject: Re: [Ganglia-general] Monitoring SGE queues using Ganglia >>> >>> On Tue, Apr 19, 2011 at 09:25, Mostafa Ismail <mostafa.ism...@itworx.com> >>> wrote: >>>> Hello, >>>> >>>> >>>> >>>> Is it possible to monitor the SGE queues (such as all.q) using >>>> ganglia? I did search at "Ganglia-general" forum and I found no match. >>> >>> Yes, it is possible. You need to do two things: >>> >>> 1) collect the metrics from SGE. >>> 2) graph the metrics. >>> >>> Attached is a script ("ganglia_sge") that I run from cron every few minutes >>> to collect metrics, and a custom report that can display them. >>> >>> >>> >>> -- >>> Jesse Becker >>> >> >> >> >> -- >> Jesse Becker >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and improve >> application availability and disaster protection. Learn more about boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> Ganglia-general mailing list >> Ganglia-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> > -- Jesse Becker ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general