Cacti Monitoring Plugins on CentOS/RedHat 7 issues with memory graph.


There is issue with Cacti Template on CentOS/RedHat 7 systems.

Problem is “free” binary version.

Percona Cacti Template uses command “free -ob” to retrieve memory state and parse if.

/usr/bin/free binary comes from procps package and there is version difference between CentOS 6 and CentOS 7

CentOS 6 comes with version 3.2.x
CentOS 7 comes with procps-ng version 3.3.x

and CentOS 7 free does not accept -o flag.

So on this systems memory graph is always empty and all returned values from script is -1.

Infact i am also having issue using ss_get_mysql_stats.php it was working fine with mysql 5.5 and once we upgraded to mysql 5.6 we are having issue related to indoor related parameters and it shows -1 for those variables.

I tried implementing the different version 1.1.5 and 1.1.8 all of them have the same issue and all of them are working fine with mysql 5.5.
Do we have separate ss_get_mysql_stats.php for mysql 5.6?


Never mind i go the solution using