Hi all:
I created a data input with 9 fields, from the debug log, it seems fine. But while in updating RRD file, there is a strenge fields in log. It should contain 9 values, but in the log, the RRD update 10 values. Any suggestions for this strenge value? The red value should not appear in update script.
Updated:
***Ok, I think the value red is a normal value because ecery script have it. But the graphic seems strange. I set the value type to COUNTER, but from the chart the value grow up to "M" value. I checked the return value is always around 10,000.
03/23/2007 10:36:48 AM - CACTID: Poller[0] Host[71] DS[798] SCRIPT: /usr/local/bin/php -q /usr/local/apache2/htdocs/cacti/scripts/weblogic_ejb_trx_stat2.php localhost:27000 public@cs1, output: ejbSLc:11321 ejbSLr:0 ejbSLf:0 ejbENc:362 ejbENr:0 ejbENf:0 ejbTXc:0 ejbTXr:0 ejbTXf:0
03/23/2007 10:36:49 AM - CACTID: Poller[0] DEBUG: MySQL Insert ID '65': 'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (758,'wls_conn_cur','2007-03-23 10:35:07','1'),(759,'wls_conn_cur','2007-03-23 10:35:07','0'),(760,'wls_conn_cur','2007-03-23 10:35:07','0'),(761,'wls_conn_cur','2007-03-23 10:35:07','0'),(762,'wls_conn_cur','2007-03-23 10:35:07','34'),(763,'wls_conn_cur','2007-03-23 10:35:07','114'),(754,'wls_conn_high','2007-03-23 10:35:07','0'),(756,'wls_conn_high','2007-03-23 10:35:07','0'),(757,'wls_conn_high','2007-03-23 10:35:07','45'),(758,'wls_conn_high','2007-03-23 10:35:07','3'),(759,'wls_conn_high','2007-03-23 10:35:07','1'),(760,'wls_conn_high','2007-03-23 10:35:07','3'),(761,'wls_conn_high','2007-03-23 10:35:07','5'),(762,'wls_conn_high','2007-03-23 10:35:07','34'),(763,'wls_conn_high','2007-03-23 10:35:07','137'),(754,'wls_conn_total','2007-03-23 10:35:07','0'),(756,'wls_conn_total','2007-03-23 10:35:07','0'),(757,'wls_conn_total','2007-03-23 10:35:07','382'),(758,'wls_conn_total','2007-03-23 10:35:07','14'),(759,'wls_conn_total','2007-03-23 10:35:07','7'),(760,'wls_conn_total','2007-03-23 10:35:07','8'),(761,'wls_conn_total','2007-03-23 10:35:07','44'),(762,'wls_conn_total','2007-03-23 10:35:07','249'),(763,'wls_conn_total','2007-03-23 10:35:07','5870'),(798,'','2007-03-23 10:35:07','ejbSLc:11321 ejbSLr:0 ejbSLf:0 ejbENc:362 ejbENr:0 ejbENf:0 ejbTXc:0 ejbTXr:0 ejbTXf:0')'
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbSLc:11321' [map ejbSLc->ejb_slc]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbSLr:0' [map ejbSLr->ejb_slr]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbSLf:0' [map ejbSLf->ejb_slf]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbENc:362' [map ejbENc->ejb_enc]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbENr:0' [map ejbENr->ejb_enr]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbENf:0' [map ejbENf->ejb_enf]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbTXc:0' [map ejbTXc->ejb_txc]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbTXr:0' [map ejbTXr->ejb_txr]
03/23/2007 10:36:50 AM - POLLER: Poller[0] Parsed MULTI output field 'ejbTXf:0' [map ejbTXf->ejb_txf]
03/23/2007 10:36:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache2/htdocs/cacti/rra/online_localhost_cs1_ejb_txf_798.rrd --template ejb_slc:ejb_slr:ejb_slf:ejb_enc:ejb_enr:ejb_enf:ejb_txc:ejb_txr:ejb_txf 11746173070:0:362:0:0:0:0:0
Strange RRD update value
Moderators: Developers, Moderators
Strange RRD update value
- Attachments
-
- ejb TX.jpg (74.65 KiB) Viewed 725 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Re: Strange RRD update value
Hicomidiot wrote:03/23/2007 10:36:50 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/apache2/htdocs/cacti/rra/online_localhost_cs1_ejb_txf_798.rrd --template ejb_slc:ejb_slr:ejb_slf:ejb_enc:ejb_enr:ejb_enf:ejb_txc:ejb_txr:ejb_txf 11746173070:0:362:0:0:0:0:0
1174617307 is a timestamp, when the RRD file was updated.
Here's an example :
Code: Select all
$ date
Fri Mar 23 08:26:33 CET 2007
$ date +%s
1174634805
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 3 guests