Feeding NMON files from several LPARs, which has NO network connection to LPAR2RRD server

I have a running LPAR2RRD server, which gets all the nice stuff from the HMCs. So far so good!
On many LPARs I collect NMON files via a standard nmon-command in crontab.
But most of these LPARs will never get network connection to the LPAR2RRD server (because they are on separate, "closed" networks).
I do however have a way of transferring (file copy) these NMON files to the LPAR2RRD server.
Is there a way to feed those files into LPAR2RRD (and I'm not talking about "NMON file grapher") ?

Regards, Carsten

Comments

  • sure, it is posible.
    copy all nmon files you have into some directory (from all servers), install OS agent on that server, start daemon on lpar2rrd server side and run:
    /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -n /var/nmon __LPAR2RRD-SERVER__

    http://www.lpar2rrd.com/nmon.htm?4.3.4
    http://www.lpar2rrd.com/agent.htm?4.3.5

    You can see that feature on our demo: http://demo.lpar2rrd.com/?menu=e45f775&tab=9
    There is data from direct OS agent and also from NMON file, in this case there is a switch on the top right corner.





  • Hi Pavel
    Thank you for your quick reply.
    Can this be done on the LPAR2RRD server itself? ... specifying "localhost" as reciever?
    /Carsten

  • yes, it is also posible, use the same way through the OS agent
  • Thank you - I have now tested, and it was a almost a success.
    Some files were loaded and some not.
    In order to try starting the NMON load over again for one of the LPARs, I removed the folder:
    /home/lpar2rrd/lpar2rrd/data/servername/hmcname/lparname--NMON--
    But now no NMON data are shown for this LPAR and I cannot load data for this LPAR.
    So 2 questions:
    1. How do I fix the situation described above?
    2. For my other LPARS - how do I get the missing files loaded?

    Regards, Carsten

  • I have worked a bit more on this, and it seems that the problems is the order in which I have tried to load the files. To me it looks like LPAR2RRD remember the timestamp of the newest entry loaded from NMON files, and denies to load older entries.
    Is this correct?
    Is there a way to wipe NMON data in LPAR2RRD, reset the timestamp and start over again (in the right order :) )?

    /Carsten

  • exactly, this is saved on the source server where OS agent processing files in /var/tmp/*nmon* files.
    Remove all of them.

    There might be one more consequence on the server side if you have more HMCs, you have to delete all nmon files like this (note the star instead of HMC)
    rm -r data/<server>/*/*--NMON--


  • Thanks a lot!
    I did as described and started load of the NMON files again - now everything looks perfect :)
    /Carsten
  • I do something similar but have the problem that the nmon data is only shown since the last LPM operation. Is this timestamp stored somewhere and is there a reason why nmon data from before the last LPM is not shown for the current LPAR ?
  • Hi,

    yes, free version does not support (follow) LPM moves.
    That is a feature of enterprise edition only.
    http://www.lpar2rrd.com/support.htm?3.0


Sign In or Register to comment.