pcp_collect uses a program called pmdumptext

This one seems to be missing in the pcp - sources (version 3.5.8)

You will find it in pcp-gui...


Bert



> -----Original Message-----
> From: Wiegers, Bert [mailto:bert.wieg...@t-systems-sfr.com]
> Sent: Tuesday, August 30, 2011 3:57 PM
> To: xCAT Users Mailing list
> Subject: Re: [xcat-user] Monitoring with pcp
> 
> It's working (had this issue before).
> 
> 
> 
> Bert
> 
> 
> 
> From: Ling Gao [mailto:ling...@us.ibm.com]
> Sent: Tuesday, August 30, 2011 3:53 PM
> To: xCAT Users Mailing list
> Cc: xCAT Users Mailing list
> Subject: Re: [xcat-user] Monitoring with pcp
> 
> 
> 
> Thanks for the details.
> 
> Do you have DNS setup on the mn for the nodes?
> 
> run host <nodename>
> 
> Does it give correct ip address?
> 
> Ling
> 
> Ling Gao
> Poughkeepsie Unix Development Lab
> IBM Systems and Technology Group
> Internal: T/L 293-5692
> External: ling...@us.ibm.com, 845-433-5692
> 
> "I never worry about the future. It comes soon enough." --- Albert Einstein
> 
> 
> 
> From:        "Wiegers, Bert" <bert.wieg...@t-systems-sfr.com>
> To:        xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Date:        08/30/2011 02:26 AM
> Subject:        Re: [xcat-user] Monitoring with pcp
> 
> ________________________________
> 
> 
> 
> 
> Hi ling,
> 
> 
> It is there and running.
> 
> Starting it manually gives:
> 
> # /opt/xcat/sbin/pcp_collect
> Use of uninitialized value $hostname in substitution (s///) at
> /opt/xcat/lib/perl/xCAT/NetworkUtils.pm line 154.
> Use of uninitialized value $hostname in substitution (s///) at
> /opt/xcat/lib/perl/xCAT/NetworkUtils.pm line 154.
> Use of uninitialized value $hostname in substitution (s///) at
> /opt/xcat/lib/perl/xCAT/NetworkUtils.pm line 154.
> Use of uninitialized value $hostname in substitution (s///) at
> /opt/xcat/lib/perl/xCAT/NetworkUtils.pm line 154.
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> config file is in /opt/xcat/lib/perl/xCAT_monitoring/pcp/pcpmon.config
> :
> :
> :
> 
> The first lines I do see frequently using xcat-commands.
> /opt/xcat/lib/perl/xCAT/NetworkUtils.pm
> 153:            my $hostname = gethostbyaddr(inet_aton($iporhost), AF_INET);
> 154:            $hostname =~ s/\..*//; #short hostname
> 
> Bert
> 
> From: Ling Gao [mailto:ling...@us.ibm.com <mailto:ling...@us.ibm.com> ]
> Sent: Monday, August 29, 2011 11:00 PM
> To: xCAT Users Mailing list
> Cc: xCAT Users Mailing list
> Subject: Re: [xcat-user] Monitoring with pcp
> 
> Hi Bert,
>     Does the cluster have service node involved?  After you run monstart, the 
> cronjob
> /opt/xcat/sbin/pcp_collect is supposed to be run on the mn and the sn.
> Please check if there are cron jobs running on the mn and the sn? If there is 
> no service node,
then just
> check on the mn.
> crontab -l
> What does it return?
> 
> You can also run /opt/xcat/sbin/pcp_collect manually, (you can uncomment some 
> of the print
> statement), to see what might be wrong.
> 
> Ling
> 
> Ling Gao
> Poughkeepsie Unix Development Lab
> IBM Systems and Technology Group
> Internal: T/L 293-5692
> External: ling...@us.ibm.com, 845-433-5692
> 
> "I never worry about the future. It comes soon enough." --- Albert Einstein
> 
> 
> 
> From:        "Wiegers, Bert" <bert.wieg...@t-systems-sfr.com>
> To:        xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Date:        08/29/2011 02:22 AM
> Subject:        Re: [xcat-user] Monitoring with pcp
> ________________________________________
> 
> 
> 
> Hello Ling,
> 
> It is the standard entry:
> 
> # cat pcpmon.config
> mem.physmem
> mem.util.free
> mem.util.swapFree
> filesys.used
> proc.memory.size
> disk.dev.total
> 
> We are running:
> # xdsh -V
> Version 2.5.1 (svn r8304, built Thu Dec  2 14:31:00 EST 2010)
> 
> I tried the rcm as well with the same effect.
> 
> Bert
> 
> 
> From: Ling Gao [mailto:ling...@us.ibm.com <mailto:ling...@us.ibm.com> ]
> Sent: Monday, August 29, 2011 2:16 AM
> To: xCAT Users Mailing list
> Cc: xcat-user@lists.sourceforge.net
> Subject: Re: [xcat-user] Monitoring with pcp
> 
> What is the file $::XCATROOT/lib/perl/xCAT_monitoring/pcp/pcpmon.config  
> looks like?
> 
> What version of xCAT are you using?  (xdsh -V)
> 
> Ling
> 
> Ling Gao
> Poughkeepsie Unix Development Lab
> IBM Systems and Technology Group
> Internal: T/L 293-5692
> External: ling...@us.ibm.com, 845-433-5692
> 
> "I never worry about the future. It comes soon enough." --- Albert Einstein
> 
> 
> 
> From:        "Wiegers, Bert" <bert.wieg...@t-systems-sfr.com>
> To:        "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net>
> Date:        08/26/2011 07:22 PM
> Subject:        [xcat-user] Monitoring with pcp
> ________________________________________
> 
> 
> 
> Hi,
> I am trying to set up a monitoring with xcat and pcp.
> 
> I got pcp-3.5.8-1 and installed it on the headnode and some computenodes.
> nodetype is osi.
> 
> monadd pcpmon
> monstart pcpmon -r
> ...
> 
> # monls pcpmon
> pcpmon          monitored       node-status-monitored
> 
> tabdump monsetting  is empty
> tabdump performance  is empty
> monshow pcpmon nodeXY is empty
> 
> 
> The daemons are running and I can query the remote machine with pminfo.
> What am I missing?
> 
> Best regards,
> Bert
> 
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev 
> <http://p.sf.net/sfu/emc-vnx-dev2dev>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
<https://lists.sourceforge.net/lists/listinfo/xcat-
> user>
> 
> 
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev 
> <http://p.sf.net/sfu/emc-vnx-dev2dev>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
<https://lists.sourceforge.net/lists/listinfo/xcat-
> user>
> 
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev <http://p.sf.net/sfu/arcsisghtdev2dev>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
<https://lists.sourceforge.net/lists/listinfo/xcat-
> user>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to