Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Sorry it took so long for me to get around to doing this...
I downloaded the source from svn today & compiled. Now when I run cactid, I get not only thousands of the Duplicate entry error, but also an error stating:
CACTID: Host[26] DS[729] WARNING: Result from SCRIPT not valid. Partial Result: .09
The truth is, this is a valid result from the script--the script that it is complaining about often returns values < 1. This is also something that cmd.php doesn't complain about.
Any help would be hugely appreciated. I've got a lot of data sources now... (1107--many of them scripts) and cmd.php is simply taking too long to collect the data.
Please post the error messages that you received to this post. Then, please open a bug report relative to the calculation error with the .09 value. The link is http://bugs.cacti.net.
Thanks,
TheWitness
True understanding begins only when we realize how little we truly understand...
The duplicate entry messages are normal when converting to Cactid on the first poll. It will only take place for the first poll after you goto Cactid. Then subsequent polls will be fine.
With regard to the validation error, I will have to dig into the code and find out what I screwed up and when.
Like I said, expect a patch this weekend.
TheWitness
True understanding begins only when we realize how little we truly understand...
I allowed Cactid to poll for nearly a half-hour, but I still received the duplicate entry messages after each polling cycle. I'm also seeing a new error that I never saw with the previous version of Cactid before:
CACTID: Poller[0] ERROR: Problem with MySQL: 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1'
Please let me know if you'd like to see some debug log.
I did not see the mysql error. That was corrected in the patched version. You have an error in one of your templates, but I still want to get to the bottom of these error messages. I have been ignoring them for some time since they usually just go away. Read my PM back to you.
TheWitness
True understanding begins only when we realize how little we truly understand...
I've captured a DEBUG log if you'd like to look through it. As for my flawed Data Query (#20), I'm looking in to that now. I suspect that it has something to do with the fact that I'm trying to use the Verify All Fields Re-Index Method... there are also messages in the log after each Cactid run that say Recache Event Detected for Host. I am guessing that this is because Verify All Fields results in a Recache Event on each polling cycle. Is this correct?
Yes, adjusting the logging would be stellar. I don't mind seeing recache events for the other two Re-index Methods, but I really don't care to log them when they're going to happen at each polling cycle.
Why is it that cmd.php doesn't log the recache events after each poll?
Also, perhaps I wasn't completely clear in my previous post: I'm still seeing the Duplicate Entry messages--those were what I referred to on my first line. Even the most recent build of Cactid didn't resolve that issue.
I've taken a few more log snapshots running Cactid. I'm still seeing the thousands of lines of Duplicate Entry errors, but only with Cactid. I'm posting a couple of regular log files with this post, and I've PM'd a DEBUG log to TheWitness.
I'm guessing this is still a problem then? I tried to upgrade again tonight to g, but got all the polling errors. I was using a version I downloaded in Feb, so I guess theres a newer SVN version available ? Which should I use ?