/usr/lib/cgi-bin/nagios3/rrd2-system.cgi is in nagiosgrapher 1.7.1-4.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/cgi-bin/nagios3/../nagiosgrapher/rrd2-system.cgi
/usr/lib/cgi-bin/nagios3/../nagiosgrapher/rrd2-system.cgi