Using SNMP to log from an Snom phone

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
colbec
Posts: 1
Joined: Sat Nov 27, 2010 4:44 am

Using SNMP to log from an Snom phone

Post by colbec »

I'm using Opensuse 11.3 with Cacti 0.8.7g successfully to log info from some devices on my local network including some Linksys WRT54GL units. I have also tried connecting to an Snom 360 phone which is documented as SNMP capable (http://wiki.snom.com/Category:HowTo:SNMP). Indeed when I use the Suse CLI with

Code: Select all

snmpget
there is no problem fetching the required data from the device, but Cacti tells me that the phone is down. Interestingly, while

Code: Select all

snmpget
works from the CLI

Code: Select all

snmpwalk
fails.

e.g.
> snmpget -v 1 -c public 192.168.x.xxx 1.3.6.1.2.1.7526.2.6
SNMPv2-SMI::mib-2.7526.2.6 = INTEGER: 1

From the cacti log:

11/27/2010 04:55:04 AM - CMDPHP: Poller[0] Host[4] SNMP: Host did not respond to SNMP
11/27/2010 04:55:04 AM - CMDPHP: Poller[0] Host[4] PING: UDP Ping Success (4.28 ms)
11/27/2010 04:55:04 AM - CMDPHP: Poller[0] WARNING: SNMP GetNext Timeout for Host:'192.168.x.xxx', and OID:'.1.3'

I'm thinking maybe if the standard snmp access from cacti is snmpwalk then maybe if I customize an snmpget routine it might work. Where can I find guidance on this? Anybody logging from an Snom phone successfully with Cacti?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Using SNMP to log from an Snom phone

Post by gandalf »

Indeed, that may pose a question. We are using Get or GetNext, that depends.
To make sure to only use get request, you may write a script. I'
m quite sure, that querying for a single OID won't use getNext.
The error you've show is related to havin downed host detection set to PING/SNMP. Use (UDP)ping only to suppress
R.
Post Reply

Who is online

Users browsing this forum: fpiorek and 7 guests