LPAR2RRD supports a wide range of systems, including IBM Power Systems, VMware, Nutanix, Oracle VM, Linux, and cloud platforms such as Amazon Web Services, Microsoft Azure, and Google Cloud. It can monitor virtualization platforms (like Hyper-V, XenServer), container platforms (like Docker, OpenShift), and database engines (Oracle, PostgreSQL, SQL Server). The tool features an intuitive graphical user interface for visualizing complex performance metrics, helping IT administrators identify and troubleshoot performance issues efficiently. There is also an enterprise edition with additional functionalities and professional support offered by XoruX.
The software collects and sends data regularly using agents, providing proactive monitoring with alerting and reporting capabilities. Its integration with storage and network devices extends its applicability to comprehensive IT infrastructure monitoring.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LPAR2RRD Server Installation and Configuration on RHEL Linux Server:
1. Create LPAR2RRD User
# useradd -c "LPAR2RRD user" -m lpar2rrd
# chmod 755 /home/lpar2rrd
2. Increase User Limits
Edit /etc/security/limits.conf and add:
# vi /etc/security/limits.conf
lpar2rrd hard stack -1
lpar2rrd soft stack -1
lpar2rrd hard data -1
lpar2rrd soft data -1
lpar2rrd hard nofile 32768
lpar2rrd soft nofile 32768
lpar2rrd hard nproc 5000
lpar2rrd soft nproc 5000
apache hard stack -1
apache soft stack -1
apache hard data -1
apache soft data -1
3. Install Required Packages
# yum install -y perl rrdtool rrdtool-perl httpd mod_ssl epel-release
# yum install -y perl-TimeDate perl-HTTP-Date perl-Env perl-CGI perl-Data-Dumper perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty perl-JSON-XS perl-XML-Simple perl-XML-NamespaceSupport perl-URI perl-XML-SAX-Base perl-XML-SAX perl-XML-LibXML perl-Net-INET6Glue ed bc libxml2 sharutils
4. Apache Configuration
Edit /etc/httpd/conf/httpd.conf and append:
# vi /etc/httpd/conf/httpd.conf
Alias /lpar2rrd "/home/lpar2rrd/lpar2rrd/www"
<Directory "/home/lpar2rrd/lpar2rrd/www/">
AllowOverride AuthConfig FileInfo
Options -Indexes
Options FollowSymLinks
AuthType basic
AuthName "LPAR2RRD authorization"
Require valid-user
</Directory>
ScriptAlias /lpar2rrd-cgi/ "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi/"
<Directory "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi">
AllowOverride AuthConfig FileInfo
SetHandler cgi-script
Options ExecCGI FollowSymLinks
AuthType basic
AuthName "LPAR2RRD authorization"
Require valid-user
</Directory>
KeepAlive On
KeepAliveTimeout 5
TimeOut 1200
Ensure the following line exists (not commented out):
Include conf.modules.d/*.conf
Edit /etc/httpd/conf.modules.d/00-mpm.conf:
# vi /etc/httpd/conf.modules.d/00-mpm.conf
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
#LoadModule mpm_event_module modules/mod_mpm_event.so
Restart and enable Apache:
# apachectl restart
# systemctl enable httpd.service
5. Install LPAR2RRD
Download LPAR2RRD : https://lpar2rrd.com/download.php
# su - lpar2rrd
# tar xvf lpar2rrd-7.XX.tar
# cd lpar2rrd-7.XX
# ./install.sh
# cd /home/lpar2rrd/lpar2rrd
# . etc/lpar2rrd.cfg
# $PERL bin/perl_modules_check.pl
If LWP::Protocol::https is missing, install it manually:
# yum install perl-LWP-Protocol-https
6. Enable Apache Authorization
# su - lpar2rrd
# umask 022
# cd /home/lpar2rrd/lpar2rrd
# cp html/.htaccess www
# cp html/.htaccess lpar2rrd-cgi
7. Setup Crontab for Automation
Check existing crontab:
# crontab -l | grep load.sh
If missing, add:
crontab -e
Add line:
0,30 * * * * /home/lpar2rrd/lpar2rrd/load.sh > /home/lpar2rrd/lpar2rrd/load.out 2>&1
If crontab fails, allow user:
# echo "lpar2rrd" >> /etc/cron.allow
8. Initial Load
# cd /home/lpar2rrd/lpar2rrd
# ./load.sh
Access web UI:
http://<your-web-server>/lpar2rrd/
Use Ctrl + F5 to refresh browser cache.
# umask 022
# cd /home/lpar2rrd/lpar2rrd/
# cp bin/test-healthcheck-cgi.sh lpar2rrd-cgi/
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LPAR2RRD Client Installation on RHEL Client Server:
1. Create User and Install Agent
Download LPAR2RRD OS Agent : https://lpar2rrd.com/agent/
# useradd -c "LPAR2RRD agent user" -m lpar2rrd
# rpm -Uvh lpar2rrd-agent-6.00-0.noarch.rpm
2. Setup Crontab
# su - lpar2rrd
# crontab -e
Add:
* * * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <LPAR2RRD-SERVER> > /var/tmp/lpar2rrd-agent.out 2>&1
3. Server-side Verification
# ps -ef | grep lpar2rrd-daemon
# cd /home/lpar2rrd/lpar2rrd
# tail logs/error.log-daemon
# tail logs/daemon.out
# ls -l data/<server_name>/*/<linux_name>/*mmm
# telnet <LPAR2RRD-SERVER> 8162
# /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d <LPAR2RRD-SERVER>
Troubleshooting:
# /var/log/httpd/error_log # Apache errors
# /var/log/httpd/access_log # Apache access logs
# /var/tmp/lpar2rrd-realt-error.log # CGI errors
# /var/tmp/systemd-private*/tmp/lpar2rrd-realt-error.log # CGI errors (private temp)
No comments:
Post a Comment