I'm using nagios for monitoring and nagiosgraph for charting. I would like to issue an alert based on history (for example if the measurement value changed since last reading).
I've read that it is not wise to store historical information in a plugin, probably because of the possible scheduling issues. So what is the best way to implement such measurements?