I am looking for an epagent to install in RHEL 6.6. I have two versions of vmstat from Community downloads - One is rhelVmstat.pl which gives detailed statistics. Another is vmstat.pl which gives overall statistics.
The output I need is the one given by vmstat.pl but when I execute the script in the command line 'perl vmstat.pl' , it is not exiting unless I terminate it. It keeps printing the output after regular intervals. Is that the expected nature?
Once I installed this plugin in a customer environment - vmstat.pl as a stateless plugin. That time , an issue happened where after a couple of weeks , there were multiple perl processes that got generated and eventually let to OOM.
Is there any newer version of vmstat.pl which gives overall statistcics ?