I just realized what is going on. I am forcing the monitor agent to restart with the Apache logs get rotated every night using this command:
/etc/init.d/site24x7monagent restart > /dev/null 2>/dev/null || true
Maybe this is unnecessary, but I am doing it because we have a resource check that looks at the error_log file and I thought it might be necessary to restart when the log file get changed.
Is this unnecessary? Is there a better way to get the agent to pick up the new log file? Suggestions?