Port Conflict
cd /home/lpar2rrd/lpar2rd vi etc/lpar2rrd.cfg LPAR2RRD_AGENT_DAEMON=1 --> LPAR2RRD_AGENT_DAEMON=0 ./load.sh daemon_stopMake sure port is free, nothing should be listed by this cmd
netstat -an | grep 8162| grep -i listen
key: PORT value: 7162Start OS agent service:UI ➡ settings ➡ Application ➡ Services ➡ OS agent ➡ ON
su - lpar2rrd crontab -e * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <XorMon-NG-host> > /var/tmp/lpar2rrd-agent.out 2>&1 --> * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <XorMon-NG-host>:7162 > /var/tmp/lpar2rrd-agent.out 2>&1You can even direct OS agent to more servers (LPAR2RRD and XorMon NG, just add new host into the crontab)
su - lpar2rrd crontab -e * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-host> <XorMon-NG-host>:7162 > /var/tmp/lpar2rrd-agent.out 2>&1
cd /home/lpar2rrd/lpar2rd vi etc/lpar2rrd.cfg LPAR2RRD_AGENT_DAEMON_PORT=8162 --> LPAR2RRD_AGENT_DAEMON_PORT=7162 ./load.sh daemon_stop ./load.sh daemon_startYou should see new port in listening state now
netstat -an | grep 7162| grep -i listen tcp 0 0 0.0.0.0:7162 0.0.0.0:* LISTEN
su - lpar2rrd crontab -e * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-host> > /var/tmp/lpar2rrd-agent.out 2>&1 --> * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-host>:7162 > /var/tmp/lpar2rrd-agent.out 2>&1You can even direct OS agent to more servers (LPAR2RRD and XorMon NG, just add new host into the crontab)
su - lpar2rrd crontab -e * * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <XorMon-NG-host> <LPAR2RRD-host>:7162 > /var/tmp/lpar2rrd-agent.out 2>&1