How to monitoring a system WPAR?
Hi,
I have installed the agent version 4.95-7 at globalwpar
root@globalwpar:/> rpm -qa | grep lpar2rrd
lpar2rrd-agent-4.95-7
and has set a cron job, for a lpar2rrd user,
(lpar2rrd@globalwpar) /home/lpar2rrd> crontab -l
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl nim-master > /var/tmp/lpar2rrd-agent.out 2>&1
and that works fine; but in a System WPAR
root@globalwpar:/> clogin systemwpar
root@systemwpar:/>
I has set a cron job for a root user,
#WPAR Monitoring
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl nim-master > /var/tmp/lpar2rrd-agent-systemwpar.out 2>&1
and doesnt work, I cant see the systemwpar below the globalwpar.
Does anyone know why this would fail?
Thanks
Pablo
Thanks
Pablo
Comments
-
Hi,
it does not appear immediatly on the lpar2rrd server in the GUI.
Try:
1. Ctrl-F5 in the GUI and check if it is there
2. cd /home/lpar2rrd/lpar2rrd; ./load.sh html
and again Ctrl-F5
When nothing then list this dir
cd /home/lpar2rrd/lpar2rrd
ls -l data/<server>/*/<lpar name / global wpar>/
You should see there a directory with WPAR name. Is tere any data
ls -l data/<server>/*/<lpar name / global wpar>/<wpar name>/
-
Hello Pavel,I solved the problem, applying your suggestion and changing (in lpar2rrd.cfg) the hostname of the HMC instead of the ip.Now, I can see the systemwpar under the globalwpar.Another question, about "Version 4.95-4 brings WPAR (CPU and memory) added graphics to the hosted LPAR data cards"What is the correct configuration?Thanks a lotPablo
-
http://www.lpar2rrd.com/wpar.htm?4.3.18
you should see on the LPAR level (global WPAR) WPAR CPU and MEM aggregated graphs per all wpars.
It works automatically.
-
Hi,
I can't see aggregated graphs per wparsMy LPAR2RRD version is 4.95-4 and the agent version is lpar2rrd-agent-4.95-7maybe I need to erase lpar2rrd/data/*/global/wpar and rebuild?
Thanks -
This ouptup:
date
cd /home/lpar2rrd/lpar2rrd
ls -lR data/<server>/*/<lpar name / global wpar>/
-
lpar2rrd@lpar2rrd:/> dateThu Jan 26 15:08:04 UYT 2017
ls -lR data/<server>/*/<lpar name / global wpar>/drwxr-xr-x 2 lpar2rrd lpar2rrd 256 Sep 27 10:13 .-rw-r--r-x 1 lpar2rrd lpar2rrd 7 Jan 26 12:00 agent.cfgdrwxr-xr-x 3 lpar2rrd lpar2rrd 4096 Jan 26 13:25 ..-rw-r--r-x 1 lpar2rrd lpar2rrd 3825736 Jan 26 15:04 pgs.mmm-rw-r--r-x 1 lpar2rrd lpar2rrd 5738264 Jan 26 15:04 mem.mmm-rw-r--r-x 1 lpar2rrd lpar2rrd 3825736 Jan 26 15:04 cpu.mmm -
This look like director of a WPAR.
I would need to list directory of global wpar == LPAR. (ls -lR)
Whole path pls (anonymize serial/hmc if necessary)
Howdy, Stranger!
Categories
- 1.6K All Categories
- 42 XORMON NG
- 25 XORMON
- 150 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle