Cactiusers.org


It is currently Thu May 17, 2012 8:24 am




Post new topic Reply to topic  [ 6 posts ] 
 THOLD is not TRIGGERED 
Author Message
New User

Joined: Wed Dec 07, 2005 4:46 am
Posts: 18
Post THOLD is not TRIGGERED
Hi,
I install Thold my working test cacti.
I have several routers and and i graph of interface of them
To test thold, I create thold to an interface.
Interface is 155 Mbps ATM and I sen the thold high value as 10Mbps and low thold as 500Kbps.
I observe the interface that exceed very frequently to 10Mbps but thold show green anf not trigger.
So I can test many interface and CPU but thold again no trigger.
What is the problem?
Can anybody help me?


Fri Dec 09, 2005 6:28 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: THOLD is not TRIGGERED
TFC wrote:
Hi,
I install Thold my working test cacti.
I have several routers and and i graph of interface of them
To test thold, I create thold to an interface.
Interface is 155 Mbps ATM and I sen the thold high value as 10Mbps and low thold as 500Kbps.
I observe the interface that exceed very frequently to 10Mbps but thold show green anf not trigger.
So I can test many interface and CPU but thold again no trigger.
What is the problem?
Can anybody help me?


Is thold pulling the correct info on the interface (there is a bug that has been plaqueing it where it pulls 0 as the value). On the thold page for that interface, what do you have in the input box, versus what it shows as the current value (a simple screen shot would show me all I need to know). Does the thold page show that its triggering, and your just not getting the emails?

Let me know and we can work out what is going wrong.


Sun Dec 11, 2005 6:32 pm
New User

Joined: Wed Dec 07, 2005 4:46 am
Posts: 18
Post 
when I check the Treshold Management page, Last poll/current values is empty.
In the Thold page, I have 155 MB ATm interface and high value set as 10.000.000 bps low set as 1.000.000 bps. But current value column is empty.
I use cactid not cmd.php.
I dont have any alarm and e-mail. I test e-mail func. and it works properly now.
When I run thold.php manually, I get these messages:
Quote:
[root@cacti-test bin]# ./php /www/htdocs/cacti/plugins/thold/thold.php

Warning: main(./include/auth.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 15

Warning: main(): Failed opening './include/auth.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 15

Warning: main(/rrd.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 17

Warning: main(): Failed opening '/rrd.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 17

Warning: main(plugins/thold/thold-functions.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 18

Warning: main(): Failed opening 'plugins/thold/thold-functions.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 18

Fatal error: Call to undefined function db_fetch_assoc() in /www/htdocs/cacti/plugins/thold/thold.php on line 47


Mon Dec 12, 2005 2:39 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
TFC wrote:
when I check the Treshold Management page, Last poll/current values is empty.
In the Thold page, I have 155 MB ATm interface and high value set as 10.000.000 bps low set as 1.000.000 bps. But current value column is empty.
I use cactid not cmd.php.
I dont have any alarm and e-mail. I test e-mail func. and it works properly now.
When I run thold.php manually, I get these messages:
Quote:
[root@cacti-test bin]# ./php /www/htdocs/cacti/plugins/thold/thold.php

Warning: main(./include/auth.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 15

Warning: main(): Failed opening './include/auth.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 15

Warning: main(/rrd.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 17

Warning: main(): Failed opening '/rrd.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 17

Warning: main(plugins/thold/thold-functions.php): failed to open stream: No such file or directory in /www/htdocs/cacti/plugins/thold/thold.php on line 18

Warning: main(): Failed opening 'plugins/thold/thold-functions.php' for inclusion (include_path='.:/www/php/lib/php') in /www/htdocs/cacti/plugins/thold/thold.php on line 18

Fatal error: Call to undefined function db_fetch_assoc() in /www/htdocs/cacti/plugins/thold/thold.php on line 47


thold.php is not meant to be run from the command line as it is the GUI, try running

./php /www/htdocs/cacti/plugins/thold/check-thold.php /show /debug

and post the result.


Mon Dec 12, 2005 10:23 am
New User

Joined: Wed Dec 07, 2005 4:46 am
Posts: 18
Post 
I did your comment:

Quote:
[root@cacti-test bin]# ./php /www/htdocs/cacti/plugins/thold/check-thold.php /show /debug
12/13/2005 08:38:37 AM - THOLD: Poller[0] Checking Thresholds
[root@cacti-test bin]#

After I go back to GUI but still there is no "current" value.
Is there anything to write down to crontab to work thold?


Tue Dec 13, 2005 1:45 am
New User

Joined: Wed Dec 07, 2005 4:46 am
Posts: 18
Post 
TFC wrote:
I did your comment:

Quote:
[root@cacti-test bin]# ./php /www/htdocs/cacti/plugins/thold/check-thold.php /show /debug
12/13/2005 08:38:37 AM - THOLD: Poller[0] Checking Thresholds
[root@cacti-test bin]#

After I go back to GUI but still there is no "current" value.
Is there anything to write down to crontab to work thold?


why my THOLD does not work ?


Sun Dec 18, 2005 10:35 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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: