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

**URL:** <https://forums.percona.com/t/cacti-monitoring-plugins-on-centos-redhat-7-issues-with-memory-graph/4517>\
**Category:** Percona Monitoring Plugins\
**Created:** [November 13, 2015, 6:52am UTC](https://forums.percona.com/t/cacti-monitoring-plugins-on-centos-redhat-7-issues-with-memory-graph/4517 "2015-11-13T06:52:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantine\_Karosani](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Konstantine\_Karosani](https://forums.percona.com/u/Konstantine_Karosani)\
**Post date:** [November 13, 2015, 6:52am UTC](https://forums.percona.com/t/cacti-monitoring-plugins-on-centos-redhat-7-issues-with-memory-graph/4517/1 "2015-11-13T06:52:57Z")

</div>

Hello,

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.

---

<div class="post-metadata">

**Author:** ![pintu\_ag23](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@pintu\_ag23](https://forums.percona.com/u/pintu_ag23)\
**Post date:** [November 13, 2015, 6:44pm UTC](https://forums.percona.com/t/cacti-monitoring-plugins-on-centos-redhat-7-issues-with-memory-graph/4517/2 "2015-11-13T18:44:26Z")

</div>

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?

Amit

---

<div class="post-metadata">

**Author:** ![pintu\_ag23](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@pintu\_ag23](https://forums.percona.com/u/pintu_ag23)\
**Post date:** [November 15, 2015, 5:49pm UTC](https://forums.percona.com/t/cacti-monitoring-plugins-on-centos-redhat-7-issues-with-memory-graph/4517/3 "2015-11-15T17:49:57Z")

</div>

Never mind i go the solution using
