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    


Cacti 0.8.4-pre Testing
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Thu Nov 06, 2003 11:59 pm    Post subject: Cacti 0.8.4-pre Testing Reply with quote

Anyone who has been following Cacti development lately would know that I have been trying to release 0.8.4 for a little while now. In addition to the brand new XML import/export support, I took the time to restructure a lot of the code from 0.8.3a. Because of this it is very important that 0.8.4 is tested extensively before it is released.

At this point, all of the features that are currently in 0.8.4 are there to stay. I guess we'll call this the feature freeze. I have done a bit of testing myself, but nothing beats help from the user community.

If you want to help push 0.8.4 out the door, help out development by testing 0.8.4! Try fresh installs, upgrades from 0.8.x, use the XML import/export features, etc. When you find bugs, post them here or create a detailed bug report. Try and refrain by clogging up my inbox though, things tend to get buried there.

Pre-releases are generated nightly and can be found below.

0.8.4-pre for Unix
0.8.4-pre for Windows

Thanks in advance for helping out!

-Ian


Last edited by raX on Thu Nov 20, 2003 2:16 am; edited 2 times in total
Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Fri Nov 07, 2003 6:07 am    Post subject: Two things Reply with quote

I found two small things on my test
its a new install on unix
if someone dont have permission to a tree the side bar of the tree is very wide
and if the user have only view graphes permission he still see the connsole tab
Back to top
Guest






PostPosted: Fri Nov 07, 2003 7:11 am    Post subject: and another cosmetic one Reply with quote

if you query a host and it dont find any interface the check box is in the middle of the cell not on the left side
Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Fri Nov 07, 2003 12:30 pm    Post subject: now a bug and a fix Reply with quote

cactid is still taking the snmp version from the configuration file and not from the database
i fix it by changing the folowing code in snmp.c
from
Code:

if (set.snmp_ver == 2) {
        session.version = SNMP_VERSION_2c; 
        }
else{     
         session.version = SNMP_VERSION_1;         
}                               

to
Code:

       if ( ver == 2) {     
               session.version = SNMP_VERSION_2c;   
 }
else{           
                session.version = SNMP_VERSION_1;         
}


so now i can poll snmp version 1 host and snmp version 2 host in the same time with cactid

and thanks for this excellent product
Back to top
Phil
Guest





PostPosted: Fri Nov 07, 2003 5:42 pm    Post subject: Some type of path problem on Win32 Reply with quote

Running cmd.php i'm getting these errors

Can't open perl script "C:InetpubWWWROOTcacti/scripts/w32_query_logicaldisk.pl"
Back to top
Phil
Guest





PostPosted: Fri Nov 07, 2003 6:47 pm    Post subject: Reply with quote

Turns out that the command column in the data_input_data_cache table is less than right. I ran into this problem while writing a script before, mysql won't store \'s unless they are escaped.

perl C:InetpubWWWROOTcacti/scripts/w32_query_logicaldisk.pl

worked around it by hardcoding the path in config.php

$config["base_path"] = "c:/inetpub/wwwroot/cacti";

and hardcoded the includes in cmd.php

include("include/config.php");
include_once("lib/snmp.php");
include_once("lib/rrd.php");
include_once("lib/functions.php");
include_once("lib/graph_export.php");
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Sat Nov 08, 2003 5:35 pm    Post subject: Re: and another cosmetic one Reply with quote

Anonymous wrote:
if you query a host and it dont find any interface the check box is in the middle of the cell not on the left side


This should be working correctly now. Let me know if you like the additional debug information for data queries that return 0 rows .

-Ian
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Sat Nov 08, 2003 5:37 pm    Post subject: Re: Some type of path problem on Win32 Reply with quote

Phil wrote:
Running cmd.php i'm getting these errors

Can't open perl script "C:InetpubWWWROOTcacti/scripts/w32_query_logicaldisk.pl"


This should be fixed now. I added a new function to correct pathnames under Windows. I also had to add a addslashes() in a couple of places. The latest pre-release contains this fix.

-Ian
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Sat Nov 08, 2003 5:37 pm    Post subject: Re: now a bug and a fix Reply with quote

moonman wrote:
cactid is still taking the snmp version from the configuration file and not from the database


Fixed.

-Ian
Back to top
Phil
Guest





PostPosted: Sun Nov 09, 2003 7:12 am    Post subject: Import Templates not working Reply with quote

Quote:
This should be fixed now. I added a new function to correct pathnames under Windows. I also had to add a addslashes() in a couple of places. The latest pre-release contains this fix.


Thanks, that did the trick.

It appears as though nothing gets imported via import template. If you specify either a file name or paste the xml into the text box and hit submit no errors occur, but there is no sign of the imported template in cacti.
Back to top
Phil
Guest





PostPosted: Sun Nov 09, 2003 9:09 am    Post subject: Templated graph item inputs are not being saved. Reply with quote

Changes to templated items like legend color are not being saved when a new graph is created.
Back to top
Guest






PostPosted: Sun Nov 09, 2003 9:55 am    Post subject: indexed script input Reply with quote

If two xml files share the same input field name,

a.xml
<svcSite>
<name>SMTP Site</name>
<direction>input</direction>
<query_name>Name</query_name>
</svcSite>

b.xml
<svcSite>
<name>Web Site</name>
<direction>input</direction>
<query_name>Name</query_name>
</svcSite>

the results of the data query for both sources are merged and duplicated in both data query sections of graphs_new.php.

This is not true if these field names are different.

(I hope this makes english)
Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Sun Nov 09, 2003 11:04 am    Post subject: another one but i am not sure its a bug Reply with quote

if i have one graph for a interface and i want to create another one for the same interface i cant do it i click on the create button and it return me to the interface list insted of creating the graphe with 1 in the and of the name or something like this

Thanks
Back to top
Phil
Guest





PostPosted: Sun Nov 09, 2003 11:56 am    Post subject: CDEF's problem? Reply with quote

The default CDEF is Make per 5 Minutes which is causing everything to be multiplied by 300. So if you are monitoring # processes or # users the value is being multiplied by 300.

I think the default CDEF used to be None and used the value from the RRA as is. Anyway i just added a CDEF (called None) and configured it to multiply by 1.
Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Sun Nov 09, 2003 1:50 pm    Post subject: Reply with quote

this is what happen when i try to export a data template
Code:

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Undefined index: 0.8.4-pre20031106 in /var/www/cacti-0.84/lib/functions.php on line 1484

Warning: Cannot add header information - headers already sent by (output started at /var/www/cacti-0.84/lib/functions.php:1484) in /var/www/cacti-0.84/templates_export.php on line 88

Warning: Cannot add header information - headers already sent by (output started at /var/www/cacti-0.84/lib/functions.php:1484) in /var/www/cacti-0.84/templates_export.php on line 89
Cisco Router - 1 Minute CPU on |host_description| - 1 Minute CPU hash_033eb92bb845b9660a7445cf9740726522 300 on hash_15c21df5178e5c955013591239eb0afd46|hash_150d9c0af8b8acdc7807943937b3208e29|hash_156fc2d038fb42950138b0ce3e9874cc60|hash_15e36f3adb9f152adfa5dc50fd2b23337e 1min_cpu 0 100 1 600 0 hash_074276a5ec6e3fe33995129041b1909762 .1.3.6.1.4.1.9.9.109.1.1.1.1.4.1 Get SNMP Data 2 SNMP IP Address hostname in management_ip SNMP Community snmp_community in snmp_community SNMP Username on snmp_username in snmp_username SNMP Password on snmp_password in snmp_password SNMP Version (1, 2, or 3) on snmp_version in snmp_version OID snmp_oid in oid Daily (5 Minute Average) 0.5 1 600 86400 1|3 Weekly (30 Minute Average) 0.5 6 700 604800 1|3 Monthly (2 Hour Average) 0.5 24 775 2678400 1|3 Yearly (1 Day Average) 0.5 288 797 33053184 1|3
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group