Greetings from Australia team!
I'm an IBMi support engineer, however, self-taught Linux "newb". Please bear with me. :-)
I have a CentOS7 Linux server and two test AS/400 LPARs communicating on the same subnet:
[lpar2rrd@sdclpar2rrd LPAR2RRD]$ netstat -a| grep 8162
tcp 0 0 0.0.0.0:8162 0.0.0.0:* LISTEN
tcp 0 1 sdclpar2rrd.sdc.su:8162 pwr50mgt.sdc.sund:19636 LAST_ACK
tcp 0 0 sdclpar2rrd.sdc.su:8162 pwr01mgt.sdc.sund:44003 CLOSE_WAIT
------------------------------------------------------------------------------------------------
Crontab job running hourly:
# LPar2rrd ui
0 * * * * rm -rfv /home/lpar2rrd/LPAR2RRD/data/* && cp -r /LPAR2RRD/data/* /home/lpar2rrd/LPAR2RRD/data
2 * * * * /home/lpar2rrd/lpar2rrd/load.sh > /home/lpar2rrd/LPAR2RRD/load.out 2>&1
------------------------------------------------------------------------------------------------
OS/400 Agent Sender jobs running without problem in both LPARs:
IF: C_SNDSTS - protocol 5.4 UTF8 conv
IF: C_SNDSTS - connection Established()
------------------------------------------------------------------------------------------------
Telnet jobs tested, but appeared hung - but this could be just the port being blocked for Telnet only traffic:
TELNET RMTSYS('192.168.129.60') PORT(8162) INZWAIT(15) RMTUSER(TESTSTRING)
Connecting to remote host 192.168.129.60 using port 8162.
TELNET session ended. Connection closed.
Cause . . . . . : The session ended because either you quit TELNET, or the
remote TELNET server closed the connection in an orderly manner.
Recovery . . . : Start TELNET again.
------------------------------------------------------------------------------------------------
PROBLEM: I see the 'Table IBM i' Data check show up the LPARs successfully. Machine type, serial number, name,
version 1.1.7, Agents running. All looking good. However - the main Dashboard is empty and does not refresh.
I have not configured any HMCs yet, as I thought they are not mandatory. Should the two HMCs be configured in
order for Dashboard to work?
Thanks and regards,
Greg
Brisbane Australia
Comments
cd /home/lpar2rrd/lpar2rrd # or where is your LPAR2RRD working dir
tar cvhf logs.tar logs tmp/*txt tmp/*json
gzip -9 logs.tar
Send us logs.tar.gz via https://upload.lpar2rrd.com
As for:
0 * * * * rm -rfv /home/lpar2rrd/LPAR2RRD/data/* && cp -r /LPAR2RRD/data/* /home/lpar2rrd/LPAR2RRD/data
Yes, a little strange. I think when I moved my LPAR2RRD directory the 'symbolic' links were lost. The copy function ensures the correct '/data' directory is from the IBMi connections.
regards,
Greg