--> Lap_64 has joined #net-snmp
--> descentspb_2 has joined #net-snmp
--> hardaker has joined #net-snmp
--> dorferiferon has joined #net-snmp
--> hardaker has joined #net-snmp
--> mike_irc has joined #net-snmp
--> garnica has joined #net-snmp
[2008/11/19 07:44:46] #net-snmp <jsafrane> hardaker: ping
[2008/11/19 07:45:34] #net-snmp <hardaker> pong-ish
[2008/11/19 07:46:32] #net-snmp <jsafrane> hardaker: hi, do you have an opinion about https://sourceforge.net/mailarchive/forum.php?thread_name=49199A0C.7030000%40redhat.com&forum_name=net-snmp-coders ?
[2008/11/19 07:47:48] #net-snmp <hardaker> I can't think of a reason not to do that, but it's ringing a fuzzy memory in my head but I don't know why.
[2008/11/19 07:48:05] #net-snmp <hardaker> I'd go look for the how-to-daemonize document that exists on the net somewhere and see what it suggests.
[2008/11/19 07:48:21] #net-snmp <hardaker> my guess is that it'd say that's the right choice too.
[2008/11/19 07:56:31] #net-snmp <jsafrane> hardaker: do you mean http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html ?
[2008/11/19 07:57:18] #net-snmp <hardaker> something like that. I think there is a more generic older one (ie, not targeted to linux) but yeah.
[2008/11/19 07:57:24] #net-snmp <hardaker> wish i still had a reference to it.
[2008/11/19 08:02:20] #net-snmp <jsafrane> i'll try to google something better
[2008/11/19 09:28:09] #net-snmp <rstory> are you thinking of the section in Stevens' networking book?
[2008/11/19 09:29:41] #net-snmp <rstory> anyhoo, the two issues that pop into my mind are the daemonize code closing file descriptors, and the murky details of file descriptor inheritance.
[2008/11/19 09:29:52] #net-snmp <rstory> oh.. i guess i'm talking to myself...
--> maticue has joined #net-snmp
[2008/11/19 10:45:47] #net-snmp <fenestro> Advanced Programming In the Unix Environment (Stevens/Rago) is where I would go for that
--> hardaker has joined #net-snmp
[2008/11/19 11:12:43] #net-snmp <maticue> hi! where can i find the MIBFILES enviroment variable
[2008/11/19 11:12:44] #net-snmp <maticue> ?
[2008/11/19 11:38:37] #net-snmp <maticue> hello, are anybody here?
[2008/11/19 12:00:47] #net-snmp <maticue> what is the difference between a mib file and a mib module
[2008/11/19 12:00:48] #net-snmp <maticue> ?
[2008/11/19 12:12:42] #net-snmp <maticue> when i use snmpwalk -n /path/to/a/module, its works! but when I write the "mibs" option into the /etc/snmp/snmp.conf file tell it /path/to/a/module and restart the deamon... and try again a snmpwalk without -m option... it doesn't work... why can be that?
[2008/11/19 12:28:57] #net-snmp <rstory> maticue: you can set MIBFILES in your shell startup (e.g. .bashrc)
[2008/11/19 12:29:29] #net-snmp <rstory> generally, you want to set 'mibs' in snmp.conf using module names..
[2008/11/19 12:29:57] #net-snmp <maticue> rstory, but, I think that if I put it in /etc/snmp/snmp.conf, shuould work...
[2008/11/19 12:29:59] #net-snmp <rstory> I generally just use 'mibs ALL' and let it read everything in the mibdirs
[2008/11/19 12:30:20] #net-snmp <rstory> it's not expecting a path... use the module name...
[2008/11/19 12:30:53] #net-snmp <rstory> if you don't want to use ALL, then just add the ones you want.. e.g. "mibs +MY-MIB-MODULE"
[2008/11/19 12:34:05] #net-snmp <maticue> but MY-MIB-MODULE should be in /usr/share/mibs/, isn't it?
[2008/11/19 12:35:52] #net-snmp <maticue> i wrote in /etc/snmp/snmpd.conf -> mibs ALL but, it doesn't work :(
[2008/11/19 12:36:21] #net-snmp <maticue> oook.. is it /etc/snmp/snmpd.conf or /etc/snmp/snmp.con???
[2008/11/19 12:36:32] #net-snmp <rstory> default is /usr/local/share/snmp/mibs, but some distros change it..
[2008/11/19 12:37:09] #net-snmp <maticue> rstory, ... i put mibs option in to /etc/snmp/snmpd.conf... is it ok?
[2008/11/19 12:37:53] #net-snmp <rstory> if that's the file your distro uses.. you might try putting some garbage in there and making sure the commands spit out an error..
[2008/11/19 12:38:35] #net-snmp <maticue> yessss!!! that was!!!
[2008/11/19 12:38:55] #net-snmp <maticue> i was putting the option in /etc/snmpd.conf... and it should be in /etc/snmp.conf
[2008/11/19 12:39:01] #net-snmp <maticue> wel... i'm so sorry
[2008/11/19 12:39:20] #net-snmp <maticue> i work better in the morning..
[2008/11/19 12:42:29] #net-snmp <maticue> do you know if mrtg uses mibs' net-snmp?
[2008/11/19 12:42:32] #net-snmp <rstory> heh
[2008/11/19 12:43:29] #net-snmp <rstory> generally mrtg works with raw oids..
[2008/11/19 12:43:37] #net-snmp <rstory> not sure if/how it does mib parsing..
[2008/11/19 12:48:10] #net-snmp <maticue> mmm, mrtg has an option named: LoadMIBS and you tell it the same .mib that snmpd uses
[2008/11/19 12:55:16] #net-snmp <maticue> well rstory thanks for your help
[2008/11/19 12:55:34] #net-snmp <maticue> i will try tomorrow again... but, snmpwalk works! :D
[2008/11/19 12:55:35] #net-snmp <maticue> bye!!
--> hardaker has joined #net-snmp
--> dorferiferon has joined #net-snmp
--> hardaker has joined #net-snmp
--> hardaker has joined #net-snmp
--> varun has joined #net-snmp
--> jsafrane has joined #net-snmp
--> af_ has joined #net-snmp
--> snmpbot has joined #net-snmp