nierdz / OPcache-plugins-for-nagios-and-cacti

OPcache plugins for nagios and cacti
1 stars 2 forks source link

Fix percentage calculation. Add perfdata and OPcache version #1

Closed DeLoWaN closed 6 years ago

DeLoWaN commented 6 years ago

There was an error in percentage calculation. You divide used memory by free memory, which does not print the figure you want to get.

Additionally, I added performance data so that we can get graphs for the service.