--> af_ has joined #net-snmp
--> Abracadabra has joined #net-snmp
--> splitbrain has joined #net-snmp
[2008/08/28 02:06:15] #net-snmp <splitbrain> hi, when is a engineid automatically created for a machine?
[2008/08/28 02:06:44] #net-snmp <splitbrain> snmpget -v2c -c public localhost SNMP-FRAMEWORK-MIB::snmpEngineID.0 always returns No Such Object
--> Han has joined #net-snmp
[2008/08/28 03:19:55] #net-snmp <Han> Hi, I have a server here running the latest release of net-snmpd and running snmpwalk I get very slow replies. So I checked the http://www.net-snmp.org/wiki/index.php/FAQ:Applications_04 ...
[2008/08/28 03:20:36] #net-snmp <Han> following that method I should be able to see packetdumps. But I don't! What else can I do to debug this?
--> af_ has joined #net-snmp
--> EvalBMS has joined #net-snmp
--> hardaker has joined #net-snmp
--> darnok has joined #net-snmp
--> SurcouF has joined #net-snmp
[2008/08/28 06:44:31] #net-snmp <rstory> splitbrain: it should always exist.. it's likely that access control is restricting it..
[2008/08/28 06:45:59] #net-snmp <rstory> Han: you can also try adding -d to the snmpwalk command, and get packet dumps on that side..
[2008/08/28 06:46:36] #net-snmp <rstory> but if all objects are slow, then either the machine is really old, overloaded, or the network is causing delays...
[2008/08/28 06:46:47] #net-snmp <rstory> there are a few tables that can be slow, but not everything...
[2008/08/28 07:12:25] #net-snmp <Han> rstory, all objects are slow. The machine is a fat server which is totally bored.
[2008/08/28 07:13:05] #net-snmp <Han> Lets say a second for an object
--> Haris1 has joined #net-snmp
[2008/08/28 07:25:00] #net-snmp <Haris1> Hello people, everyone, folks, all
[2008/08/28 07:25:10] #net-snmp <Haris1> I don't understand how to configure it
[2008/08/28 07:25:18] #net-snmp <Haris1> I'v tried http://forums.cacti.net/about15353.html
--> mike_irc has joined #net-snmp
[2008/08/28 09:22:59] #net-snmp <SurcouF> hardaker, shame on me
[2008/08/28 09:23:07] #net-snmp <hardaker> why?
[2008/08/28 09:23:13] #net-snmp <SurcouF> hardaker, I've forgot AgentXSocket in /etc/snmp/agentx.conf
[2008/08/28 09:23:20] #net-snmp <hardaker> heh.
[2008/08/28 09:23:55] #net-snmp <SurcouF> by commenting this directive, snmpd is listening on /var/run/agentx
[2008/08/28 09:25:42] #net-snmp <rstory> Han: is it fast if you query on localhost?
[2008/08/28 09:27:55] #net-snmp <rstory> Haris1: what's the problem, and can you post your snmpd.conf file to pastebin?
[2008/08/28 09:37:47] #net-snmp <SurcouF> yes
[2008/08/28 09:37:56] #net-snmp <SurcouF> mysql-snmpd.pl works
--> interfaith has joined #net-snmp
[2008/08/28 09:51:41] #net-snmp <interfaith> any clues for error on subcontainer '' insert (-1) <- mib2c via mfd ?
[2008/08/28 09:52:09] #net-snmp <interfaith> perhaps avoid mfd
[2008/08/28 09:58:05] #net-snmp <Haris1> rstory: Ok
[2008/08/28 09:59:53] #net-snmp <rstory> interfaith: is that in an agent module, or one of your own?
[2008/08/28 10:00:12] #net-snmp <rstory> generally that means you've got a duplicate key
[2008/08/28 10:00:44] #net-snmp <interfaith> a module made via mib2c with mfd
[2008/08/28 10:01:30] #net-snmp <interfaith> 1 string and 2 ints.. mfd indexed on the string it seems
[2008/08/28 10:02:10] #net-snmp <rstory> so the table has 3 indexes?
[2008/08/28 10:02:30] #net-snmp <interfaith> the table has 3 columns
[2008/08/28 10:02:48] #net-snmp <interfaith> ReadyPortEntry ::=
[2008/08/28 10:02:48] #net-snmp <interfaith> SEQUENCE {
[2008/08/28 10:02:48] #net-snmp <interfaith> rEADYPort
[2008/08/28 10:02:48] #net-snmp <interfaith> Integer32,
[2008/08/28 10:02:48] #net-snmp <interfaith> rEADYSpeed
[2008/08/28 10:02:49] #net-snmp <interfaith> Integer32,
[2008/08/28 10:02:51] #net-snmp <interfaith> rEADYLink
[2008/08/28 10:02:55] #net-snmp <interfaith> DisplayString
[2008/08/28 10:02:57] #net-snmp <interfaith>
[2008/08/28 10:02:59] #net-snmp <interfaith> }
[2008/08/28 10:03:13] #net-snmp <interfaith> perhaps change the order ?
--> r0nda has joined #net-snmp
[2008/08/28 10:03:18] #net-snmp <r0nda> hello
[2008/08/28 10:03:30] #net-snmp <rstory> well, the index is what's important
[2008/08/28 10:03:40] #net-snmp <rstory> it must be unique
[2008/08/28 10:03:45] #net-snmp <r0nda> where does the incoming taps written to
[2008/08/28 10:04:20] #net-snmp <rstory> r0nda: syslog, most likely. depends on how snmptrapd is set up
[2008/08/28 10:05:02] #net-snmp <r0nda> ok
[2008/08/28 10:06:03] #net-snmp <interfaith> rEADYPortEntry OBJECT-TYPE
[2008/08/28 10:06:03] #net-snmp <interfaith> SYNTAX ReadyPortEntry
[2008/08/28 10:06:03] #net-snmp <interfaith> MAX-ACCESS not-accessible
[2008/08/28 10:06:03] #net-snmp <interfaith> STATUS current
[2008/08/28 10:06:03] #net-snmp <interfaith> DESCRIPTION
[2008/08/28 10:06:03] #net-snmp <interfaith> "A list of information for each port of the ONT."
[2008/08/28 10:06:05] #net-snmp <interfaith> REFERENCE
[2008/08/28 10:06:07] #net-snmp <interfaith> "IEEE 802.1D-1998: clause 14.4.2, 14.6.1"
[2008/08/28 10:06:09] #net-snmp <interfaith> INDEX { rEADYPort }
[2008/08/28 10:06:11] #net-snmp <interfaith> ::= { rEADYPortTable 1 }
[2008/08/28 10:06:13] #net-snmp <interfaith> index is on the Port
[2008/08/28 10:07:10] #net-snmp <interfaith> but the code seems to index on the string
[2008/08/28 10:07:56] #net-snmp <interfaith> the string is not set int the containter 'data'
[2008/08/28 10:11:53] #net-snmp <interfaith> oops so the mib is not right
[2008/08/28 10:13:15] #net-snmp <r0nda> where can i get to see a sample snmptrapd.conf file
[2008/08/28 10:35:40] #net-snmp <rstory> r0nda: generally there is no snmptrapd.conf file, unless you have traphandlers..
[2008/08/28 10:37:07] #net-snmp <interfaith> i can forward my snmptrapd.conf if needed
[2008/08/28 10:37:30] #net-snmp <interfaith> perhaps the mib also
[2008/08/28 10:40:22] #net-snmp <r0nda> interfaith: can you send me your snmptrapd.conf
[2008/08/28 10:40:26] #net-snmp <r0nda> file
[2008/08/28 10:41:00] #net-snmp <interfaith> sure to ?
[2008/08/28 10:45:20] #net-snmp <interfaith> it maybe generated dynamically
[2008/08/28 10:45:41] #net-snmp <r0nda> sorry for keeping you waiting
[2008/08/28 10:45:49] #net-snmp <r0nda> send it to ronda8787@gmail.com
[2008/08/28 10:47:41] #net-snmp <interfaith> yeah dynamic email would be a good thing , ok
[2008/08/28 10:48:56] #net-snmp <r0nda> dynamic email ?
[2008/08/28 10:51:08] #net-snmp <interfaith> i will send it now snmpd.conf , it has info for traps to go out
[2008/08/28 10:56:39] #net-snmp <r0nda> ok thanks
--> Haris has joined #net-snmp
[2008/08/28 12:10:30] #net-snmp <Haris> Hello folks
[2008/08/28 12:10:35] #net-snmp <Haris> rstory: Here's the pate -> http://pastebin.ca/1187741
--> sacitec has joined #net-snmp
[2008/08/28 12:51:14] #net-snmp <sacitec> hello
[2008/08/28 12:52:43] #net-snmp <sacitec> i'm working with Centos 5 + net-snmp-5.3.1 installed via rpm. At the time i start snmptrapd, appears on about 100 times 'registering pdu failed: 263!
[2008/08/28 12:52:58] #net-snmp <sacitec> i've reado about a double initiation of the agent
[2008/08/28 12:54:37] #net-snmp <sacitec> because i set on my snmptrapd.conf the line 'master agentx
[2008/08/28 12:54:54] #net-snmp <sacitec> but, where is the other initiation of the agent ?
[2008/08/28 12:55:44] #net-snmp <rstory> Haris: you've got some duplication in there (e.g. com2sec  sigmalhr) which might be causing some confusion in the agent..
[2008/08/28 12:56:31] #net-snmp <rstory> sacitec: is snmpd running w/agentx enabled?
[2008/08/28 12:57:01] #net-snmp <sacitec> yes it is
[2008/08/28 12:57:43] #net-snmp <sacitec> i'm working with opsview monitoring software, so in his doc indicate that i should enable it
[2008/08/28 12:58:20] #net-snmp <Haris> rstory: I want to keep the sigmalhr one
[2008/08/28 12:58:22] #net-snmp <r0nda> if i uses snmpd should snmpd be running ?
[2008/08/28 12:58:37] #net-snmp <Haris> rstory: It used to give me a full account of everything on the server. Now it gives me very little
[2008/08/28 12:58:43] #net-snmp <Haris> only basic info of the box and that's it
[2008/08/28 12:59:01] #net-snmp <rstory> sacitec: does /var/agentx/master exist?
[2008/08/28 12:59:51] #net-snmp <sacitec> yes it is
[2008/08/28 13:00:16] #net-snmp <rstory> r0nda: I assume you mean "if I use snmptrapd"... no, it's not necessary to run snmpd if you only want to receive traps, and don't care about the notification log mib
[2008/08/28 13:00:52] #net-snmp <sacitec> so, i should erase the 'master agentx' sintax on my snmpd.conf and everything should be fine ?
[2008/08/28 13:01:59] #net-snmp <rstory> sacitec: if you don't have any agentx subagents, then you can disable agentx in snmpd... snmptrapd can act as a subagent, but it isn't required.
[2008/08/28 13:02:16] #net-snmp <r0nda> ok
[2008/08/28 13:02:21] #net-snmp <sacitec> great, i'll try
[2008/08/28 13:02:22] #net-snmp <sacitec> thanks
[2008/08/28 13:02:48] #net-snmp <sacitec> by the way, i added some 3rd party MIBS to my /usr/share/snmp/mibs/
[2008/08/28 13:03:29] #net-snmp <sacitec> but when i run 'snmptrapd' i have a lot of lines like this: http://pastebin.com/md37ad99
[2008/08/28 13:03:50] #net-snmp <sacitec> are they important, or just warnings ?
[2008/08/28 13:06:07] #net-snmp <rstory> warnings.. the mibs are mosly used for displaying strings instead of numeric oids.. so some object might revert to numers.. but all will still work
[2008/08/28 13:07:38] #net-snmp <sacitec> thanks so much for your help
[2008/08/28 13:08:18] #net-snmp <rstory> np
--> david-e_ has joined #net-snmp
--> hardaker has joined #net-snmp
--> robas has joined #net-snmp
--> robas has joined #net-snmp
[2008/08/28 17:00:54] #net-snmp <robas> Hi you =)
[2008/08/28 17:01:18] #net-snmp <robas> anyone here ?
[2008/08/28 17:05:19] #net-snmp <robas> I would be gratefull if anyone can help, it's a simple question: I mib2c a MIB using the old api, now my options are: make a subagent OR make a master agent, right ?
[2008/08/28 17:05:33] #net-snmp <robas> *grateful
[2008/08/28 17:08:32] #net-snmp <robas> In order to compile a subagent I must code the agent's main and a makefile to compile everything, but how can I register this subagent in the master net-snmp agent (snmpd?) ?
[2008/08/28 17:10:18] #net-snmp <robas> Is there any way to build a master agent which already has the MIB II part ?
[2008/08/28 17:10:57] #net-snmp <robas> Well, those are my doubts.. if anyone could clarify that or point me to any documentation/site I would appreciate a lot.
[2008/08/28 17:10:59] #net-snmp <robas> thanks
--> robas has joined #net-snmp
--> robas has joined #net-snmp
[2008/08/28 18:10:49] #net-snmp <robas> I mib2c a MIB using the old api, now my options are: make a subagent OR make a master agent, right ? In order to compile a subagent I must code the agent's main and a makefile to compile everything, but how can I register this subagent in the master net-snmp agent (snmpd?) ? Is there any way to build a master agent which already has the MIB II part ? Well, those are my doubts.. if anyone could clarify that or point me to any documentation/site I would appr
--> johnlau has joined #net-snmp
[2008/08/28 18:40:41] #net-snmp <johnlau> I would like to debug a segfault problem of snmpd, I try to use snmpd -DALL but it create 2G log per second. Is there any debug flag that can trace the snmpd for more information but not that much?
[2008/08/28 18:47:37] #net-snmp <johnlau> I can grep there are many many difficult kind of debug flag, but it seems not very organized...
[2008/08/28 19:36:27] #net-snmp <rstory> johnlau: why not use gdb to catch the sefault and get a stack trace?
[2008/08/28 19:37:26] #net-snmp <rstory> robas: there is a mib2c conf file for building a minimal subagent main.. it registers with the master agent at startup..
[2008/08/28 19:38:04] #net-snmp <rstory> configure options can be used to build a master agent with just mib II and your code, if you wanted to go that route..
[2008/08/28 19:40:04] #net-snmp <johnlau> rstory: I found a -Dsnmp_agent that seems to match my need
--> c_varun has joined #net-snmp
--> clever_ has joined #net-snmp
--> jsafrane has joined #net-snmp
--> snmpbot has joined #net-snmp