| Author |
Message |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
 New v0.2.6 Thold command line option issue
I do not have "weekend exemtions" ON, but I do get this:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/05/2005 04:32:39 PM - POLLER: Poller[0] Checking Thresholds
weekend exemption is on
and
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /debug
11/05/2005 04:37:17 PM - POLLER: Poller[0] Checking Thresholds
weekend exemption is on
I went to the web interface and toggled weekend reporting ON and OFF - no difference.
My Thresholds still function, just FYI the command line switches don't seem quite right yet.
I will try it again on Monday!
|
| Sat Nov 05, 2005 4:41 pm |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
 Re: New v0.2.6 Thold command line option issue
N3NCY wrote: I do not have "weekend exemtions" ON, but I do get this:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show 11/05/2005 04:32:39 PM - POLLER: Poller[0] Checking Thresholds weekend exemption is on
and
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /debug 11/05/2005 04:37:17 PM - POLLER: Poller[0] Checking Thresholds weekend exemption is on
I went to the web interface and toggled weekend reporting ON and OFF - no difference.
My Thresholds still function, just FYI the command line switches don't seem quite right yet. I will try it again on Monday!
Oops, I had fixed that in my local copy on my test server, but didn't push the change to offical release. I have now updated it. Thanks for finding it so quickly!!
|
| Sat Nov 05, 2005 9:16 pm |
|
 |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
Still not quite right.
I installed the updated thold, then:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/06/2005 02:32:56 AM - POLLER: Poller[0] Checking Thresholds
-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable-e: not found
The file /opt/apache/htdocs/cacti/log/thold.log is not writable
So I created a writable file that it complained about:
touch /opt/apache/htdocs/cacti/log/thold.log
chmod 666 /opt/apache/htdocs/cacti/log/thold.log
Then I tried again:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/06/2005 02:33:43 AM - POLLER: Poller[0] Checking Thresholds
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
Any thoughts?
|
| Sun Nov 06, 2005 2:42 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
N3NCY wrote: The file /opt/apache/htdocs/cacti/log/thold.log is not writable This is normal when the file is not writable by the webserver. I could possibly move the log file to the plugin directory and ship it with it to make it go away. I will have to ponder that idea though, since logs are what the log directory are for. N3NCY wrote: -e: not found
This error seems to rearing it ugly head again. Before it was caused by rrdtool returning data with a line break, which when we them combined that data into another command, caused the rest of the command to executed as a seperate command. I thought I had fixed this in the last version in thold-functions.php.
I have now applied the fix in a few more places (in some cases with a double redundacy) to see if it helps. Care to download it again and override your thold-functions.php?
Thanks!
|
| Sun Nov 06, 2005 11:35 am |
|
 |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
I redownloaded thold.zip
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/06/2005 02:00:27 PM - POLLER: Poller[0] Checking Thresholds
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
|
| Sun Nov 06, 2005 2:02 pm |
|
 |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
hmm, still bugs, during the week, /show just gives errors.
I just added some new thresholds during the weekend, I am not getting "Current" data, just get an empty field.
I tried:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/12/2005 04:48:47 PM - POLLER: Poller[0] Checking Thresholds
weekend exemption is on
but weekend exemption is not on.
ideas?
|
| Sat Nov 12, 2005 4:53 pm |
|
 |
|
Guest
|
funny, i also get an empty field for current data and i have weekend exemptions ON and i get:
php check-thold.php /show
11/15/2005 01:08:18 PM - THOLD: Poller[0] Checking Thresholds
no mention of it at all.
|
| Tue Nov 15, 2005 4:14 pm |
|
 |
|
mvam
New User
Joined: Tue Nov 15, 2005 4:10 pm Posts: 2
|
Anonymous wrote: funny, i also get an empty field for current data and i have weekend exemptions ON and i get:
php check-thold.php /show 11/15/2005 01:08:18 PM - THOLD: Poller[0] Checking Thresholds
no mention of it at all.
sorry, i forgot to logon
|
| Tue Nov 15, 2005 4:33 pm |
|
 |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
FYI it is still not working:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
11/22/2005 07:57:35 PM - POLLER: Poller[0] Checking Thresholds
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
|
| Tue Nov 22, 2005 7:59 pm |
|
 |
|
N3NCY
User
Joined: Fri Oct 28, 2005 4:38 pm Posts: 31
|
I redownloaded the latest thold.tar.gz from this site and life is good.
I can now test via the command line:
/usr/local/bin/php /opt/apache/htdocs/cacti/plugins/thold/check-thold.php /show
Thank you!

|
| Wed Dec 21, 2005 2:57 am |
|
|