rra file empty
Moderators: Developers, Moderators
rra file empty
hello to start sorry I'am french
in cacti poller view cache I can read
RRD: c:\program files\easyphp1-8\www\cacti\rra\pc_stagiaire_2_proc_39.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 192.168.1.164, Community: public)
but rra file is empty Why?
I have change rrdtool win32 with cygwin 1.2.12
my cacti version is current with patch
to finnish I use cacti with easyphp for testing
thanks for your help
and move sorry for my bad english
in cacti poller view cache I can read
RRD: c:\program files\easyphp1-8\www\cacti\rra\pc_stagiaire_2_proc_39.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 192.168.1.164, Community: public)
but rra file is empty Why?
I have change rrdtool win32 with cygwin 1.2.12
my cacti version is current with patch
to finnish I use cacti with easyphp for testing
thanks for your help
and move sorry for my bad english
Read http://forums.cacti.net/viewtopic.php?t=11747 and repost again.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Sorry i think that information was not to nessessary
I have follow the instruction for install i thit not missed any point.
Operating System:Win XP Pro
Webserver: Mozilla IE APACHE 1.3.33
Cacti: 0.8.6h whit patch applied
Cactid: not installed
MySQL: 4.1.9
PHP: 4.3.10
RRDTool: rrdtool-cygwin-1.2.12
Net-SNMP: net-snmp-5.2.2.pre1-1.win32
Cygwin: not installed
I think I am probleme whit NET-SNMP because in getif the mib browser don't opperate and
I can read not response from snmp
(snmp is install and good)
So my problem is: rra files is empty
in debug mode in cache poller I can see
RRD: c:\program files\easyphp1-8\www\cacti\rra\pc_stagiaire_2_proc_39.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 192.168.1.164, Community: public)
but the snmp cache is empty???
in log cacti for on cycle:
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='visiteur'"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
log write this
03/01/2006 10:07:22 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_item (local_data_id,host_id,action,hostname, snmp_community,snmp_version,snmp_timeout,snmp_username,snmp_password,snmp_port,rrd_name,rrd_path, rrd_num,arg1,arg2,arg3) values (39,5,0,'192.168.1.164', 'public','2','500', '','','161', 'proc','c:\\program files\\easyphp1-8\\www\\cacti\\rra\\pc_stagiaire_2_proc_39.rrd', '1','.1.3.6.1.2.1.25.1.6.0','','')"
so he says that he writes but rra is empty
but View SNMP Cache empty I'am forgoten
thanks for your help because is for a internship and I am very interresting to cacti to applied at my home
I have follow the instruction for install i thit not missed any point.
Operating System:Win XP Pro
Webserver: Mozilla IE APACHE 1.3.33
Cacti: 0.8.6h whit patch applied
Cactid: not installed
MySQL: 4.1.9
PHP: 4.3.10
RRDTool: rrdtool-cygwin-1.2.12
Net-SNMP: net-snmp-5.2.2.pre1-1.win32
Cygwin: not installed
I think I am probleme whit NET-SNMP because in getif the mib browser don't opperate and
I can read not response from snmp
(snmp is install and good)
So my problem is: rra files is empty
in debug mode in cache poller I can see
RRD: c:\program files\easyphp1-8\www\cacti\rra\pc_stagiaire_2_proc_39.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 192.168.1.164, Community: public)
but the snmp cache is empty???
in log cacti for on cycle:
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='visiteur'"
03/01/2006 09:57:05 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
log write this
03/01/2006 10:07:22 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_item (local_data_id,host_id,action,hostname, snmp_community,snmp_version,snmp_timeout,snmp_username,snmp_password,snmp_port,rrd_name,rrd_path, rrd_num,arg1,arg2,arg3) values (39,5,0,'192.168.1.164', 'public','2','500', '','','161', 'proc','c:\\program files\\easyphp1-8\\www\\cacti\\rra\\pc_stagiaire_2_proc_39.rrd', '1','.1.3.6.1.2.1.25.1.6.0','','')"
so he says that he writes but rra is empty
but View SNMP Cache empty I'am forgoten
thanks for your help because is for a internship and I am very interresting to cacti to applied at my home
1) Cacti does not support spaces in the path. Fix that.
2) Why are you using double slashes for you path? You dont need those, just the standard one will do.
3) The log stuff you posted does not say it attempted to update the rrd files. You're looking for CACTI2RRD log entires which do that.
2) Why are you using double slashes for you path? You dont need those, just the standard one will do.
3) The log stuff you posted does not say it attempted to update the rrd files. You're looking for CACTI2RRD log entires which do that.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
You do not need to install the net-snmp snmp agent. Use the microsoft one which comes with windows.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Did you install the windows snmp agent?
Did you enable the snmp module in php, like the installation guide instructed?
Did you enable the snmp module in php, like the installation guide instructed?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
yes I have install microsoft agen snmp OK.
I have install net-snmp just for snmpget.exe snmp....exe OK.
in debug graph I have this:
:\PROGRA~1\EasyPH~1\www\cacti\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PC stagiaire 2 - Traffic - 192.168.1.164 (43:61:72:74:65:)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="c\:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd":traffic_in:AVERAGE \
DEF:b="c\:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening 'c:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd': No such file or directory
FOR data source debug
c:\PROGRA~1\EasyPH~1\www\cacti\rrdtool.exe create \
c:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
To Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\PROGRA~1\EasyPH~1\php\php.exe -q c:\program files\easyphp1-8\www\cacti\scripts\ss_host_cpu.php 192.168.1.164 5 1:161:500:public:::MD5::[None] index'
+ Executing script query 'c:\PROGRA~1\EasyPH~1\php\php.exe -q c:\program files\easyphp1-8\www\cacti\scripts\ss_host_cpu.php 192.168.1.164 5 1:161:500:public:::MD5::[None] query index'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
question: for all files acces road I use / or \??
I think I have configure all Path_rra path_cacti etc
do you now tha I must creat manualy thec_stagiaire_2_traffic_in_65.rrd file?
I have install net-snmp just for snmpget.exe snmp....exe OK.
in debug graph I have this:
:\PROGRA~1\EasyPH~1\www\cacti\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PC stagiaire 2 - Traffic - 192.168.1.164 (43:61:72:74:65:)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="c\:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd":traffic_in:AVERAGE \
DEF:b="c\:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening 'c:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd': No such file or directory
FOR data source debug
c:\PROGRA~1\EasyPH~1\www\cacti\rrdtool.exe create \
c:/program files/easyphp1-8/www/cacti/rra/pc_stagiaire_2_traffic_in_65.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
To Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\PROGRA~1\EasyPH~1\php\php.exe -q c:\program files\easyphp1-8\www\cacti\scripts\ss_host_cpu.php 192.168.1.164 5 1:161:500:public:::MD5::[None] index'
+ Executing script query 'c:\PROGRA~1\EasyPH~1\php\php.exe -q c:\program files\easyphp1-8\www\cacti\scripts\ss_host_cpu.php 192.168.1.164 5 1:161:500:public:::MD5::[None] query index'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'c:/program files/easyphp1-8/www/cacti/resource/script_server/host_cpu.xml'
question: for all files acces road I use / or \??
I think I have configure all Path_rra path_cacti etc
do you now tha I must creat manualy thec_stagiaire_2_traffic_in_65.rrd file?
Use forward slashes for your paths, /syxfull wrote: for all files acces road I use / or \??
No. If cacti isnt able to create it, then you have something wrong.syxfull wrote: I think I have configure all Path_rra path_cacti etc
do you now tha I must creat manualy thec_stagiaire_2_traffic_in_65.rrd file?
Considering the verbose query did not return any data, I don't think you have SNMP properly working on the device. Do you have the basic SNMP information at the top left corner of the device screen? If it says snmp error, then you have a problem.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
on snmp I have this
System: Hardware: x86 Family 15 Model 2 Stepping 4 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.1 (Build 2600 Uniprocessor Free)
Uptime: 1032138
Hostname: STG-02
Location:
Contact: NULL
is good?
to this moning I have this problem on log cacti
03/06/2006 09:36:53 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select output_string from data_input where id=1"
I think is maybe caused by rrdtool can you explain me how to install rrdtool cygwin? I have just pass in cacti folder and configure path I have other to do?
System: Hardware: x86 Family 15 Model 2 Stepping 4 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.1 (Build 2600 Uniprocessor Free)
Uptime: 1032138
Hostname: STG-02
Location:
Contact: NULL
is good?
to this moning I have this problem on log cacti
03/06/2006 09:36:53 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select output_string from data_input where id=1"
I think is maybe caused by rrdtool can you explain me how to install rrdtool cygwin? I have just pass in cacti folder and configure path I have other to do?
Yes.syxfull wrote:on snmp I have this
System: Hardware: x86 Family 15 Model 2 Stepping 4 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.1 (Build 2600 Uniprocessor Free)
Uptime: 1032138
Hostname: STG-02
Location:
Contact: NULL
is good?
Ignore those.syxfull wrote:03/06/2006 09:36:53 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select output_string from data_input where id=1"
As for installing rrdtool, simply download the zip file from the cacti website, extract to c:\rrdtool, in cacti settings point to it, set up NTFS security so your IUSR_X and IIS_WPG user accounts have read/execute.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 3 guests