Cactiusers.org


It is currently Thu May 17, 2012 7:27 am




Post new topic Reply to topic  [ 5 posts ] 
 thold 2.5 not reading thresholds correctly 
Author Message
Post thold 2.5 not reading thresholds correctly
i'm running on cacti 0.8.6g and thold 2.5 (new install). i setup a few thresholds mirroring my old 8.6e and thold 2.1 setup. when check-thold.php runs it doesnt seem to read the values properly which triggers the alarm.

when i run check-thold.php manually i get this:

10/27/2005 09:43:09 AM - POLLER: Poller[0] Checking Thresholds
ERROR: end time: did you really mean month 899?
ERROR: end time: did you really mean month 899?
ERROR: end time: did you really mean month 899?

.... and on and on it goes.

as you can see from the screen shot its current value is reading NULL, but the graph shows that its clearly not. has anyone run into this? been able to fix it?

TIA


Attachments:
thold.JPG
thold.JPG [ 144.76 KiB | Viewed 692 times ]
Thu Oct 27, 2005 11:58 am
Post 
this still happens as of 0.2.6. on thing that had to do as far back as 2.1a was change the rrd_last function to something like rrd_last1. that worked in older versions.. does that break things in the new releases?
if i dont change it i get: [error] PHP Fatal error: Cannot redeclare rrd_last() and cannot view anything thats called by thold.php.


Tue Nov 08, 2005 4:24 pm
Post 
also i'm getting an undefined offset in line 72 which is setting up an array $thold_cfg = $thold_cfg[0];

the line just above it is a select * from tholdset.. which is an empty table. looking at an old copy of my db its an ID and date..


Tue Nov 08, 2005 4:55 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Anonymous wrote:
also i'm getting an undefined offset in line 72 which is setting up an array $thold_cfg = $thold_cfg[0];

the line just above it is a select * from tholdset.. which is an empty table. looking at an old copy of my db its an ID and date..


That table should never be empty (the thold database even ships with info in that table). Try inserting with id=1 and datat = 2005-11-09 08:20:26
or whichever date you like.


Wed Nov 09, 2005 9:25 am
Post 
i'm back to

11/10/2005 10:55:01 AM - THOLD: Poller[0] Checking Thresholds
ERROR: end time: did you really mean month 899?

after entering a date into the tholdset table.


Thu Nov 10, 2005 1:55 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for: