SNMP Get Timeout for Host (snmpwalk works on same host)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
b0rZ
Posts: 1
Joined: Thu Aug 27, 2015 8:00 am

SNMP Get Timeout for Host (snmpwalk works on same host)

Post by b0rZ »

Hi Guys,

Please help me out! :)
I'm having trouble with cacti. Somehow it does not get any answer from snmp.
snmpwalk works fine on the same host and it's also perfectly collects data from my openwrt based router in the same network..

Cacti devices page says

Code: Select all

SNMP Information
SNMP error
Cacti log:

Code: Select all

08/27/2015 03:11:03 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.3.0'
08/27/2015 03:10:39 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.1.0'
The same query works fine from console with snmpwalk:

Code: Select all

root@rpi2:~# snmpwalk -v2c -c cacti localhost .1.3.6.1.2.1.1.1.0
iso.3.6.1.2.1.1.1.0 = STRING: "Linux rpi2 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l"
root@rpi2:~# snmpwalk -v2c -c cacti localhost .1.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0 = Timeticks: (306989) 0:51:09.89
snmpd.conf:

Code: Select all

rocommunity cacti localhost
Here's some data from the device:

Code: Select all

General Information
Date	Thu, 27 Aug 2015 15:05:55 +0200
Cacti Version	0.8.8f
Cacti OS	unix
SNMP Version	NET-SNMP version: 5.7.2.1
RRDTool Version	RRDTool 1.4.x
Hosts	2
Graphs	6
Data Sources	Script/Command: 1
SNMP Query: 5
Total: 6
Poller Information
Interval	60
Type	cmd.php
Items	Action[0]: 10
Action[1]: 1
Total: 11
Concurrent Processes	1
Max Threads	1
PHP Servers	1
Script Timeout	25
Max OID	10
Last Run Statistics	Time:1.5083 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:11 RRDsProcessed:4
PHP Information
PHP Version	5.6.9-0+deb8u1
PHP OS	Linux
PHP uname	Linux rpi2 4.1.6-v7+ #810 SMP PREEMPT Tue Aug 18 15:32:12 BST 2015 armv7l
PHP SNMP	Installed
max_execution_time	30
memory_limit	128M
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest