Traffic graphs
Moderators: Developers, Moderators
Traffic graphs
Hi
I'm trying to create a graphs to monitor my traffic: but my graph gets the following error:-
RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="crutch.hoppy.co.za - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00FF:"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:cdefa#002A97FF:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: invalid rpn expression in: a,8,*
is anyone able to assist me. thanks
Hoppy
I'm trying to create a graphs to monitor my traffic: but my graph gets the following error:-
RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="crutch.hoppy.co.za - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00FF:"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:cdefa#002A97FF:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: invalid rpn expression in: a,8,*
is anyone able to assist me. thanks
Hoppy
thanks.
I have re created the graph a number of times still with no data.
can you point me in the right direction to get the data for traffic graphs?
i see in the traffic graphs under Inbound Data Source and Inbound Data Source it show NONE and in the drop down for these it only reflects HDD usage and processes.
Could i be missing some thing?
Technical Support
General Information
Date Thu, 26 Jun 2008 17:50:50 +0200
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 1
Graphs 3
Data Sources Script/Command: 1
Script Query: 1
Total: 2
Poller Information
Interval 300
Type cmd.php
Items Action[1]: 3
Total: 3
Concurrent Processes 20
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:1.3030 Method:cmd.php Processes:20 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:3 RRDsProcessed:2
PHP Information
PHP Version 4.4.4
PHP OS FreeBSD
PHP uname *******************
PHP SNMP Installed
max_execution_time 30
memory_limit 12M
It is highly suggested that you alter you php.ini memory_limit to 16M or higher. This suggested memory value is calculated based on the number of data source present and is only to be used as a suggestion, actual values may vary system to system based on requirements.
MySQL Table Information
Name Rows Engine Collation Check Status
cdef 6 Unknown Unknown OK
cdef_items 16 Unknown Unknown OK
colors 101 Unknown Unknown OK
data_input 12 Unknown Unknown OK
data_input_data 187 Unknown Unknown OK
data_input_fields 46 Unknown Unknown OK
data_local 2 Unknown Unknown OK
data_template 41 Unknown Unknown OK
data_template_data 43 Unknown Unknown OK
data_template_data_rra 172 Unknown Unknown OK
data_template_rrd 61 Unknown Unknown OK
graph_local 3 Unknown Unknown OK
graph_template_input 77 Unknown Unknown OK
graph_template_input_defs 257 Unknown Unknown OK
graph_templates 33 Unknown Unknown OK
graph_templates_gprint 3 Unknown Unknown OK
graph_templates_graph 36 Unknown Unknown OK
graph_templates_item 284 Unknown Unknown OK
graph_tree 1 Unknown Unknown OK
graph_tree_items 0 Unknown Unknown OK
host 1 Unknown Unknown OK
host_graph 2 Unknown Unknown OK
host_snmp_cache 30 Unknown Unknown OK
host_snmp_query 4 Unknown Unknown OK
host_template 7 Unknown Unknown OK
host_template_graph 14 Unknown Unknown OK
host_template_snmp_query 13 Unknown Unknown OK
poller 0 Unknown Unknown OK
poller_command 0 Unknown Unknown OK
poller_item 3 Unknown Unknown OK
poller_output 0 Unknown Unknown OK
poller_reindex 11 Unknown Unknown OK
poller_time 2 Unknown Unknown OK
rra 5 Unknown Unknown OK
rra_cf 12 Unknown Unknown OK
settings 65 Unknown Unknown OK
settings_graphs 0 Unknown Unknown OK
settings_tree 0 Unknown Unknown OK
snmp_query 8 Unknown Unknown OK
snmp_query_graph 19 Unknown Unknown OK
snmp_query_graph_rrd 39 Unknown Unknown OK
snmp_query_graph_rrd_sv 59 Unknown Unknown OK
snmp_query_graph_sv 40 Unknown Unknown OK
user_auth 2 Unknown Unknown OK
user_auth_perms 0 Unknown Unknown OK
user_auth_realm 17 Unknown Unknown OK
user_log 10 Unknown Unknown OK
version 1 Unknown Unknown OK
PHP Module Information
apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache
Apache Release 10337100
Apache API Version 19990320
Hostname:Port *******************
User/Group www(80)/80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr/local
Loaded Modules mod_speedycgi, mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core
Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
DOCUMENT_ROOT ***************8
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5
HTTP_CACHE_CONTROL bypass-client=41.195.79.149
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE Cacti=5fbc1a7658c787cb4de4146aba0a940d
HTTP_HOST ******************
HTTP_KEEP_ALIVE 300
HTTP_REFERER *******************88
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
HTTP_VIA 1.1 Application and Content Networking System Software 5.1.15
HTTP_X_FORWARDED_FOR 41.195.79.149
PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/alan/bin
REMOTE_ADDR 196.30.245.149
REMOTE_PORT 39550
SCRIPT_FILENAME ***********
SERVER_ADDR 196.***********
SERVER_ADMIN adym@iafrica.com
SERVER_NAME *************
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.37 Server at www.hoppy.co.za Port 80</ADDRESS>
SERVER_SOFTWARE Apache
UNIQUE_ID SGO62sQHlBMAARyrK5c
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING action=view_tech
REQUEST_URI /cacti/utilities.php?action=view_tech
SCRIPT_NAME /cacti/utilities.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /cacti/utilities.php?action=view_tech HTTP/1.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding gzip,deflate
Accept-Language en-gb,en;q=0.5
Cache-Control bypass-client=41.195.79.149
Connection Keep-Alive
Cookie Cacti=5fbc1a7658c787cb4de4146aba0a940d
Host www.hoppy.co.za
Keep-Alive 300
Referer ***********************88
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Via 1.1 Application and Content Networking System Software 5.1.15
X-Forwarded-For 41.195.79.149
HTTP Response Headers
X-Powered-By PHP/4.4.4
Expires Thu, 19 Nov 1981 08:52:00 GMT
Last-Modified Thu, 26 Jun 2008 15:50:50 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
iconv
iconv support enabled
iconv implementation libiconv
iconv library version 1.9
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imap
IMAP c-Client Version 2004
SSL Support enabled
mysql
MySQL Support enabled
Active Persistent Links 1
Active Links 1
Client API version 3.23.59-nightly-20050301
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name Cacti PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
snmp
NET-SNMP Support enabled
NET-SNMP Version 5.2.3
sockets
Sockets Support enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_2.0.0
Additional Modules
Module Name
I have re created the graph a number of times still with no data.
can you point me in the right direction to get the data for traffic graphs?
i see in the traffic graphs under Inbound Data Source and Inbound Data Source it show NONE and in the drop down for these it only reflects HDD usage and processes.
Could i be missing some thing?
Technical Support
General Information
Date Thu, 26 Jun 2008 17:50:50 +0200
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 1
Graphs 3
Data Sources Script/Command: 1
Script Query: 1
Total: 2
Poller Information
Interval 300
Type cmd.php
Items Action[1]: 3
Total: 3
Concurrent Processes 20
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:1.3030 Method:cmd.php Processes:20 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:3 RRDsProcessed:2
PHP Information
PHP Version 4.4.4
PHP OS FreeBSD
PHP uname *******************
PHP SNMP Installed
max_execution_time 30
memory_limit 12M
It is highly suggested that you alter you php.ini memory_limit to 16M or higher. This suggested memory value is calculated based on the number of data source present and is only to be used as a suggestion, actual values may vary system to system based on requirements.
MySQL Table Information
Name Rows Engine Collation Check Status
cdef 6 Unknown Unknown OK
cdef_items 16 Unknown Unknown OK
colors 101 Unknown Unknown OK
data_input 12 Unknown Unknown OK
data_input_data 187 Unknown Unknown OK
data_input_fields 46 Unknown Unknown OK
data_local 2 Unknown Unknown OK
data_template 41 Unknown Unknown OK
data_template_data 43 Unknown Unknown OK
data_template_data_rra 172 Unknown Unknown OK
data_template_rrd 61 Unknown Unknown OK
graph_local 3 Unknown Unknown OK
graph_template_input 77 Unknown Unknown OK
graph_template_input_defs 257 Unknown Unknown OK
graph_templates 33 Unknown Unknown OK
graph_templates_gprint 3 Unknown Unknown OK
graph_templates_graph 36 Unknown Unknown OK
graph_templates_item 284 Unknown Unknown OK
graph_tree 1 Unknown Unknown OK
graph_tree_items 0 Unknown Unknown OK
host 1 Unknown Unknown OK
host_graph 2 Unknown Unknown OK
host_snmp_cache 30 Unknown Unknown OK
host_snmp_query 4 Unknown Unknown OK
host_template 7 Unknown Unknown OK
host_template_graph 14 Unknown Unknown OK
host_template_snmp_query 13 Unknown Unknown OK
poller 0 Unknown Unknown OK
poller_command 0 Unknown Unknown OK
poller_item 3 Unknown Unknown OK
poller_output 0 Unknown Unknown OK
poller_reindex 11 Unknown Unknown OK
poller_time 2 Unknown Unknown OK
rra 5 Unknown Unknown OK
rra_cf 12 Unknown Unknown OK
settings 65 Unknown Unknown OK
settings_graphs 0 Unknown Unknown OK
settings_tree 0 Unknown Unknown OK
snmp_query 8 Unknown Unknown OK
snmp_query_graph 19 Unknown Unknown OK
snmp_query_graph_rrd 39 Unknown Unknown OK
snmp_query_graph_rrd_sv 59 Unknown Unknown OK
snmp_query_graph_sv 40 Unknown Unknown OK
user_auth 2 Unknown Unknown OK
user_auth_perms 0 Unknown Unknown OK
user_auth_realm 17 Unknown Unknown OK
user_log 10 Unknown Unknown OK
version 1 Unknown Unknown OK
PHP Module Information
apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache
Apache Release 10337100
Apache API Version 19990320
Hostname:Port *******************
User/Group www(80)/80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr/local
Loaded Modules mod_speedycgi, mod_php4, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core
Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
DOCUMENT_ROOT ***************8
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5
HTTP_CACHE_CONTROL bypass-client=41.195.79.149
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE Cacti=5fbc1a7658c787cb4de4146aba0a940d
HTTP_HOST ******************
HTTP_KEEP_ALIVE 300
HTTP_REFERER *******************88
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
HTTP_VIA 1.1 Application and Content Networking System Software 5.1.15
HTTP_X_FORWARDED_FOR 41.195.79.149
PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/alan/bin
REMOTE_ADDR 196.30.245.149
REMOTE_PORT 39550
SCRIPT_FILENAME ***********
SERVER_ADDR 196.***********
SERVER_ADMIN adym@iafrica.com
SERVER_NAME *************
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.37 Server at www.hoppy.co.za Port 80</ADDRESS>
SERVER_SOFTWARE Apache
UNIQUE_ID SGO62sQHlBMAARyrK5c
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING action=view_tech
REQUEST_URI /cacti/utilities.php?action=view_tech
SCRIPT_NAME /cacti/utilities.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /cacti/utilities.php?action=view_tech HTTP/1.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding gzip,deflate
Accept-Language en-gb,en;q=0.5
Cache-Control bypass-client=41.195.79.149
Connection Keep-Alive
Cookie Cacti=5fbc1a7658c787cb4de4146aba0a940d
Host www.hoppy.co.za
Keep-Alive 300
Referer ***********************88
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Via 1.1 Application and Content Networking System Software 5.1.15
X-Forwarded-For 41.195.79.149
HTTP Response Headers
X-Powered-By PHP/4.4.4
Expires Thu, 19 Nov 1981 08:52:00 GMT
Last-Modified Thu, 26 Jun 2008 15:50:50 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
iconv
iconv support enabled
iconv implementation libiconv
iconv library version 1.9
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imap
IMAP c-Client Version 2004
SSL Support enabled
mysql
MySQL Support enabled
Active Persistent Links 1
Active Links 1
Client API version 3.23.59-nightly-20050301
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name Cacti PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
snmp
NET-SNMP Support enabled
NET-SNMP Version 5.2.3
sockets
Sockets Support enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_2.0.0
Additional Modules
Module Name
well i seem to have a grph showing now, however it has not data.. the log shows the following.
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Time: 0.7835 s, Theads: N/A, Hosts: 1
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: , output: U
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] WARNING: Result from SNMP not valid. Partial Result:
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[37] SNMP: v2: 127.0.0.1, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: 417092491
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[36] SNMP: v2: 127.0.0.1, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: 121757694
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[35] SNMP: v2: 127.0.0.1, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 143201
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Time: 0.7835 s, Theads: N/A, Hosts: 1
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: , output: U
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] WARNING: Result from SNMP not valid. Partial Result:
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[37] SNMP: v2: 127.0.0.1, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: 417092491
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[36] SNMP: v2: 127.0.0.1, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: 121757694
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[35] SNMP: v2: 127.0.0.1, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 143201
snmpget -c ****** -v 2c 127.0.0.1 .1.3.6.1.2.1.2.2.1.5.3
IF-MIB::ifSpeed.3 = Gauge32: 0
if i change the Data Input Method to 'get snmp dat (indexed)
my log does not show anything for
Host[7] DS[42] SNMP:
what elase can i check. my other graphs, hdd, process and CPU show with no problems. its just the standard traffic graphs, that will not work.
can i get a template for 'Interface - Traffic' to replace my current one just incase that s the problem?
cheers hoppy
IF-MIB::ifSpeed.3 = Gauge32: 0
if i change the Data Input Method to 'get snmp dat (indexed)
my log does not show anything for
Host[7] DS[42] SNMP:
what elase can i check. my other graphs, hdd, process and CPU show with no problems. its just the standard traffic graphs, that will not work.
can i get a template for 'Interface - Traffic' to replace my current one just incase that s the problem?
cheers hoppy
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
On a closer look, you will find that the OID is empty on the third line.hoppy wrote:well i seem to have a grph showing now, however it has not data.. the log shows the following.
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Time: 0.7835 s, Theads: N/A, Hosts: 1
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: , output: U
06/27/2008 09:05:02 PM - CMDPHP: Poller[0] Host[7] DS[42] WARNING: Result from SNMP not valid. Partial Result:
Please verify from "System Utilities -> View Poller Cache" when selecting that very host. Either the data source itself or the data template is broken.
Reinhard
ok, i started from scratch. followed all the instructions, re downloaded cacti, created new data base. no i can get traffic graphs...
after setting up the host, i click on create graphs for this host and get the following error:
Data Query [SNMP - Interface Statistics] Reload Associated Query
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
here is the debug.
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Down'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='xl0'] index: 1 [from value]
+ Found item [ifDescr='plip0'] index: 2 [from value]
+ Found item [ifDescr='lo0'] index: 3 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd'] index: 1 [from value]
+ Found item [ifType='para'] index: 2 [from value]
+ Found item [ifType='softwareLoopback'] index: 3 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:10:4B:B9:49:91'] index: 1 [from value]
+ Found item [ifHwAddr=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='196.****'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
back to sq 1
after setting up the host, i click on create graphs for this host and get the following error:
Data Query [SNMP - Interface Statistics] Reload Associated Query
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
here is the debug.
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Down'] index: 2 [from value]
+ Found item [ifOperStatus='Up'] index: 3 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='xl0'] index: 1 [from value]
+ Found item [ifDescr='plip0'] index: 2 [from value]
+ Found item [ifDescr='lo0'] index: 3 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd'] index: 1 [from value]
+ Found item [ifType='para'] index: 2 [from value]
+ Found item [ifType='softwareLoopback'] index: 3 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:10:4B:B9:49:91'] index: 1 [from value]
+ Found item [ifHwAddr=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='196.****'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/web-docs/****/data/cacti/resource/snmp_queries/interface.xml'
back to sq 1
cacti logs
06/28/2008 12:15:01 PM - SYSTEM STATS: Time:1.2029 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
06/28/2008 12:15:00 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
06/28/2008 12:15:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
06/28/2008 12:15:01 PM - SYSTEM STATS: Time:1.2029 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
06/28/2008 12:15:00 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
06/28/2008 12:15:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
added a ping graph to see if that created a rrd file
log showed this
06/28/2008 12:20:02 PM - SYSTEM STATS: Time:1.2746 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Time: 0.2560 s, Theads: N/A, Hosts: 1
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Host[2] DS[9] CMD: perl /web-docs/****/data/cacti/scripts/ping.pl 127.0.0.1, output: U
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from CMD not valid. Partial Result: U
but at least a rrd file was created.
I have a feeling the snmp is not working correctly, but i have no idea how to test or check.
log showed this
06/28/2008 12:20:02 PM - SYSTEM STATS: Time:1.2746 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Time: 0.2560 s, Theads: N/A, Hosts: 1
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Host[2] DS[9] CMD: perl /web-docs/****/data/cacti/scripts/ping.pl 127.0.0.1, output: U
06/28/2008 12:20:01 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from CMD not valid. Partial Result: U
but at least a rrd file was created.
I have a feeling the snmp is not working correctly, but i have no idea how to test or check.
here is my snmp cache logs
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifDescr , Field Value: xl0
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifDescr , Field Value: plip0
OID: .1.3.6.1.2.1.2.2.1.2.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifDescr , Field Value: lo0
OID: .1.3.6.1.2.1.2.2.1.2.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifHwAddr , Field Value: 00:10:4B:B9:49:91
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifHwAddr , Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifHwAddr , Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifIndex , Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifIndex , Field Value: 2
OID: .1.3.6.1.2.1.2.2.1.1.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifIndex , Field Value: 3
OID: .1.3.6.1.2.1.2.2.1.1.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifIP , Field Value: 196.7.148.19
OID: .1.3.6.1.2.1.4.20.1.2.196.7.148.19
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifIP , Field Value: 127.0.0.1
OID: .1.3.6.1.2.1.4.20.1.2.127.0.0.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifOperStatus , Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifOperStatus , Field Value: Down
OID: .1.3.6.1.2.1.2.2.1.8.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifOperStatus , Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifSpeed , Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifSpeed , Field Value: 0
OID: .1.3.6.1.2.1.2.2.1.5.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifSpeed , Field Value: 0
OID: .1.3.6.1.2.1.2.2.1.5.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifType , Field Value: ethernetCsmacd
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifType , Field Value: para
OID: .1.3.6.1.2.1.2.2.1.3.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifType , Field Value: softwareLoopback
OID: .1.3.6.1.2.1.2.2.1.3.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifDescr , Field Value: xl0
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifDescr , Field Value: plip0
OID: .1.3.6.1.2.1.2.2.1.2.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifDescr , Field Value: lo0
OID: .1.3.6.1.2.1.2.2.1.2.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifHwAddr , Field Value: 00:10:4B:B9:49:91
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifHwAddr , Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifHwAddr , Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifIndex , Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifIndex , Field Value: 2
OID: .1.3.6.1.2.1.2.2.1.1.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifIndex , Field Value: 3
OID: .1.3.6.1.2.1.2.2.1.1.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifIP , Field Value: 196.7.148.19
OID: .1.3.6.1.2.1.4.20.1.2.196.7.148.19
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifIP , Field Value: 127.0.0.1
OID: .1.3.6.1.2.1.4.20.1.2.127.0.0.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifOperStatus , Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifOperStatus , Field Value: Down
OID: .1.3.6.1.2.1.2.2.1.8.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifOperStatus , Field Value: Up
OID: .1.3.6.1.2.1.2.2.1.8.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifSpeed , Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifSpeed , Field Value: 0
OID: .1.3.6.1.2.1.2.2.1.5.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifSpeed , Field Value: 0
OID: .1.3.6.1.2.1.2.2.1.5.3
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 1 , Field Name: ifType , Field Value: ethernetCsmacd
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 2 , Field Name: ifType , Field Value: para
OID: .1.3.6.1.2.1.2.2.1.3.2
Host: Crutch , SNMP Query: SNMP - Interface Statistics
Index: 3 , Field Name: ifType , Field Value: softwareLoopback
OID: .1.3.6.1.2.1.2.2.1.3.3
Who is online
Users browsing this forum: No registered users and 3 guests