Fast Poller Issues

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cwalton
Posts: 15
Joined: Wed May 10, 2006 7:53 am

Fast Poller Issues

Post by cwalton »

Perhaps I'm just being dumb, but I believe that I've executed the instructions correctly and am still unable to get this working. I am going to try to give a lot of detail in this post, so it may run long. Additionally, I was working on this all day yesterday (:cry:) and looked for any possible information before posting.

Operating System: Windows Server 2003 Enterprise
Specs: Dual P3 Xeon 1.3GHz, 4GB RAM
Webserver: IIS6
Cacti: 8.6i
Cactid: 8.6i
MySQL: Ver 14.12 Dist 5.0.27
PHP: 5.1.4 (cli) (built: May 4 2006)
RRDTool (CYGWIN version): 1.2.15
Net-SNMP: 5.3.1
Cygwin (cygwin1.dll version): 1005.23.0.0

I used BSOD's instruction set when doing the installation, the same instructions that assisted with my current functional installation (thanks!). I applied the fast polling patch, then pointed my browser to the site and performed the initial config (paths, etc).

Before performing the changes listed in the fast-poller readme, I added a couple simple devices (localhost, 72-port switch, 24-port switch; using only CPU and Interface queries) and tested it. Worked like a charm.

I performed the updates listed in the fast-poller readme. Before adding a test device, I performed another manual poll with the existing devices. This poll worked fine.

I added another simple device (48-port switch) and created graphs using the 1-minute template. The graphs were created as normal.

I then perfomed a manual poll and the results made me sad. The poller ran without errors, listing everything as normal except for: DataSources:0 RRDsProcessed:0.

I ran the poller again, thinking it may have been a fluke. This time everything was normal except for: DataSources:40 RRDsProcessed:20.

The next run yielded DataSources:41 RRDsProcessed:21.

I turned on super-cool debug logging (the log is attached). Upon not seeing any errors, I checked the RRA directory. All the RRAs for my original devices are there. However, there are no RRAs for the 48-port switch. Here is a snapshot of 2 data source debugs:

RRA Exists:

Code: Select all

e:/monitoring/site-1/rrdtool/rrdtool.exe create \
E:/MONITORING/Site-1/web/rra/cisco_2924_switch_traffic_in_13.rrd \
--step 300  \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA Does Not Exist:

Code: Select all

e:/monitoring/site-1/rrdtool/rrdtool.exe create \
E:/MONITORING/Site-1/web/rra/nortel_switch_60_hudson_traffic_in_157.rrd \
--step 60  \
DS:traffic_out:COUNTER:120:0:100000000 \
DS:traffic_in:COUNTER:120:0:100000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
I also found that doing the following "fixes" the graphing of the existing devices:
1) Delete the device(s) using fast-polling
2) Set the poller back to 5-minute intervals
3) Poll once, you still get wacky results (fewer DataSources/RRDs than there should be)
4) Poll twice, everything is back to normal



Any assistance will be greatly appreciated.
Attachments
cacti.zip
Log File
(5.97 KiB) Downloaded 203 times
Last edited by cwalton on Tue Jan 23, 2007 10:38 am, edited 1 time in total.
cwalton
Posts: 15
Joined: Wed May 10, 2006 7:53 am

Post by cwalton »

Update:

The wacky manual poll behavior (DS:0 RRD:0) occurs if the poller is set to 1 minute, regardless of whether or not there are any devices utilizing the 1 minute templates.

The first poll after it is set to 1 minute yields normal results, the second poll yields 0/0.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

This is why one should always set up plain old vanalli cacti BEFORE playing with any sort of add-on, etc. to make sure everything works.

If you go back to plain cacti, does polling stuff work fine? If so, then its something broken about the 1 min polling patch and you should post in http://forums.cacti.net/viewtopic.php?t=16482.
cwalton
Posts: 15
Joined: Wed May 10, 2006 7:53 am

Post by cwalton »

Indeed the plain vanilla install works fine. I have a regular test install and a modded production install running already.

I neglected to mention in my OP that yesterday I tried the plane-jane deal and it was smooth.
cwalton
Posts: 15
Joined: Wed May 10, 2006 7:53 am

Post by cwalton »

Fixed it! Yay! It wasn't elegant, but I simply erased the installation and started from scratch with a new DB. It works now :)

Thanks for the quick reply, BSOD.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest