Poller Cache Log Empty

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

Moderators: Developers, Moderators

Post Reply
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Poller Cache Log Empty

Post by dontpntpool »

I am not getting any graphs and the poller cache log is always empty.

I can run "php poller.php" and it does run correctly I believe ...it spawns some cmd prompts and dumps out quite a bit of info with the last line being:

06/26/2006 12:52:06 PM - SYSTEM STATS: Time:13.6379 Method:cactid Processes:10 Threads:10 Hosts:9 HostsPerProcess:1 DataSources:0 RRDsProcessed:0

I can PING and run SNMP tp query the devices I have setup. But only 1 of them shows a status of up. The one device reports a ping of 95ms in cacti but in cmd its <1ms, which seems strange.

I have reread the install docs and trouble shooting info, maybe someone can give me some help where to look.
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

Also I turned on debug mode but all I get in the log file is sql select statements:

[edit]

Ok I figured out that the information in the BSOD's FAQ is wrong...
http://bsod2600.home.comcast.net/install_windows.html

This does not work:
http://forums.cacti.net/viewtopic.php?t ... =invisible

I fixed the scheduled task and got a new debug log file but still no graphs...or anything in poller cache
Last edited by dontpntpool on Mon Jun 26, 2006 5:50 pm, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What specifically is wrong with my installation guide?

Since your log file is not getting updated, sounds like a NTFS permission issue. I suggest you run sysinternals.com FileMon and see if anything is getting denied when you scheduled task for Cacti runs.
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

Well the red text says whats wrong. The invisible script that you do not use does not work, as soon as I went back to using "..php.exe ..poller.php" in the scheduled task it started polling again.

It looks to me like your invisble script is only calling poller.php and noplace does it say php.exe so unless extension is associated with the executable I dont think that will work.

But back to the question...nothing is being put in the poller log, and yes the poller is running and it seems to be working as the pings are updating in the device screen

filemon is great but it generates to many events to be an effective tool...Its like searching for a needle in a haystack, because I get no files denied access.

The cacti.log is being updated and the permisions for both log dirs are writeable.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You really don't want to use invisable.vbs anyways. The correct solution is to run the cacti scheduled task with a different user account.

If you manually run: php c:\inetpub\wwwroot\poller.php with an admin account, do you get anything in your log file? Does your path to cacti have spaces in it? If so, that is the problem... either move/rename the folder or use 8.3 filenames.

With FileMon you can filter programs out from being displayed.. also adding 'denied' to the highlighting section is very handy.
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

yeah thats what I did...but no denied messages :(

no spaces in the filenames/paths

running poller manually gives the same results to the log file...cacti.log is made but nothing in rra or in the poller cache
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Odd.

1) Are you using the cmd.exe or cactid.exe poller?
2) You're manually running the poller with an admin account?
3) You've followed my installation guide and applied the correct NTFS security to cmd.exe, rrdtool.exe and the webroot/cacti/ folder/files ?
4) Verified the log path in cacti settings is valid?
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

I can use either poller, neither log anything in the poller cache

I am running poller as admin and the task is scheduled with admin cred every 5 mins

All NTFS perms are set correctly (checked several times even used full perms for everyone account)

log paths are correct
Attachments
1runcacti.txt
1 run debug on log
(61.97 KiB) Downloaded 244 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Please use the cmd.php poller until the problems are resolved. Looking through your log, I didn't see cacti polling anything nor updating rrd files. That is a big problem.

1) do you have any data sources defined?
2) Is there anything in your poller cache?
3) Try clearing the poller cache so cacti rebuilds it.
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

Yes I have 9 data sources and they have been verified with snmpwalk

I have 5 graphs for 1 host that are supposed to be generated

I have cleared logs/cache everything several times

This is what I am saying! poller cache NEVER has anything in it.

heres a log after I switched to cmd
Attachments
1cmdruncacti.txt
1 poll run cmd debug
(7.81 KiB) Downloaded 83 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) What version of everything are you using?
2) Have you fully patched cacti?
3) what host template(s) do you have set for your devices?
4) does basic snmp info show for each device in the top left corner?
dontpntpool
Posts: 13
Joined: Mon Jun 26, 2006 12:53 pm

Post by dontpntpool »

1)
Operating System: Windows 2k3 Enterprise
Webserver: IIS6 (latest patches)
Cacti: 0.8.6h (updated + plugin patch)
Cactid: 0.8.6g & h
MySQL: 5.0.22
PHP: 5.1.4 (ini edited correctly)
RRDTool: 1.2.13 (Cygwin & Cacti both tried)
Net-SNMP: 5.3.0.1.1
Cygwin (cygwin1.dll version): 1005.19.0.0

2) yes I have h + patched files & and another dir that has h+patches+plugin mod...surprising but both have same issue!

3) & 4) see screenshot
Attachments
not working
not working
pic.JPG (184.83 KiB) Viewed 2228 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well I'm at a loss why nothing is still showing up in your poller cache.... will need to get a dev to comment on this.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest