Data collection stopped today - running build 3060 - was working fine with that for awhile, so not sure what happened. Running poller manually I get the error:
dot3StatsDuplexStatus/usr/bin/snmpbulkwalk -v2c -c public -OQUs -m EtherLike-MIB -M /opt/observium/mibs udp:axis-core-01.axint.net:161 dot3StatsDuplexStatus dot3StatsDuplexStatus = No Such Object available on this agent at this OID
SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '1' AND `ifType` = 'adsl'] /usr/bin/snmpbulkwalk -v2c -c public -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs udp:axis-core-01.axint.net:161 dot1qPortVlanTable dot1qPortVlanTable = No Such Object available on this agent at this OID
/usr/bin/snmpbulkwalk -O QUs -v2c -c public -M /opt/observium/mibs -m Q-BRIDGE-MIB udp:axis-core-01.axint.net:161 dot1qVlanCurrentEgressPorts 2>/dev/null dot1qVlanCurrentEgressPorts = No Such Object available on this agent at this OID
/usr/bin/snmpbulkwalk -v2c -c public -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs udp:axis-core-01.axint.net:161 dot1dBasePortIfIndex dot1dBasePortIfIndex = No Such Object available on this agent at this OID
SQL[SELECT * FROM `ports` WHERE `device_id` = '1'] Port lo(1) PHP Fatal error: Call to a member function get() on a non-object in /opt/observium/includes/polling/ports.inc.php on line 168
Fatal error: Call to a member function get() on a non-object in /opt/observium/includes/polling/ports.inc.php on line 168
Suggestions? Anyone else seeing this?
Oh, this is PHP 5.3.10 and Observium build 3060.
Those errors are snmp complaining it is getting no data from the device. Did anything else change?
On Thu, Apr 19, 2012 at 4:34 PM, Adam Armstrong adama@memetic.org wrote:
Those errors are snmp complaining it is getting no data from the device. Did anything else change?
Only change was to enable memcached. Just looked at that line 168 code in poller.php:
$port['poll_time'] = $memcache->get('port-'.$port['interface_id'].'-poll_time');
So, disable memcache in config.php and polls are working again.
Is memcache not working? I installed and started the memcache daemon and in config.php added:
$config['memcached']['enable'] = TRUE; $config['memcached']['host'] = "localhost"; $config['memcached']['port'] = 11211;
Did I miss something?
Thanks.
Chris
It is experimental. It works for me, but only on one server, I've not tried it elsewhere yet.
Did you install the PHP bindings?
The newer ones.
Adam
On Thu, Apr 19, 2012 at 4:40 PM, Adam Armstrong adama@memetic.org wrote:
It is experimental. It works for me, but only on one server, I've not tried it elsewhere yet.
Did you install the PHP bindings?
The newer ones.
Hmmm....that might be it - checking, don't have php-memcache installed. Heading out of town - will have a look at it again next week.
Thanks
Chris
Php-memcache*d* non-d I'd the old one.
participants (2)
-
Adam Armstrong
-
Chris Stone