[2003/05/27 00:54:32] #net-snmp <bje> Shard: gifconfig tun0 destroy (depends on fbsd ver..)
--> guigui has joined #net-snmp
[2003/05/27 01:35:35] #net-snmp <guigui> hello
--> Syska has joined #net-snmp
[2003/05/27 01:36:28] #net-snmp <guigui> anyone today to answer my question ?
[2003/05/27 01:36:37] #net-snmp <Syska> dont think so
[2003/05/27 01:36:47] #net-snmp <Syska> I'm a still noob at SNMP
--> janusz has joined #net-snmp
[2003/05/27 02:16:03] #net-snmp <janusz> hello, i am trying to do a device discovery service, i want to send a broadcast request from a server and all devices/computers should report to the server, that they are online. is it possible to do with SNMP?
--> jpf has joined #net-snmp
[2003/05/27 03:43:47] #net-snmp <jpf> hi folks, for our product I'm wanting to broadcast a trap at start-up to my local subnet.
[2003/05/27 03:44:02] #net-snmp <jpf> that means setting SO_BROADCAST option
[2003/05/27 03:44:22] #net-snmp <jpf> is there a way I can get at the sock number from the app
[2003/05/27 03:44:44] #net-snmp <jpf> couldn't find any examples so just thought I'd ask
[2003/05/27 03:45:01] #net-snmp <jpf> before I go a muck about with the library
--> pera-snmp has joined #net-snmp
[2003/05/27 04:53:25] #net-snmp <pera-snmp> hi! I've got a question (I'm a bit of a newbie at irc and snmp.... :)
[2003/05/27 04:54:35] #net-snmp <pera-snmp> The thing is: is there something like ASN_FLOAT (as there is ASN_INTEGER and ASN_OCTET_STR)?
[2003/05/27 04:57:13] #net-snmp <pera-snmp> sorry also, ASN_BOOLEAN, and where in the documentation I can find it?
--> yashi has joined #net-snmp
[2003/05/27 05:10:03] #net-snmp <janusz> pera-snmp: try include files asn1.h snmp_impl.h
[2003/05/27 05:15:01] #net-snmp <pera-snmp> janusz: Thx!
[2003/05/27 05:17:26] #net-snmp <pera-snmp> janusz: THX!
[2003/05/27 05:27:05] #net-snmp <daork> janusz: you cant have snmp broadcasts, (im not aware of anything like it)
[2003/05/27 05:27:49] #net-snmp <daork> but you can say, send snmp requests to every possible host in your address space
[2003/05/27 05:28:16] #net-snmp <daork> cache which ones return and only request from the others every 15 minutes or so..
[2003/05/27 05:33:00] #net-snmp <janusz> hmm, this is kludge, but it'll work
[2003/05/27 05:40:05] #net-snmp <daork> there are tools like big brother and nagios and so on that may do what you want
[2003/05/27 05:41:42] #net-snmp <janusz> i'll take a look at them, thanks
--> jpf has joined #net-snmp
--> wes has joined #net-snmp
--> miike has joined #net-snmp
--> ccj has joined #net-snmp
--> TrogL has joined #net-snmp
--> guigui has joined #net-snmp
[2003/05/27 10:10:13] #net-snmp <TrogL> grrrr... any idea where I might find the struct definitions for mibcache (from kernel_sunos5.c) ?
[2003/05/27 10:13:26] #net-snmp <rstory> grep is your friend
[2003/05/27 10:14:40] #net-snmp <TrogL> I grepped already, it doesn't seem to be anyplace obvious
[2003/05/27 10:15:16] #net-snmp <rstory> find . -name "*\.[Hh]" -print | xargs grep -n "mibcache"
[2003/05/27 10:15:16] #net-snmp <rstory> ./agent/mibgroup/kernel_sunos5.h:73:typedef struct mibcache {
[2003/05/27 10:15:16] #net-snmp <rstory> ./agent/mibgroup/kernel_sunos5.h:84:} mibcache;
[2003/05/27 10:15:36] #net-snmp <rstory> seems pretty obvious to me! ;-)
[2003/05/27 10:17:15] #net-snmp <TrogL> ok, I was looking in the .c's
[2003/05/27 10:17:36] #net-snmp <wes> ACTION notes to Robert: find . -name '*.[Hh]' -exec grep -n 'mibcache' /dev/null \; does the same thing without requiring xargs. Not that it matters of course.
[2003/05/27 10:20:13] #net-snmp <wes> ACTION likes how M$ word thinks that "security state" should be "Security State"
[2003/05/27 10:22:11] #net-snmp <TrogL> ACTION notes Wes's code doesn't work
[2003/05/27 10:23:00] #net-snmp <TrogL> "incomplete statement"
[2003/05/27 10:23:05] #net-snmp <wes> ?
[2003/05/27 10:23:12] #net-snmp <wes> what code.
[2003/05/27 10:23:17] #net-snmp <wes> I don't write code that doesn't work.
[2003/05/27 10:23:18] #net-snmp <wes> ever
[2003/05/27 10:23:28] #net-snmp <TrogL> nd . -name '*.[Hh]' -exec grep -n 'mibcache' /dev/null\;
[2003/05/27 10:23:32] #net-snmp <wes> ACTION wonders if anyone will see past his lies.
[2003/05/27 10:23:33] #net-snmp <wes> ah.
[2003/05/27 10:23:47] #net-snmp <wes> is there a space before the \;
[2003/05/27 10:23:48] #net-snmp <wes> ?
[2003/05/27 10:24:47] #net-snmp <wes> Oh.
[2003/05/27 10:24:47] #net-snmp <TrogL> works better with the space, but returns no rows
[2003/05/27 10:24:50] #net-snmp <wes> missed the {}
[2003/05/27 10:24:57] #net-snmp <wes> find . -name '*.[Hh]' -exec grep -n 'mibcache' {} /dev/null \;
[2003/05/27 10:25:35] #net-snmp <rstory> doesn't print the file name..
[2003/05/27 10:25:58] #net-snmp <rstory> and adding -print prints *every* filename... thus my use of xargs...
[2003/05/27 10:27:00] #net-snmp <rstory> mine also prints results suitable for clicking in xemacs to open the file and jump to the line #...
[2003/05/27 10:27:08] #net-snmp <rstory> ala compiler warnings
[2003/05/27 10:28:15] #net-snmp <rstory> ahh.. the /dev/null is the trick.. it does print file names.. interesting...
--> guigui has joined #net-snmp
[2003/05/27 10:30:12] #net-snmp <rstory> and adding -H to grep args eliminates the need for /dev/null (possible saving time opening a file).. i'll have to update my script..
[2003/05/27 10:32:53] #net-snmp <wes> the /dev/null trick is actually what emacs uses when you do a grep.
[2003/05/27 10:32:57] #net-snmp <wes> (within emacs that is)
[2003/05/27 10:33:03] #net-snmp <rstory> hmm, never mind.. mine is much faster.. no need to exec grep for *every* file... your version real 0m0.421s, mine real 0m0.020s (both run multiple times, so caching isn't issue)
[2003/05/27 10:33:04] #net-snmp <wes> It auto-adds a /dev/null to ensure a file name.
[2003/05/27 10:33:59] #net-snmp <wes> xargs should be faster for small file systems. try it with /usr/include and it may not work because the argument length will be too long.
[2003/05/27 10:34:31] #net-snmp <wes> oh, I guess -n to xargs would fix that though.
[2003/05/27 10:34:34] #net-snmp <rstory> i do that all the time.. seems to work for me..
[2003/05/27 10:36:01] #net-snmp <TrogL> I just tried Robert's version in /usr/include - worked fine
[2003/05/27 10:36:54] #net-snmp <wes> ah. xargs is smarter than I thought.
[2003/05/27 10:36:59] #net-snmp <wes> It auto-calls stuff multiple timse.
[2003/05/27 10:37:02] #net-snmp <wes> I didn't think it would.
[2003/05/27 10:37:03] #net-snmp <wes> cool.
[2003/05/27 10:37:19] #net-snmp <wes> (you'll find it's actualy calling grep like 5-6 times in /usr/include)
[2003/05/27 10:37:49] #net-snmp <rstory> i believe it.. still faster than *every* file..
[2003/05/27 10:38:30] #net-snmp <TrogL> so we have a winner?
[2003/05/27 10:39:09] #net-snmp <wes> rstory: i agree.
[2003/05/27 10:39:16] #net-snmp <wes> TrogL: yes, Robert wins.
[2003/05/27 10:39:29] #net-snmp <rstory> no, the book robert got it from wins.. ;-)
[2003/05/27 10:40:54] #net-snmp <TrogL> ACTION goes back to tracking down his bug
--> benr has joined #net-snmp
--> tim_ has joined #net-snmp
--> Kickdown has joined #net-snmp
[2003/05/27 12:01:30] #net-snmp <Kickdown> Hello, I have a question about code generated via create-dataset.conf. When a SET arrives for a column in a table, I?d like to retrieve the row this column belongs to. I haven?t managed to do so yet...
[2003/05/27 12:01:38] #net-snmp <Kickdown> everything I tried failed.
[2003/05/27 12:02:05] #net-snmp <rstory> you should set the data pointer in the get_*_data_point routines to your row..
[2003/05/27 12:02:25] #net-snmp <rstory> oops.. wrong handler.. sorry
[2003/05/27 12:04:46] #net-snmp <Kickdown> I thought I could use the netsnmp_extract_table_data_set in the handler (with the *request as argument).
[2003/05/27 12:07:20] #net-snmp <rstory> try "row = netsnmp_extract_table_row(request);".. that's what the helper seems to do.. (see table_dataset.c)
[2003/05/27 12:14:02] #net-snmp <Kickdown> That returns a valid pointer... cool... Must have been blind. I spent days looking through the code.
[2003/05/27 12:16:05] #net-snmp <Kickdown> now, another thing is: how do I retrieve a row that is not part of the request?
[2003/05/27 12:17:56] #net-snmp <Kickdown> given that I know its OID, of course.
[2003/05/27 12:19:05] #net-snmp <wes> Kickdown: there is no current easy way to do that.
[2003/05/27 12:19:15] #net-snmp <wes> you can loop through your data table yourself and search for it though
[2003/05/27 12:23:32] #net-snmp <Kickdown> Hm, I?ve just come across some other problem related to that. I want to delete the row that I have just successfully retrieved. For that, I need to know the table_data_set struct to pass to netsnmp_table_data_remove_and_delete_row. I do that with netsnmp_extract_table_data_set(request). But that returns a null pointer, even though i know that table exists and contains data.
[2003/05/27 12:25:56] #net-snmp <TrogL> ACTION won at bridge
[2003/05/27 12:35:04] #net-snmp <Kickdown> It is especially amazing since I call that second extract_table_data_set one line below extract_table_row...
[2003/05/27 12:35:21] #net-snmp <Kickdown> Why should one fail and the other succeed?
[2003/05/27 12:46:53] #net-snmp <TrogL> robert, I think Sun should be submitting their patches like everybody else so others can have a go at them
[2003/05/27 12:49:26] #net-snmp <Kickdown> One more question: at the end of the initialize_* functions, I save the pointer to the table_data_set struct generated in that function. If I look into that pointer at runtime, it always holds an empty table (first_row alsway NULL pointer), so I cannot walk through the rows in the table. I wouldn?t expect that.
[2003/05/27 12:59:25] #net-snmp <rstory> TrogL: what makes you think it would work any other way?
[2003/05/27 13:00:06] #net-snmp <TrogL> in an earlier email, Sun was asking for direct access to CVS
[2003/05/27 13:01:28] #net-snmp <wes> TrogL: I had a long talk with Sun on the phone with respect to CVS access
[2003/05/27 13:01:43] #net-snmp <rstory> ah.. here's the man in charge...
[2003/05/27 13:01:48] #net-snmp <wes> TrogL: I told them they would be put through the same "process" as everyone else. We wouldn't give it to them just "randomly"
[2003/05/27 13:02:32] #net-snmp <TrogL> sounds good. I just don't want the "Solaris crowd" to get blamed for breaking other platforms
[2003/05/27 13:07:43] #net-snmp <wes> We also had a long discussion surrounding the need for portabalitiy.
[2003/05/27 13:09:21] #net-snmp <TrogL> #define CACHE_MOREDATA 0x001 /*there are unread data outside the cache */
[2003/05/27 13:09:45] #net-snmp <TrogL> cachep->cache_flags &= ~CACHE_MOREDATA;
[2003/05/27 13:09:51] #net-snmp <TrogL> what is it trying to do?
[2003/05/27 13:10:11] #net-snmp <TrogL> cache_flags is an int
[2003/05/27 13:10:36] #net-snmp <TrogL> my C book doesn't cover this
[2003/05/27 13:12:51] #net-snmp <TrogL> (kernel_sunos5.c line 655)
[2003/05/27 13:13:33] #net-snmp <rstory> it's clearing that flag
[2003/05/27 13:14:21] #net-snmp <rstory> your book should cover both the "&=" operator and the "~" operator..
[2003/05/27 13:16:53] #net-snmp <TrogL> OK, then I'm confused.. two lines up it does...
[2003/05/27 13:17:11] #net-snmp <TrogL> cachep->cache_flags |= CACHE_MOREDATA;
[2003/05/27 13:19:18] #net-snmp <TrogL> ok, found it in the book - looking in the wrong spot - but I'm still confused as to why it would do a one's compliment one time and not the other
[2003/05/27 13:21:00] #net-snmp <rstory> the |= is setting the flag, the &= is clearing the flag
[2003/05/27 13:21:35] #net-snmp <rstory> rather, |= FLAG sets it, &= ~ FLAG clears it.
[2003/05/27 13:22:45] #net-snmp <TrogL> ah, ok
[2003/05/27 13:26:32] #net-snmp <TrogL> ACTION digs deeper
[2003/05/27 13:34:00] #net-snmp <TrogL> is there anybody living and/or sane who understands this cache code?
[2003/05/27 13:34:54] #net-snmp <wes> probably. Not here though ;-)
[2003/05/27 13:35:13] #net-snmp <TrogL> ACTION groans
--> Syska has joined #net-snmp
[2003/05/27 15:05:41] #net-snmp <Syska> hey, I want to monitor traffic on my ext_if, but I dont know what OID it has, how do I find that
[2003/05/27 15:06:09] #net-snmp <Syska> I can do snmpwalk, to see my SNMP stuff, but do not know witch one it is
[2003/05/27 15:06:18] #net-snmp <rstory> what kind of device?
[2003/05/27 15:06:31] #net-snmp <Syska> a intel NIC
[2003/05/27 15:06:54] #net-snmp <Syska> fxp0/tun0 since I'm using pppoe
[2003/05/27 15:07:26] #net-snmp <rstory> is it reported if you do a 'snmpwalk localhost iftable'
[2003/05/27 15:08:03] #net-snmp <rstory> specifically, look at ifDescr
[2003/05/27 15:09:23] #net-snmp <Syska> IF-MIB::ifDescr.10
[2003/05/27 15:09:31] #net-snmp <Syska> IF-MIB::ifDescr.10 = STRING: tun0
[2003/05/27 15:10:15] #net-snmp <rstory> ok, then check ifInOctets.10 and ifOutOctets.10
[2003/05/27 15:10:16] #net-snmp <Syska> then what?, I'm pretty new to SNMP
--> miike has joined #net-snmp
[2003/05/27 15:10:44] #net-snmp <Syska> IF-MIB::ifInOctets.10 = Counter32:
[2003/05/27 15:11:14] #net-snmp <rstory> there you go.. those are the oids you want to monitor..
[2003/05/27 15:11:42] #net-snmp <Syska> and that is increasing, so in 5 mins it will be even larger
[2003/05/27 15:12:11] #net-snmp <rstory> yep.. until it wraps back to 0..
[2003/05/27 15:12:18] #net-snmp <Syska> but how do I then translate it to int's like 2.3.5.1.24.4
[2003/05/27 15:12:25] #net-snmp <Syska> hmmm
[2003/05/27 15:12:41] #net-snmp <Syska> I use RRDTOOL to monitor
[2003/05/27 15:12:42] #net-snmp <rstory> snmptranslate -IR ifInOctets.10
[2003/05/27 15:12:51] #net-snmp <Syska> will it know when it wraps??
[2003/05/27 15:12:56] #net-snmp <rstory> it should..
[2003/05/27 15:13:27] #net-snmp <Syska> i sure hope then :-D
[2003/05/27 15:13:42] #net-snmp <Syska> the snmptranslate -IR ifInOctets.10, just gives me IF-MIB::ifInOctets.10
[2003/05/27 15:14:01] #net-snmp <rstory> err...
[2003/05/27 15:14:04] #net-snmp <Syska> should it not be some intergers
[2003/05/27 15:15:20] #net-snmp <Syska> ?
[2003/05/27 15:15:40] #net-snmp <rstory> yep.. hold on..
[2003/05/27 15:16:22] #net-snmp <Syska> i sure will
[2003/05/27 15:16:41] #net-snmp <rstory> add a -On to the parms
[2003/05/27 15:17:41] #net-snmp <Syska> looks right :-D
[2003/05/27 15:17:42] #net-snmp <Syska> .1.3.6.1.2.1.2.2.1.10.10
[2003/05/27 15:19:25] #net-snmp <Syska> then that is the OID to the traffic in, and then it should be easy to find the traffic out
[2003/05/27 15:20:55] #net-snmp <rstory> yep, snmptranslate of ifOutOctets.10...
[2003/05/27 15:22:05] #net-snmp <Syska> now I just need to make the RRD file, and see if it works :-D
[2003/05/27 15:22:09] #net-snmp <rstory> wes: is there a common cmd line arg to not read conf files?I know -C works for the agent, but for regular apps? (since apparently cmd line doesn't override conf)
[2003/05/27 15:26:31] #net-snmp <wes> no there isn't.
[2003/05/27 15:26:39] #net-snmp <wes> however, you can do it via the environment:
[2003/05/27 15:26:51] #net-snmp <wes> env SNMPCONFPATH=/tmp/xxxx PROGRAM
[2003/05/27 15:27:07] #net-snmp <rstory> blech
[2003/05/27 15:27:09] #net-snmp <wes> And --long-form should override the snmpd.conf file.
[2003/05/27 15:27:22] #net-snmp <wes> ie, --token=something should override any token's in the .conf file.
[2003/05/27 15:29:43] #net-snmp <Syska> I have read something about a Strorage monitor thing in net-snmp, but I can't find it any where when I do a snmpwalk
[2003/05/27 15:30:08] #net-snmp <rstory> man snmpd.conf, and read about the disk token.
[2003/05/27 15:30:26] #net-snmp <rstory> also read about the disman-event-mib if you want traps..
[2003/05/27 15:33:06] #net-snmp <Syska> I have added the "disk / 100000" to the snmpd.conf
[2003/05/27 15:33:29] #net-snmp <Syska> and I dont get that load MIB thing
[2003/05/27 15:36:59] #net-snmp <Syska> but I still can't find the hrStorage in snmpwalk, and I dont know how to load the MIB's that are missing
[2003/05/27 15:39:16] #net-snmp <rstory> your agent might not be configure for the host resources mib...
[2003/05/27 15:39:30] #net-snmp <rstory> did you install from source, or rpm?
[2003/05/27 15:40:22] #net-snmp <Syska> source, because it aint in the ports tree in OpenBSD 3.2
[2003/05/27 15:40:55] #net-snmp <rstory> ok, did you have '--with-mib-modules=host' in your configure options?
[2003/05/27 15:41:35] #net-snmp <Syska> nope...
[2003/05/27 15:41:55] #net-snmp <rstory> then you need to go back to square one.. reconfigure and reinstall.
[2003/05/27 15:42:52] #net-snmp <Syska> are there any other good mibs, that should be compiled in??
[2003/05/27 15:43:02] #net-snmp <Syska> now that I have to recompile again
[2003/05/27 15:44:05] #net-snmp <wes> run ./configure --help to get a list of options.
[2003/05/27 15:47:19] #net-snmp <Syska> I just need to know if there are other MIB's that I should compile in
[2003/05/27 15:47:32] #net-snmp <Syska> since that help does not give me a list
[2003/05/27 15:47:45] #net-snmp <Syska> other than I know that I need the host mib
[2003/05/27 15:48:43] #net-snmp <Syska> ups, there was a list longer below
[2003/05/27 16:23:05] #net-snmp <Syska> arghh, when I now try to run "make", after i have run ./configure --with-perl-modules --with-mib-modules=host, it just stops with the following lines of errors
[2003/05/27 16:23:20] #net-snmp <Syska> ucd-snmp/versioninfo.c: In function `var_extensible_version':
[2003/05/27 16:23:20] #net-snmp <Syska> ucd-snmp/versioninfo.c:97: wrong type argument to decrement
[2003/05/27 16:23:20] #net-snmp <Syska> ucd-snmp/versioninfo.c:97: syntax error before `with'
[2003/05/27 16:23:20] #net-snmp <Syska> *** Error code 1
[2003/05/27 16:23:23] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8/agent/mibgroup.
[2003/05/27 16:23:23] #net-snmp <Syska> *** Error code 1
[2003/05/27 16:23:27] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8/agent (line 233 of Makefile).
[2003/05/27 16:23:27] #net-snmp <Syska> *** Error code 1
[2003/05/27 16:23:31] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8 (line 365 of Makefile).
[2003/05/27 16:23:44] #net-snmp <Syska> Whats wrong, I know that ucd-snmp is installed
[2003/05/27 16:24:20] #net-snmp <Syska> Do i have to uninsall the old net-snmp, or can I just install over the old version
[2003/05/27 16:31:44] #net-snmp <rstory> what does line 97 look like?
[2003/05/27 16:41:10] #net-snmp <Syska> How can I see line number in "vi"???
[2003/05/27 16:41:33] #net-snmp <rstory> just type '97G'
[2003/05/27 16:43:00] #net-snmp <Syska> static char config_opts[] = CONFIGURE_OPTIONS;
[2003/05/27 16:43:52] #net-snmp <Syska> can it be something in my ./configure???
[2003/05/27 16:44:44] #net-snmp <rstory> hmm.. look for CONFIGURE_OPTIONS in net-snmp/include/net-snmp/net-snmp-config.h.. what is it set to?
[2003/05/27 16:46:45] #net-snmp <Syska> #define CONFIGURE_OPTIONS "" --with-perl-modules --with-mib-modules=host""
[2003/05/27 16:47:00] #net-snmp <Syska> hmmm, guess the host should be between the " and "
[2003/05/27 16:47:31] #net-snmp <Syska> like
[2003/05/27 16:47:33] #net-snmp <Syska> ./configure --with-perl-modules --with-mib-modules="host"
[2003/05/27 16:47:43] #net-snmp <Syska> or am I wrong?
[2003/05/27 16:48:15] #net-snmp <rstory> actually, i expected something like OPTIONS "\" ... host \""
[2003/05/27 16:49:26] #net-snmp <Syska> hmmm, any ideas what to do??
[2003/05/27 16:49:48] #net-snmp <rstory> well, a short-term fix would be to add those two '\' manually
[2003/05/27 16:50:35] #net-snmp <Syska> in that #define CONFIGURE_OPTIONS "" --with-perl-modules --with-mib-modules=host"" line in the net-snmp-config.h file???
[2003/05/27 16:50:43] #net-snmp <rstory> yep
[2003/05/27 16:51:03] #net-snmp <Syska> but that line seem to me like a comment because of the # at the start of it
[2003/05/27 16:51:19] #net-snmp <rstory> no, not for .h and .c files..
[2003/05/27 16:52:46] #net-snmp <Syska> still same error
[2003/05/27 16:53:01] #net-snmp <Syska> ucd-snmp/versioninfo.c: In function `var_extensible_version':
[2003/05/27 16:53:01] #net-snmp <Syska> ucd-snmp/versioninfo.c:97: wrong type argument to decrement
[2003/05/27 16:53:01] #net-snmp <Syska> ucd-snmp/versioninfo.c:97: syntax error before `with'
[2003/05/27 16:53:01] #net-snmp <Syska> *** Error code 1
[2003/05/27 16:55:05] #net-snmp <rstory> humph. did you 'make distclean' before you ran configure earlier?
[2003/05/27 16:55:27] #net-snmp <rstory> ACTION is grasping at straws
[2003/05/27 16:55:40] #net-snmp <Syska> nope :-(
[2003/05/27 16:55:52] #net-snmp <Syska> now I have
[2003/05/27 16:56:02] #net-snmp <Syska> Shall I then run ./configure again??
[2003/05/27 16:56:13] #net-snmp <rstory> ok, re-run configure.. then check the net-snmp-config.h file again..
[2003/05/27 16:57:13] #net-snmp <Syska> its running now: ./configure --with-perl-modules --with-mib-modules=host
[2003/05/27 16:57:25] #net-snmp <Syska> wait wait zzzZZ for my slow computer
[2003/05/27 16:57:49] #net-snmp <Syska> :-(
[2003/05/27 17:07:58] #net-snmp <Syska> still look likethis in net-snmp-config.h
[2003/05/27 17:08:15] #net-snmp <Syska> #define CONFIGURE_OPTIONS "" --with-perl-modules --with-mib-modules=host""
[2003/05/27 17:10:47] #net-snmp <rstory> hmmm... ok, try changing each "" to a single ", and try compiling..
[2003/05/27 17:11:22] #net-snmp <Syska> u mean run a "make" right?
[2003/05/27 17:11:27] #net-snmp <rstory> yes
[2003/05/27 17:11:35] #net-snmp <Syska> its on the way
[2003/05/27 17:31:16] #net-snmp <Syska> hmm
[2003/05/27 17:31:40] #net-snmp <Syska> seems like it passed, or else the computer are just extremely slow this time
[2003/05/27 17:32:14] #net-snmp <rstory> which version are you compiling, btw?
[2003/05/27 17:32:32] #net-snmp <Syska> newest
[2003/05/27 17:32:38] #net-snmp <rstory> 5.0.8?
[2003/05/27 17:32:48] #net-snmp <Syska> yes
[2003/05/27 17:33:09] #net-snmp <Syska> I hope thats good
[2003/05/27 17:33:20] #net-snmp <Syska> :-D
[2003/05/27 17:34:25] #net-snmp <rstory> yep.. i'm posting a bug report now.. what do you get for 'uname -a'?
[2003/05/27 17:35:17] #net-snmp <Syska> But before when I ./configure with no options there were no problems
[2003/05/27 17:35:40] #net-snmp <Syska> OpenBSD fw.syska.dk 3.2 firewall#0 i386
[2003/05/27 17:36:06] #net-snmp <rstory> yes, because "" "" cancel each other out.. if you had specified any options, it would have broken..
[2003/05/27 17:36:41] #net-snmp <Syska> ohhh, yeahh, I have helped to discover a bug :-)
[2003/05/27 17:39:07] #net-snmp <Syska> arghhh
[2003/05/27 17:39:13] #net-snmp <Syska> another stop thing
[2003/05/27 17:39:27] #net-snmp <Syska> age.c -fPIC -DPIC -o host/.libs/hr_storage.lo
[2003/05/27 17:39:28] #net-snmp <Syska> host/hr_storage.c: In function `var_hrstore':
[2003/05/27 17:39:28] #net-snmp <Syska> host/hr_storage.c:708: structure has no member named `m_clusters'
[2003/05/27 17:39:28] #net-snmp <Syska> host/hr_storage.c:708: structure has no member named `m_clfree'
[2003/05/27 17:39:28] #net-snmp <Syska> *** Error code 1
[2003/05/27 17:39:28] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8/agent/mibgroup.
[2003/05/27 17:39:30] #net-snmp <Syska> *** Error code 1
[2003/05/27 17:39:32] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8/agent (line 233 of Makefile).
[2003/05/27 17:39:34] #net-snmp <Syska> *** Error code 1
[2003/05/27 17:39:36] #net-snmp <Syska> Stop in /root/files/net-snmp-5.0.8 (line 365 of Makefile).
[2003/05/27 17:41:17] #net-snmp <rstory> sigh. i guess nobody has tried building on openbsd lately. :-(
[2003/05/27 17:41:48] #net-snmp <Syska> I guess ur are right
[2003/05/27 17:43:59] #net-snmp <Syska> the line in the middle are line 708
[2003/05/27 17:43:59] #net-snmp <Syska> #elif defined(MBSTAT_SYMBOL)
[2003/05/27 17:43:59] #net-snmp <Syska> long_return = mbstat.m_clusters - mbstat.m_clfree; /* unlikely, but... */
[2003/05/27 17:43:59] #net-snmp <Syska> #elif defined(NO_DUMMY_VALUES)
[2003/05/27 17:44:38] #net-snmp <rstory> umm.. ok, edit net-snmp-config.h again, and find the line with MBSTAT_SYMBOL, and change it it '#undef MBSTAT_SYMBOL' and the try make again..
[2003/05/27 17:46:51] #net-snmp <Syska> there aint no MBSTAT line in net-snmp-config.h
[2003/05/27 17:47:21] #net-snmp <rstory> oh
[2003/05/27 17:48:26] #net-snmp <Syska> are u a developper at SNMP since u know so much, or are ur do u just know alot about SNMP??
[2003/05/27 17:49:02] #net-snmp <rstory> yes, i'm one of the developers for net-snmp.
[2003/05/27 17:49:19] #net-snmp <Syska> coool
[2003/05/27 17:50:18] #net-snmp <rstory> ok, edit net-snmp/agent/mibgroups/host/hr_storage.c
[2003/05/27 17:50:35] #net-snmp <Syska> yes
[2003/05/27 17:50:47] #net-snmp <Syska> and then
[2003/05/27 17:50:58] #net-snmp <rstory> around line 135, under the HRSTORE_MONOTONICALLY_INCREASING line, add "#undef MBSTAT_SYMBOL" and then try make
[2003/05/27 17:52:10] #net-snmp <Syska> on the way....making....
[2003/05/27 17:53:21] #net-snmp <rstory> you lose a few values, but it should compile.
[2003/05/27 17:54:10] #net-snmp <rstory> and now that's two bugs for ya..
[2003/05/27 17:54:19] #net-snmp <Syska> yeahh
[2003/05/27 17:54:30] #net-snmp <Syska> How long time will it take before they are fixed??
[2003/05/27 17:55:34] #net-snmp <rstory> errr... well, when one of the developers who has openbsd installed figures out why they are broke.
[2003/05/27 17:56:36] #net-snmp <rstory> you could try posting to the coders list, to see if there are any other openbsd users out there who might have fixed it themselves.. if they have patches, that would help.
[2003/05/27 17:57:51] #net-snmp <Syska> ohhh
[2003/05/27 17:58:31] #net-snmp <Syska> and then ur will make the patch online and later intergrate it in a new release
[2003/05/27 17:58:41] #net-snmp <rstory> yep..
[2003/05/27 18:13:01] #net-snmp <Syska> weee, finaly
[2003/05/27 18:17:49] #net-snmp <Syska> thanks for the help dude
[2003/05/27 18:18:22] #net-snmp <rstory> np
[2003/05/27 18:18:45] #net-snmp <Syska> what time is it where u live??
[2003/05/27 18:19:18] #net-snmp <rstory> 9pm
[2003/05/27 18:19:55] #net-snmp <Syska> its 03:19AM here :-D
[2003/05/27 18:20:21] #net-snmp <Syska> Australian or so
--> DuxIn4 has joined #net-snmp
[2003/05/27 18:23:29] #net-snmp <rstory> yeah, it's easy to forget the time in front of the computer sometimes..
[2003/05/27 18:23:53] #net-snmp <Syska> hehe, I also have some homework to do...so...
[2003/05/27 18:27:11] #net-snmp <Syska> I can feel the bed is calling at me :-D
[2003/05/27 18:28:18] #net-snmp <Syska> hmmm, when I do snmpwalk -c public localhost I can't see any Storage stuff
[2003/05/27 18:28:49] #net-snmp <Syska> ups, if was there
[2003/05/27 18:28:57] #net-snmp <Syska> I just need the string right...
[2003/05/27 18:30:47] #net-snmp <Syska> aint there a string to see how much Memory the system are using with the use of SNMP
[2003/05/27 18:31:59] #net-snmp <rstory> try snmpwalk localhost memory
[2003/05/27 18:34:36] #net-snmp <Syska> I can see that I am typing all the wrong things
[2003/05/27 18:35:17] #net-snmp <Syska> Aint there are book/program to see all the string in a program, or just so its easier to find the stuff
[2003/05/27 18:35:30] #net-snmp <Syska> hope u know what i mean
[2003/05/27 18:35:41] #net-snmp <rstory> strings file
[2003/05/27 18:36:07] #net-snmp <Syska> ???
[2003/05/27 18:37:02] #net-snmp <rstory> i guess i don't understand the question
[2003/05/27 18:37:42] #net-snmp <Syska> I think its hard to see all the data that you can get from SNMP, are there a easy way
[2003/05/27 18:38:03] #net-snmp <Syska> like a graphic frontend program
[2003/05/27 18:38:52] #net-snmp <rstory> ahh.. try poking around on snmplinks.org (i just use cmd line)
[2003/05/27 18:40:12] #net-snmp <Syska> sure, I will do that
[2003/05/27 18:40:20] #net-snmp <Syska> But now its bed time for me
[2003/05/27 18:40:26] #net-snmp <Syska> and thanks again for the help
[2003/05/27 18:40:30] #net-snmp <rstory> np
[2003/05/27 18:40:33] #net-snmp <Syska> :-D
[2003/05/27 18:40:40] #net-snmp <Syska> cya around
[2003/05/27 18:41:21] #net-snmp <rstory> cya
--> uathome has joined #net-snmp