AIX/VIO - agent data non available
Comments
-
send us this via support@xorux.com from the agent side:
su - lpar2rrd # or xormon user, depends what user it is running, might be even root(not recommended) crontab -l cd /var/tmp date ps -ef| grep lpar2rrd ls -ltr lpar2rrd* tail lpar2rrd*err tail -1 lpar2rrd*txt # 3 files will be there, use the one without "ps" and "fs" in its name
-
I've found this message in the "mail" of xormon user
The file access permissions do not allow the specified action.
sh: /var/tmp/lpar2rrd-agent.out: 0403-005 Cannot create the specified file.
In this moment
drwxrwxrwt 4 bin bin 4096 Mar 23 10:18 tmp
root@T_AIXBT21/var/tmp # ls -l
total 928
drwxrwxrwt 2 root oinstall 256 Jan 30 2013 .oracle
-rw-r--r-- 1 root system 4786 Aug 20 2025 aixmibd.log
-rw-r--r-- 1 root system 151 May 23 2019 b315506714101604.log
-rw-r--r-- 1 root system 6432 Aug 20 2025 hostmibd.log
-rw-r--r-- 1 lpar2rrd staff 614 Mar 22 16:11 lpar2rrd-agent-172.17.180.246-lpar2rrd-fs.txt
-rw-r--r-- 1 lpar2rrd staff 17907 Mar 22 16:30 lpar2rrd-agent-172.17.180.246-lpar2rrd-ps_job.txt
-rw-r--r-- 1 lpar2rrd staff 19691 Jan 12 17:00 lpar2rrd-agent-172.17.180.246-lpar2rrd.err
-rw-r--r-- 1 lpar2rrd staff 0 Mar 22 16:21 lpar2rrd-agent-172.17.180.246-lpar2rrd.stamp
-rw-r--r-- 1 lpar2rrd staff 10 Mar 22 16:21 lpar2rrd-agent-172.17.180.246-lpar2rrd.stamp-send
-rw-r--r-- 1 lpar2rrd staff 0 Mar 21 20:20 lpar2rrd-agent-172.17.180.246-lpar2rrd.stamp-trimlogs
-rw-r--r-- 1 lpar2rrd staff 3189 Mar 22 16:41 lpar2rrd-agent-172.17.180.246-lpar2rrd.txt
-rw-r--r-- 1 lpar2rrd staff 0 Mar 22 16:21 lpar2rrd-agent-172.17.180.246-lpar2rrd.txt-tmp
-rw-r--r-- 1 lpar2rrd staff 4894 Mar 22 16:21 lpar2rrd-agent-172.17.180.246-lpar2rrd.txtorig
-rw-r--r-- 1 lpar2rrd staff 0 Aug 06 2025 lpar2rrd-agent-iostat-1754476800-8388690.txt
-rw-r--r-- 1 lpar2rrd staff 0 Apr 17 2019 lpar2rrd-agent-pgs.cfg
-rw-r--r-- 1 lpar2rrd staff 4602 Mar 22 16:41 lpar2rrd-agent.out
-rw-r--r-- 1 root system 6860 Aug 20 2025 muxatmd.log
drwxrwxr-x 3 oracle oinstall 256 Apr 11 2020 oradiag_oracle
-rw------- 1 root system 0 May 23 2019 slp_srvreg.lock
-rw-r----- 1 root system 44221 Oct 20 09:39 snmpdv3.log
-rw-r----- 1 root system 100050 Mar 26 2025 snmpdv3.log.1
-rw-r----- 1 root system 100013 Mar 16 2025 snmpdv3.log.2
-rw-r----- 1 root system 100023 Mar 05 2025 snmpdv3.log.3
-rw-r--r-- 1 root system 11220 Aug 20 2025 snmpmibd.log
There was an old version of the agent under lpar2rrd user (now xormon user is used)
xormon@T_AIXBT21/home/xormon # crontab -l
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl 172.17.180.247 > /var/tmp/lpar2rrd-agent.out 2>&1
xormon@T_AIXBT21/home/xormon # cd /var/tmp
xormon@T_AIXBT21/var/tmp # date
Mon Mar 23 11:58:39 CET 2026
xormon@T_AIXBT21/var/tmp # ps -ef| grep lpar2rrd
xormon 21627112 30343356 0 11:58:41 pts/0 0:00 grep lpar2rrd
xormon@T_AIXBT21/var/tmp # tail -1 lpar2rrd-agent-172.17.180.246-lpar2rrd.txt
9009-42A*78300B0:T_AIXBT21:7:1774194000:Sun Mar 22 16:40:00 2026 version 6.01-0:2900000000|8:T_AIXBT21:0::mem:::67108864:58892096:8216768:11707504:0:12587624:pgs:::10000:12912:4608:3:::lan:en6:172.17.14.61:28095399769220:3252779204161:41984861476:30163084194:::lan:en13:1.1.1.61:1018087:38230301:5516:282512:::lan:en14:1.1.2.61:1019158:138799333:5516:929194:::lan:en11:192.168.0.61:11418618202183:12554696733171:22105741235:22958770587:::cpu:::0:16:34:1:::san:fcs4:0xC050760AD3630018:484847186016998:5815677855052:2290765229:108675723:::san:fcs5:0xC050760AD363001A:484937513242753:5816170397324:2245125397:108611436:::san:fcs6:0xC050760AD363001C:484896982913932:5822869916900:2244502418:109637126:::san:fcs7:0xC050760AD363001E:484816254835795:5819125278892:2244506385:109644775:::san_resp:fcs4::3.4:1.1:::::san_resp:fcs5::3.4:1.1:::::san_resp:fcs6::3.4:1.1:::::san_resp:fcs7::3.4:1.1:::::wlm:Unclassified:0.00:15:0.00:sup::::wlm:Unmanaged:0.03:0:0.00:sup::::wlm:Default:44.37:29735:0.87:sup::::wlm:Shared:0.00:631:0.00:sup::::wlm:System:6.08:9621:0.00:sup::::wlm:TOTAL:50.45:40002:0.87:sup:::
best regards
-
there is still running the agent under lpar2rrd user, keep it running just once, you can add more targets if you want (lpar2rrd server and xormon server if you want)
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <lpar2rrd server> <xormon server>
If you want to consolidate under xormon, then this will release it
rm /var/tmp/lpar2rrd-agent.out
Problem is that this file is owned by lpar2rrd, and xormon cannot write to it.
-
I'm removing the "lpar2rrd" owned file :-)
Now is working
thanks so much
Howdy, Stranger!
Categories
- 1.7K All Categories
- 121 XorMon
- 26 XorMon Original
- 175 LPAR2RRD
- 14 VMware
- 20 IBM i
- 2 oVirt / RHV
- 5 MS Windows and Hyper-V
- Solaris / OracleVM
- 1 XenServer / Citrix
- Nutanix
- 8 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 140 STOR2RRD
- 20 SAN
- 7 LAN
- 19 IBM
- 7 EMC
- 12 Hitachi
- 5 NetApp
- 17 HPE
- 1 Lenovo
- 1 Huawei
- 3 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 4 Pure Storage
- Oracle