Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-15 Thread Paul Stimpson
Hi, I'd like to start by saying Thank you to everyone for your valuable contributions so far :) On 13/09/12 08:44, Vic wrote: My immediate recommendation would be to get hold of snmpb - it's available on sf.net. I know going to a GUI browser is something of a cop-out, but it's made my ilfe

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-15 Thread Paul Stimpson
On 13/09/12 09:56, James Courtier-Dutton wrote: Mibs are hierarchical so all the files should link to the first one. Think of them as leaves on a tree. You might be missing all the RFC mibs. Think of these as the trunk of the tree, and without them you cannot put any leaves on it.

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-15 Thread Paul Stimpson
On 14/09/12 09:12, Chris Smith wrote: If the device doesn't support a particular OID, you will get a meaningful error to that effect. What happens if the device does support an OID but has no meaningful data to pass back is largely implementation dependent, but should at least follow the data

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-14 Thread Chris Smith
On 13/09/2012 08:06, Paul Stimpson wrote: Keith Edmunds k...@midnighthax.com wrote: Are you certain that every UID in the folder exists on the device? The device is a multimedia receiver (primarily a satellite receiver but there are options such as an IP input for decoding streamed media

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-14 Thread Chris Smith
On 13/09/2012 08:23, Paul Stimpson wrote: I'm not finding the snmptranslate man page very easy going. it looks like I need to find out how to indicate to it which file is the first I want it to parse. No, not at all. The purpose of snmptranslate is simply to translate a numeric OID into a

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-14 Thread Chris Smith
On 13/09/2012 13:23, Stephen Davies wrote: Ah, someone facing the same issues as I am. SNMP is as far as I'm concerned a dogs breakfast. If you have multiple Mibs in a file just watchout as the MIB standard allows you to put the trap definitions anywhere in the mib (AFAIK). Thus you could have

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-14 Thread Stephen Davies
Chris, I think you have had a better experience with SNMP than I am currently having. You asked about the 'can of worms' relating to Polling for SNMP Traps. The IPTV devices we are polling sometimes don't even respond within 30 seconds. Nasty. The 5 servers are supposed to respond with the

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-14 Thread Chris Smith
On 14/09/2012 10:57, Stephen Davies wrote: Chris, I think you have had a better experience with SNMP than I am currently having. You asked about the 'can of worms' relating to Polling for SNMP Traps. I don't mean to pick nits, but you don't poll for traps. Traps are sent by the device

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread Chris Smith
On 12/09/2012 20:33, Paul Stimpson wrote: I want to make a list of every OID in the device so I can write a driver. I found the following example command which I thought would list the OIDs If you want to list every object that the device supports, then you can simply use snmpwalk to query

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread Paul Stimpson
Hi Keith, Keith Edmunds k...@midnighthax.com wrote: Are you certain that every UID in the folder exists on the device? The device is a multimedia receiver (primarily a satellite receiver but there are options such as an IP input for decoding streamed media over a network). There are also

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread Paul Stimpson
James Courtier-Dutton james.dut...@gmail.com wrote: I think it would be easier if you posted a tar file of all the mib files somewhere. Unfortunately, these files were obtained from the device manufacturer under my customer's service agreement. I will check but I believe they are

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread Vic
Unfortunately, these files were obtained from the device manufacturer under my customer's service agreement. I will check but I believe they are redistribution-restricted. They are. one of the devices is called an RX1290 so I'm guessing then that the file in the package called rx1290.mib

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread James Courtier-Dutton
On 13 September 2012 08:23, Paul Stimpson p...@stimpsonfamily.co.uk wrote: James Courtier-Dutton james.dut...@gmail.com wrote: I think it would be easier if you posted a tar file of all the mib files somewhere. Unfortunately, these files were obtained from the device manufacturer under

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-13 Thread Stephen Davies
Ah, someone facing the same issues as I am. SNMP is as far as I'm concerned a dogs breakfast. If you have multiple Mibs in a file just watchout as the MIB standard allows you to put the trap definitions anywhere in the mib (AFAIK). Thus you could have no idea about what traps relate to what

[Hampshire] Deciding SNMP MIB files in Linux

2012-09-12 Thread Paul Stimpson
Hi, I'm trying to write some software to remote control some SNMP-driven gear at work. The manufacturer has sent me the MIBs for the gear concerned but instead of one file, there is a whole folder of interdependent MIBs. I want to make a list of every OID in the device so I can write a driver. I

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-12 Thread Keith Edmunds
Are you certain that every UID in the folder exists on the device? -- We're looking for smart Linux people: http://www.tiger-computing.co.uk/jobs -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL:

Re: [Hampshire] Deciding SNMP MIB files in Linux

2012-09-12 Thread James Courtier-Dutton
On Sep 12, 2012 8:33 PM, Paul Stimpson p...@stimpsonfamily.co.uk wrote: Hi, I'm trying to write some software to remote control some SNMP-driven gear at work. The manufacturer has sent me the MIBs for the gear concerned but instead of one file, there is a whole folder of interdependent