|
|
| Author |
Message |
SoftDux
Joined: 19 Jun 2008 Posts: 37 Location: Johannesburg, South Africa
|
Posted: Mon Oct 06, 2008 2:37 am Post subject: Cacti "loosing" data on virtual hosts |
|
|
Hi,
I have a XEN server with 4 XEN VPS's, and have set each VPS's network interface name as vifandr0, vifplut0, vifwise0 & vifkeith0
For some odd reason, it tends to loose on of the interfaces data from time to time.
The one that's just done this is vifwise0 - On the main host, when I run ifconfig, I can see the interface is up:
| Code: | vifwise0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:102771 errors:0 dropped:0 overruns:0 frame:0
TX packets:581620 errors:0 dropped:156 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:29892687 (28.5 MiB) TX bytes:65585542 (62.5 MiB)
|
Then, in Cacti > Devices > localhost > Create Graphs for this Host, I can sometimes see at least 9 entries for vifwise0 (or any other interfaces), with one being up, and the others being down. When I press the green circle to fresh the list, the number of entries are often less, but there's at least 2 that are down, and one that's up. The strange things, is that they all have the same Hardware Address, Name & everything. So, I choose the one that's up, and it start graphing on the new interface, but the old interface doesn't.
So, for this host, I now have 2 inbound & 2 outbound data sources - both with the same name, as can be seen here:
So, why does this happen? |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Mon Oct 06, 2008 6:44 am Post subject: |
|
|
Verbose Query Please. Likely an SNMP issue with XEN. Check for Net-SNMP updates. But start with Verbose Query.
TheWitness |
|
| Back to top |
|
 |
SoftDux
Joined: 19 Jun 2008 Posts: 37 Location: Johannesburg, South Africa
|
Posted: Wed Oct 08, 2008 12:03 am Post subject: |
|
|
Here's the debug info:
| Code: |
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Traffic - wiseguy" \
--rigid \
--base=1000 \
--height=150 \
--width=650 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_in:MAX \
DEF:c="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_out:MAX \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 7.86 MB\n" \
LINE1:c#002A97FF:"Outbound" \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 15.41 MB"
RRDTool Says:
OK
|
And it's stoppped graphing the traffic as well
Here's the debugging info for the other / old interface
| Code: |
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Saturn - Traffic - vifwise0" \
--rigid \
--base=1000 \
--height=150 \
--width=650 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_in:MAX \
DEF:c="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/html/graphs/rra/saturn_traffic_in_58.rrd":traffic_out:MAX \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 7.86 MB\n" \
LINE1:c#002A97FF:"Outbound" \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 15.41 MB"
RRDTool Says:
OK |
|
|
| Back to top |
|
 |
SoftDux
Joined: 19 Jun 2008 Posts: 37 Location: Johannesburg, South Africa
|
Posted: Tue Oct 14, 2008 12:25 am Post subject: |
|
|
| Can someone please help me with this? |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|