If you have IBM Power hardware, then you probably already know that nobody knows your LPAR resources better than LPAR2RRD or XorMon.
If you use any of the nagios-based monitoring products or Nagios Core, NagiosXI, then if you want to monitor your LPAR resources, you might encounter two situations:
- – If you use lpar2rrd, then you already have the lpar2rrd agent installed and gathering performance info from your LPARs. If you do have the agent, and you also want to monitor your servers using nagios, you might also install the NRPE agent or query remotely the LPARs via SSH or SNMP. In this case, then you are querying your boxes for performance data twice, therefore wasting resources, and getting two metrics instead of one.
- – If you are not using lpar2rrd and using only nagios resources, then you are not getting all the right metrics about your LPAR resources, or worst: perhaps you are getting inaccurate data.
And what’s the best possible scenario? –Monitoring Integration.
lpar2rrd does an excellent job at monitoring LPARs, so why not let it do it’s best, and integrate lpar2rrd alarms into our nagios? -In this case, lpar2rrd will monitor all the Power-based servers, and report alarms that we have defined into the appliance.
Then, by installing a nagios plugin in the lpar2rrd appliance itself, it will monitor and report alerts to nagios, so no need for a nagios plugin in each of our LPARs: better management, and no extra resource consumption in our LPARs (other than lpar2rrd’s agent, of course) .
This way, individual controls (service checks in nagios), can still be created for a specific server, or we can create controls for resource pools. This is important because, for licensing reasons we might have created a CPU resource pool, and we would like to know when those resources are getting a hit, well all this can be reported in real-time.
All this controls get actually executed in the lpar2rrd machine, and reported to nagios.
Integrating lpar2rrd with nagiosxi, can be achieved by using the plugin provided by lpar2rrd, or you can use the plugin developed by Aitor Ródenas and Myself, and being published in Nagios Exchange (check_lpar2rrd.ksh last version is v2.03).
More info to follow shortly: I will write about the installation and setup in further articles.