Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


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

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold)
Author Message
somulss



Joined: 10 Jun 2005
Posts: 3

PostPosted: Mon Jul 04, 2005 4:20 am    Post subject: Theshold error /opt/apache/2.0.50/cacti/lib/thold-functions. Reply with quote

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.
Back to top
mhinti



Joined: 30 Jun 2005
Posts: 3

PostPosted: Mon Jul 04, 2005 6:22 am    Post subject: Reply with quote

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 ?
Back to top
clrgomes



Joined: 18 Jul 2005
Posts: 23
Location: Brazil

PostPosted: Thu Jul 21, 2005 7:39 pm    Post subject: ERROR Reply with quote

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
Back to top
siouxee
Cacti User


Joined: 07 Sep 2005
Posts: 66

PostPosted: Wed Sep 07, 2005 9:08 am    Post subject: Reply with quote

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



thold_error.JPG
 Description:
 Filesize:  39.2 KB
 Viewed:  5638 Time(s)

thold_error.JPG


Back to top
siouxee
Cacti User


Joined: 07 Sep 2005
Posts: 66

PostPosted: Wed Sep 07, 2005 9:11 am    Post subject: Reply with quote

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



thold_error.JPG
 Description:
 Filesize:  39.2 KB
 Viewed:  5637 Time(s)

thold_error.JPG


Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Fri Feb 17, 2006 1:38 am    Post subject: Reply with quote

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
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Fri Feb 17, 2006 2:52 pm    Post subject: Reply with quote

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.
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Feb 20, 2006 12:00 am    Post subject: Reply with quote

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?
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Mon Feb 20, 2006 10:54 am    Post subject: Reply with quote

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

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.
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Feb 20, 2006 7:35 pm    Post subject: Reply with quote

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...
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Tue Feb 21, 2006 2:15 am    Post subject: Reply with quote

Great! I just experenced cacti-0.8.6h and its plugins, Wonderful!
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Tue Feb 21, 2006 3:24 pm    Post subject: Reply with quote

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.
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Tue Feb 21, 2006 7:43 pm    Post subject: Reply with quote

Cool! We're looking forwarding to cacti 0.9, Thanks a million for your sharing of your masterpiece
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group