If you have updated the script and additional datasources have been added after the initial creation of the RRD, this is the cause of the error.
When RRD files are first created, they are created with X amount of datasources (whatever data is being pushed in the first time).
If more datasources are added later, they are ignored as the RRD is not created to accommodate them.
You have two solutions:
1) Delete the RRD file and let it be created automatically again. You will lose all historic data.
2) This script for Nagios XI can update the RRD file with the correct amount of datasources.
ICMP and Ping Checks Stopped
graphing After XI 2014 Upgrade
http://support.nagios.com/wiki/index.ph ... 14_Upgrade
It is a basic perl script so it should work, but because you're not using XI I cannot guarantee it will.