Run the poller in debug mode and check that it's correctly putting data into the RRDs :
./poller.php -h <host> -m ports -d
For example, I ran the poller twice and checked the values for the same port :
bps(155kbps/170kbps)bytes(645kB/709kB)pkts(50.5pps/57.4pps)RRD[cmd[update /mnt/ramdisk/observium_dev/alpha.memetic.org/port-2.rrd N:2170514919861:3218207596062:0:0:2996618646:3146176678:0:0:1:0:0:0:0:0:0]
bps(132kbps/201kbps)bytes(499kB/762kB)pkts(69.7pps/75.0pps)RRD[cmd[update /mnt/ramdisk/observium_dev/alpha.memetic.org/port-2.rrd N:2170515431396:3218208376547:0:0:2996620807:3146179005:0:0:1:0:0:0:0:0:0]
You should see the RRD pipe's output under the command :
stdout[OK u:0.00 s:0.00 r:1.58] stderr[]]
Then I can verify that the numbers got to RRD by checking the file :
root@alpha:/home/observium/dev# rrdtool info /mnt/ramdisk/observium_dev/alpha.memetic.org/port-2.rrd filename = "/mnt/ramdisk/observium_dev/alpha.memetic.org/port-2.rrd" rrd_version = "0003" step = 300 last_update = 1394165067 header_size = 14248 ds[INOCTETS].index = 0 ds[INOCTETS].type = "DERIVE" ds[INOCTETS].minimal_heartbeat = 600 ds[INOCTETS].min = 0.0000000000e+00 ds[INOCTETS].max = 1.2500000000e+10 ds[INOCTETS].last_ds = "2170515431396"
You'll probably find we're not getting the correct numbers. I don't remember what the issue was in Steve's case, but I do remember it was nothing to do with us.
adam.
On 2014-03-06 21:16, Jeeves wrote:
Hi all, this same issue is affecting me too, with two Cisco switches. Was there a solution to this?
If I use a MIB Browser, I can see the data throughput on the ports, but Observium shows zero data. The rest of the auto-detections work with CPU usage, port info, changes etc displayed.
I know data is going through these ports but the poller says none.
sample poller.php output (all ethernet ports show 0B/0B and 0pps):
Port VLAN1(1) replacing with 64-bit...VLAN == bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps) Checking alerts
Port FastEthernet0/1(2) replacing with 64-bit...VLAN == 1bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps) Checking alerts
Port FastEthernet0/2(3) replacing with 64-bit...VLAN == 1bps(0bps/0bps)bytes(0B/0B)pkts(0pps/0pps) Checking alerts
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium