FAQFAQ   SearchSearch   RegisterRegister   ProfileProfile   Log inLog in 

THold - Last Poll: Poller has not yet ran! Issue

 
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General
View previous topic :: View next topic  
Author Message
sasifras
New User


Joined: 09 Jul 2008
Posts: 3

PostPosted: Fri Jul 11, 2008 10:09 am    Post subject: THold - Last Poll: Poller has not yet ran! Issue Reply with quote

I've been looking around for an answer to this problem but I haven't been able to find a solution that works. I'm also not 100% sure on what information would be helpful in providing direction so please feel free to ask for whatever might be relevant to helping solve the ultimate problem.

Solaris v9 (underlying OS)

Cacti - v0.8.7b
MySQL v5.0.45

PIA2.1 installed
Modules Installed:
monitor
settings
thold
realtime
tools
devices

The only module I'm having a problem with is the THold module right now. when I go to the THold tab, it displays the thresholds I've defined (7 right now). At the top of the page, it says:

Quote:
Last Poll: Poller has not yet ran!


I've tried a number of things to try and get this to work and I'm stuck.

1) tried to review the MySQL parameters to ensure that I was not running in strict mode
Quote:
sql-mode = "NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"


2) tried changing poller from SPINE to CMD.PHP - results are the same

3) verified that the THold tables exist in the database

4) THold is the only plugin I have defined to run as the same user as the web daemon (wasn't sure if maybe there is a permission problem? does this need to be cactiuser instead?)

5) tried to review the logs in verbose mode but didn't see anything about the thold poller process.

6) no errors being reported by the web daemon (apache) in the error_log.

-How can I verify if the thold poller is running after the normal cycle polls?

-What should I be looking at next?

Additional Note: For some reason, and I haven't figured this out yet either, under plugin management on my console tab, none of the plugins I have installed are listed at all...

Thanks in advance![/quote]
Back to top
View user's profile
sasifras
New User


Joined: 09 Jul 2008
Posts: 3

PostPosted: Tue Jul 15, 2008 7:38 am    Post subject: Reply with quote

Doesn't anyone have any thoughts on where to look next? What about the hooks needed to spawn the Thold polling process, where do those exist? Should any log msgs be generated by Thold when it runs (in the Cacti log or otherwise)? Can I manually execute the Thold polling process to verify it is working itself?

I'm just not sure where to look next...

Help...Please....
Back to top
View user's profile
rani
New User


Joined: 14 Aug 2008
Posts: 1

PostPosted: Thu Aug 14, 2008 8:08 am    Post subject: Reply with quote

Hello,

same prob here... I've created a Threshold Templates, but I am still having this message: Last Poll: Poller has not yet ran!

How can I make sure that the Threshold is running?

Thanks,
Rani
Back to top
View user's profile
sasifras
New User


Joined: 09 Jul 2008
Posts: 3

PostPosted: Thu Aug 14, 2008 8:25 am    Post subject: Reply with quote

I've wanted to reply, but I cannot say with ultimate certainty that this fixed my problem so I was hesitant. I'll offer the item that I believe fixed the problem and some documentation from my system to help since nobody has been able to help me (it was frustrating)...

in the plugins directory, I had to make my webserver account/group owner of the thold directory (www is that account/group):

Code:

drwxr-xr-x   3 www      www          512 Jul  8 10:47 thold


Also note that the permissions are set to 755 for thold at this level. Here are the details inside of the thold directory:

Code:

-rwxr-xr-x   1 www      www        26925 Jul  8 10:47 LICENSE
-rwxr-xr-x   1 www      www         7785 Jul  8 10:47 README
-rwxr-xr-x   1 www      www        11206 Jul  8 10:47 check-thold.php
drwxr-xr-x   2 www      www          512 Jul  8 10:47 images
-rwxr-xr-x   1 www      www           41 Jul  8 10:47 index.php
-rwxr-xr-x   1 www      www         9662 Jul  8 10:47 listthold.php
-rwxr-xr-x   1 www      www        32943 Jul  8 10:47 setup.php
-rwxr-xr-x   1 www      www        16610 Jul  8 10:47 thold.php
-rwxr-xr-x   1 www      www         3823 Jul  8 10:47 thold.sql
-rwxr-xr-x   1 www      www        36436 Jul  8 10:47 thold_functions.php
-rwxr-xr-x   1 www      www         6201 Jul  8 10:47 thold_graph.php
-rwxr-xr-x   1 www      www        22233 Jul  8 10:47 thold_templates.php


I think the thing that fixed this (and several other plugins) was making the .php files executable. I still have to go back and fix some of the permissions becuase I don't think this is the best solution (what I have now), but your cactiuser and web daemon user seem to need execute access to many items in various plugins. Someone could likely correct me, but this is just what I found...

Hope it helps, best of luck
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Forums Sitemap