Theshold error /opt/apache/2.0.50/cacti/lib/thold-functions.

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
somulss
Posts: 3
Joined: Fri Jun 10, 2005 5:29 am
Contact:

Theshold error /opt/apache/2.0.50/cacti/lib/thold-functions.

Post by somulss »

Notice: Undefined offset: 0 in /opt/apache/2.0.50/cacti/lib/thold-functions.php on line 36

I am using cacti-0.8.6f version I have installed thold its giving above error when I select threshold option for a device.
mhinti
Posts: 27
Joined: Thu Jun 30, 2005 9:23 am
Location: Austria

Post by mhinti »

hi, i have the same error

i have also installed cati 0.8.6f (IIS 5.0) and Thold 2.1. Install was OK, but now when I klicked on a device to configure Alerting, Cacti crashes (no Error Messages) I must reboot the services.

Is Thold 2.1 working with the new Cacti Version ?
clrgomes
Posts: 27
Joined: Mon Jul 18, 2005 6:01 pm
Location: Brazil

ERROR

Post by clrgomes »

Yes, I have the same error in IIS + W2K

When I click link Description Device in the listthold.php, the IIS crashes too.

Sametime I can open the next page to configure the values. but I receive the error:

Notice: Undefined offset: 1 in C:\cacti-c\lib\thold-functions.php on line 36

I'm using cacti0.8.6c and Thold 2.1a

Can anybody help me ?

Thanks
CLRGomes
From Brazil
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

I'm getting same error when I attempt to add a threshold to a router interface with the following apps:

win2k pro
apache 2.0.54
cacti 0.8.6f
cactid 0.8.6a
mysql 4.1.14
net-snmp 5.2.1.2
php 5.0.4
rrdtool 1.2.11 (from Cacti)
thold 2.1a
THold 2.1a
Attachments
thold_error.JPG
thold_error.JPG (39.2 KiB) Viewed 12101 times
siouxee
Cacti User
Posts: 88
Joined: Wed Sep 07, 2005 9:00 am

Post by siouxee »

I'm getting same error when I attempt to add a threshold to a router interface with the following apps:

win2k pro
apache 2.0.54
cacti 0.8.6f
cactid 0.8.6a
mysql 4.1.14
net-snmp 5.2.1.2
php 5.0.4
rrdtool 1.2.11 (from Cacti)
thold 2.1a
THold 2.1a
Attachments
thold_error.JPG
thold_error.JPG (39.2 KiB) Viewed 12100 times
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

me too.....

Graph Templates
Host Templates
Data Templates
Import/Export
Import Templates
Export Templates
Configuration
Settings
Utilities
System Utilities
User Management
Logout User



Threshold Management

To add more elements - go to:
'Data Sources' -> 'select a host' (on top) -> and click the 'Template Name / Click for THold' section for the desired element

You can also auto-create baseline thresholds per device - go to:
'Devices' -> Click on a desierd device -> Click on 'Create graphs for this host' -> Click on 'Auto-create thresholds'

To edit an existing element, click the RRD ID below
Filter by host:


Last Poll: 2006-02-17 13:15:10


Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

Notice: Undefined offset: 0 in /www/htdocs/cacti/listthold.php on line 116

cacti 0.8.6g on RHEL4
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Are you using Thold 2.1a? If so, I think its best to point out that you are using an extremely old version of THold. The newest version (which does actually fix these errors) has been ported the Plugin Architecture, and the old version is no longer supported.
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Yes, I'm using thold2.1a:-( and my cacti version is 0.8.6g running on RHEL4.
How to upgrade to new thold version? Need I upgrade cacti to the latest edition?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

To install the Plugin Architecture
http://www.cactiusers.org/wiki/PluginAr ... ureInstall

It is also recommended that you upgrade to the latest Cacti, as there are many improvements. Any changes to the architecture are also not backported to the older versions.
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Thank your kindly help, cigamit,
I'll install a fresh cacti installation to experience its new features. From its change logs I found I have to install many plug-ins again, e.g, reports, Threshold,syslog,...and some device templates, such as HPUX, I get them from cacti forum, But I don't know why cacti developers don't put them to new release...
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Great! I just experenced cacti-0.8.6h and its plugins, Wonderful!
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

A completely new Plugin Architecture is being designed for Cacti v0.9 and will be shipped with it and a few plugins. Tony and I are designing it, and will begin coding it once I find time to finish a few of the other items on my list.
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Cool! We're looking forwarding to cacti 0.9, Thanks a million for your sharing of your masterpiece :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest