|
|
| Author |
Message |
gifty
Joined: 17 Jul 2008 Posts: 21
|
Posted: Tue Jul 22, 2008 2:47 pm Post subject: |
|
|
| Is it possible to get speed of a port as maximum value in graph? |
|
| Back to top |
|
 |
shakenfr
Joined: 25 Jul 2008 Posts: 2
|
Posted: Fri Jul 25, 2008 2:07 am Post subject: |
|
|
I have the same problem on 2 platform. Solaris 8 and RedHat 4
RRDTool Command:
/usr/local/rrdtool-1.2.26/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="fepapp-ren-s047 weblogic - |query_executeQueueRuntimeParent| - |query_executeQueueRuntimeObjectName| Weblogic execute queue activity rate" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/users/cacti/cacti-0.8.7b/rra/fepapp-ren-s047_weblogic_idlecount_20.rrd":RequestTotalCount:AVERAGE \
LINE2:a#00A0C1FF:"Requests processed/s" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening '/users/cacti/cacti-0.8.7b/rra/fepapp-ren-s047_weblogic_idlecount_20.rrd': No such file or directory
My too cactis are 0.8.7b, the pollers are not the same but there's the same error.
My cacti under solaris :
Date Fri, 25 Jul 2008 08:46:12 +0200
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 16
Graphs 173
Data Sources Script/Command: 8
SNMP: 241
SNMP Query: 46
Script Query: 1
Script Query - Script Server: 6
Total: 302
Poller Information
Interval 300
Type cmd.php
Items Action[0]: 310
Action[1]: 8
Action[2]: 6
Total: 324
Concurrent Processes 1
Max Threads 20
PHP Servers 1
Script Timeout 25
Max OID 20
Last Run Statistics Time:61.6041 Method:cmd.php Processes:1 Threads:N/A Hosts:17 HostsPerProcess:17 DataSources:324 RRDsProcessed:265
PHP Information
PHP Version 5.2.5
PHP OS SunOS
PHP uname SunOS fepapp-ren-s100 5.8 Generic_108528-18 sun4u
PHP SNMP Not Installed
max_execution_time 30
memory_limit 128M
My cacti under redhat :
Date Fri, 25 Jul 2008 09:06:29 +0200
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 3
Graphs 17
Data Sources Script/Command: 5
SNMP: 9
SNMP Query: 10
Total: 24
Poller Information
Interval 300
Type spine
Items Action[0]: 13
Action[1]: 5
Total: 18
Concurrent Processes 1
Max Threads 10
PHP Servers 1
Script Timeout 120
Max OID 40
Last Run Statistics Time:0.1249 Method:spine Processes:1 Threads:10 Hosts:4 HostsPerProcess:4 DataSources:18 RRDsProcessed:11
PHP Information
PHP Version 5.2.5
PHP OS Linux
PHP uname Linux fepapp-ren-l134 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686
PHP SNMP Not Installed
max_execution_time 30
memory_limit 128M
MySQL Table Information |
|
| Back to top |
|
 |
iggi
Joined: 23 Feb 2008 Posts: 27
|
Posted: Mon Nov 17, 2008 9:46 pm Post subject: |
|
|
Checked by running rrdtool manually using the code below and it will make a graph with nan's (a step I take it!)
/usr/local/rrdtool-1.2.27/bin/rrdtool create \
/usr/local/apache/htdocs/cacti/rra/testsw_traffic_in_118.rrd \
--step 300 \
DS:traffic_in:DERIVE:600:0:100000000 \
DS:traffic_out:DERIVE:600:0:100000000 \
RRA:AVERAGE:0.5:1:500 \
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:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
seems to be an issue with the poller. let me see whats up with it. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Thu Nov 20, 2008 10:28 am Post subject: |
|
|
| gifty wrote: | | Is it possible to get speed of a port as maximum value in graph? | Yes. |query_ifSpeed| will be a valid "upper value", at least with cacti 088. It's already in SVN
Reinhard |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Thu Nov 20, 2008 10:30 am Post subject: |
|
|
All,
this is unfortunately asked quite often. Answer is always the same
1) Please see 2nd link of my sig for debugging
2) in most cases, this turns out to be a problem with "downed host detection" seeing the host as down. Recommended setting for SNMP enabled devices is "SNMP only"
Reinhard |
|
| Back to top |
|
 |
|