[2008/09/02 04:07:11] #net-snmp <merbzt> I fail to add a private enterprise mib to the iod tree, I followed this guide but I couldn't get it to work http://uuu.enseirb.fr/~kadionik/embedded/snmp/english/net-snmp_english.html
[2008/09/02 04:07:28] #net-snmp <merbzt> what is wrong with the mib presented there
[2008/09/02 04:40:30] #net-snmp <merbzt> got it working
[2008/09/02 04:52:07] #net-snmp <SurcouF> do you have some errors messages ?
[2008/09/02 05:10:48] #net-snmp <merbzt> SurcouF: it just wouldn't resolve the iod's
[2008/09/02 05:11:34] #net-snmp <merbzt> when I moved the moib to .snmp/mibs everything started working
--> frostburn has joined #net-snmp
[2008/09/02 05:42:09] #net-snmp <SurcouF> you need to add MIB name to MIBS variable
[2008/09/02 05:42:42] #net-snmp <SurcouF> MIBS=+yourMib snmpcmd ...
[2008/09/02 05:43:46] #net-snmp <merbzt> yeah, that fixed
[2008/09/02 05:44:24] #net-snmp <SurcouF> and you can't resolve you MIB ?
[2008/09/02 05:44:45] #net-snmp <merbzt> I have a iod tree with x amount of strings
[2008/09/02 05:45:21] #net-snmp <merbzt> private.12345.1.[1-n]
[2008/09/02 05:45:35] #net-snmp <merbzt> how do I describe [1-n]
[2008/09/02 05:45:45] #net-snmp <merbzt> adding it to mibs fixed it
[2008/09/02 05:46:27] #net-snmp <merbzt> private.12345.1 is easy to add, as it is a 1-1 mapping but how do I do a 1 to many mapping
[2008/09/02 05:47:17] #net-snmp <SurcouF> is private.12345.1 is a table ?
--> hardaker has joined #net-snmp
[2008/09/02 05:49:38] #net-snmp <SurcouF> hi hardaker
[2008/09/02 05:49:52] #net-snmp <merbzt> well I have registered 12345.1.1 and 12345.1.2 as strings in the code
[2008/09/02 05:50:14] #net-snmp <merbzt> or 12345.1.x will return strings
[2008/09/02 05:50:35] #net-snmp <merbzt> how should the corresponding mib code look like
[2008/09/02 05:51:07] #net-snmp <SurcouF> you want to any 12345.1.x OID will return strings ?
[2008/09/02 05:51:13] #net-snmp <merbzt> yes
[2008/09/02 05:51:22] #net-snmp <SurcouF> is 12345.1.x is an instance of 12345.1 ?
[2008/09/02 05:52:17] #net-snmp <merbzt> well if I want them to be they can be
[2008/09/02 05:52:42] #net-snmp <merbzt> but it is a list of monitored processed in the code
[2008/09/02 05:52:51] #net-snmp <SurcouF> so you need to define a SNMP table
[2008/09/02 05:53:29] #net-snmp <merbzt> ok, how do I do that
[2008/09/02 05:53:59] #net-snmp <SurcouF> take a look with ifTable in IF-MIB as example
[2008/09/02 05:55:35] #net-snmp <SurcouF> http://pastebin.com/d71572d49
[2008/09/02 05:56:05] #net-snmp <SurcouF> syntax of ifTable is sequence of ifEntry
[2008/09/02 05:56:44] #net-snmp <SurcouF> then ifEntry define all columns of the table (ifDescr, ifSpeed, etc.)
[2008/09/02 05:57:07] #net-snmp <SurcouF> one of them is the index of the table
[2008/09/02 05:57:22] #net-snmp <SurcouF> define by ifEntry as INDEX
[2008/09/02 06:02:02] #net-snmp <merbzt> ok, so for processes I have the name,process status and index
[2008/09/02 06:02:19] #net-snmp <merbzt> and I use those 3 parameters to build the table ?
[2008/09/02 06:03:12] #net-snmp <merbzt> and 12345.1.x.1 would be name, 12345.1.x.2 process status ?
[2008/09/02 06:03:37] #net-snmp <SurcouF> as you wish
[2008/09/02 06:03:41] #net-snmp <merbzt> or will it be 12345.1.1.x 12345.1.2.x ?
[2008/09/02 06:03:50] #net-snmp <SurcouF> no
[2008/09/02 06:03:58] #net-snmp <SurcouF> will be 12345.1.1.x and 12345.1.2.x
[2008/09/02 06:04:10] #net-snmp <SurcouF> but you need one OID for entry
[2008/09/02 06:04:28] #net-snmp <SurcouF> 12345.1.1.1.x and 12345.1.1.2.x
[2008/09/02 06:04:42] #net-snmp <SurcouF> 12345 yourMIB
[2008/09/02 06:04:48] #net-snmp <SurcouF> 12345.1 yourTable
[2008/09/02 06:04:53] #net-snmp <SurcouF> 12345.1.1 yourEntry
[2008/09/02 06:05:01] #net-snmp <SurcouF> 12345.1.1.1 yourIndex
[2008/09/02 06:05:07] #net-snmp <SurcouF> 12345.1.1.2 yourName
[2008/09/02 06:05:13] #net-snmp <SurcouF> 12345.1.1.3 yourStatus
[2008/09/02 06:05:18] #net-snmp <SurcouF> 12345.1.1.x yourEtc
[2008/09/02 06:05:53] #net-snmp <merbzt> ok, I get it
[2008/09/02 06:05:56] #net-snmp <SurcouF> each instance will be addressed by adding an index
[2008/09/02 06:06:09] #net-snmp <SurcouF> 12345.1.1.2.1 for first instance
[2008/09/02 06:07:02] #net-snmp <merbzt> thanks for the help
[2008/09/02 06:07:19] #net-snmp <SurcouF> you're welcome
--> darnok has joined #net-snmp
--> RAThomas has joined #net-snmp
--> af_ has joined #net-snmp
[2008/09/02 07:55:25] #net-snmp <RAThomas> SNMP n00b here. Running ./configure and it's asking me to specify the default SNMP version... on my network, I'll have several monitored devices that use LwIP whose SNMP module supports v1 only. Any harm in setting the default to v3?
--> mike_irc has joined #net-snmp
--> mike_irc has joined #net-snmp
--> magfr has joined #net-snmp
--> mike_irc1 has joined #net-snmp
--> mike_irc has joined #net-snmp
--> mike_irc1 has joined #net-snmp
--> mike_irc2 has joined #net-snmp
--> mike_irc3 has joined #net-snmp
--> mike_irc1 has joined #net-snmp
--> mike_irc4 has joined #net-snmp
--> mike_irc has joined #net-snmp
--> mike_irc has joined #net-snmp
--> hardaker has joined #net-snmp
--> sly has joined #net-snmp
[2008/09/02 20:08:57] #net-snmp <sly> where might i find information on secret/hidden/undocumented mibs for various products besides cisco
[2008/09/02 21:59:37] #net-snmp <hardaker> mibdepot?
--> jsafrane has joined #net-snmp
--> A|ysum has joined #net-snmp
[2008/09/02 23:26:24] #net-snmp <A|ysum> hello?
[2008/09/02 23:28:33] #net-snmp <A|ysum> I just wanted to know whether " Warning: no access control information configured." means that any traps from my devices will be totally ignored?
[2008/09/02 23:30:29] #net-snmp <SurcouF> which version of net-snmp have you ?
[2008/09/02 23:30:56] #net-snmp <A|ysum> 5.4.1
[2008/09/02 23:32:36] #net-snmp <SurcouF> since 5.3, snmptrapd must be configured for access control
[2008/09/02 23:32:41] #net-snmp <SurcouF> http://net-snmp.sourceforge.net/docs/man/snmptrapd.conf.html
[2008/09/02 23:33:33] #net-snmp <A|ysum> ta
[2008/09/02 23:34:57] #net-snmp <A|ysum> I have an UPS which I want to configure to process traps in my monitoring program (opsview), is it correct that I must add the mib for the UPS on the net-snmp server?
[2008/09/02 23:39:47] #net-snmp <SurcouF> I don't known how works Opsview but, if you want to be able to translate OID and SNMP TRAP, you must have MIB installed and added to Net-SNMP environnement
[2008/09/02 23:40:35] #net-snmp <SurcouF> (environment variables MIBDIRS and MIBS, or mibdirs and mibs directive into a snmp.conf configuration file)
[2008/09/02 23:40:54] #net-snmp <A|ysum> ok I've added UPS-MIB.txt to /usr/share/snmp/mibs then did $ export MIBS=+UPS-MIB that should do
[2008/09/02 23:42:48] #net-snmp <A|ysum> when I do snmpwalk UPS I assume I should see those mib values but they don't show up
[2008/09/02 23:44:30] #net-snmp <A|ysum> pas facile snmp la premiere fois!
[2008/09/02 23:51:16] #net-snmp <A|ysum> SurcouF: can you help with the mib pls?
--> snmpbot has joined #net-snmp