thold check-debug

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

thold check-debug

Post by torstentfk »

Hello,

checking for the emails not working with thold 0.38 I found something strange:
- I set one datasource (traffic in AND out) to a noticeable value below of the traffic so that I could see it in the log.
- in check-thold.php:
* the first code line is an "exit;" so checking will stop? -> I removed it and enabled debugging and show.
* the function "logger" at the beginning is double declared (as php nags me) -> I removed this function from check-thold.php
- manually running thold with php check-thold.php:
in the log thold.log I searched for the above value: I could find one! entry regarding the rra of the changed thold-ds. In the log file there ist only an entry for the second rra (traffic-DS has two entries: in and out Ds, nly the second is procesed.
- At the logfile thold.log all triggerct: are zero and some DS are not mentioned
- At the thold console in cacti , there is a red marked thold as I entered above. -> I think the logfile is not complete.
- Thold is recognizing the high thold and calls something in php which produces this error:
"ERROR: Unable to open DirectInject executable process: () "
-> I think there is theproblem with setting/php_mailer-function
- Logging to cacti.log: There is only a message if I call check_thold.php from cli. If the poller calls thold there is noline like "11/20/2007 05:01:12 PM - THOLD: Poller[0] Checking Thresholds"

Torsten
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests