Re: missing status & errors from HR table

2005-01-24 Thread Carlos Cantu
> I'm afraid I can't be of much more help with this problem. That's more than enough help. Thanks a bunch. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports.

Re: missing status & errors from HR table

2005-01-20 Thread Carlos Cantu
> Because the hrDeviceTable contains entries for a wide variety > of different types of device, the code for reporting the status > and error count is very device-specific. > So the code will look for a device-specific hook routine, > and if that's not provided for a particular type of device, it

Re: ipRouteDest

2005-01-10 Thread Carlos Cantu
> CC> Could you tell me which version of net-snmp that fix went into? > I think it is in 5.0.x CVS (eg, not in a relased version). It may be > in 5.1.2, but might only be in cvs (for 5.1.3). It is in 5.2. How would I set this OID to ReadOnly in the agent? Thanks, Carlos

Re: ipRouteDest

2005-01-07 Thread Carlos Cantu
> CC> Has anyone seen that doing a set to ipRouteDest.x.x.x.x > CC> crashes the agent? Net-snmp does handle sets to this OID > CC> right? > Yes, that is a known issue. I believe there is a patch in CVS that fixes the > crash. I don't think the set will success, but at least it won't crash. Coul

Re: network-resources-mib.txt

2004-12-17 Thread Carlos Cantu
> Hello All, >I am newbie to the list. I would like to implement NETWORK- >RESOURCES-MIB. Hi -- I'm a regular, I'd like a new digital camera. :-) Is there a question you'd like to ask? --- SF email is sponsored by - The IT Product

Re: How to implement a SNMP agent

2004-12-16 Thread Carlos Cantu
Sounds like you need Dave's unpublished memoirs... :-) - How differnt modules interact. I'm no expert, but I'm guessing it depends whether you are an agentx subagent or built-in to the net-snmp agent. Either way using mib2c should give you the skeleton API code. - which one talks to MIB. Again,

Re: agentx subagent

2004-12-16 Thread Carlos Cantu
Thanks, I'll look into it. Carlos> If using an agentx sub-agent to connect to net-snmp master Carlos> agent, what kind of connection is set up for communication? agentx, by default on unix, uses a named pipe: /var/agentx/master --- SF ema

RE: stability, reliability, profitability?

2004-12-16 Thread Carlos Cantu
I think this nets out to: Is it ready for prime-time = yes. Is it ready for real-time = no. If you're goal is high-availability and maximum up-time, you should go through a vendor that will cater to your needs. If you need an up-do-date SNMP agent that's priced right (free), but not without s

ipRouteDest

2004-12-16 Thread Carlos Cantu
Has anyone seen that doing a set to ipRouteDest.x.x.x.x crashes the agent? Net-snmp does handle sets to this OID right? Thanks for any info. I'll try to be more descriptive as I debug this further. Who knows, the bug might be in my code... So when I said crashes the agent, I should have said m

RE: missing status & errors from HR table

2004-12-07 Thread Carlos Cantu
Oops, forgot to cc the crowd. IBM pSeries 630 running SuSE Linux --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. St

missing status & errors from HR table

2004-12-07 Thread Carlos Cantu
Dump host resources table . . . hrDeviceIndex.768 = 768 hrDeviceIndex.1025 = 1025 hrDeviceIndex.1026 = 1026 hrDeviceIndex.1027 = 1027 hrDeviceIndex.1028 = 1028 hrDeviceIndex.1029 = 1029 hrDeviceIndex.1536 = 1536 hrDeviceIndex.1552 = 1552 hrDeviceIndex.3072 = 3072 hrDeviceType.768 = hrDeviceProc

agentx subagent

2004-12-06 Thread Carlos Cantu
If using an agentx sub-agent to connect to net-snmp master agent, what kind of connection is set up for communication? That is, is the packet structure passed in as part of the agentx api calls or do I need to set up a socket or named pipe for communication. I'm doing a select to know when a pa

Re: WRB - mib2c anomaly.

2004-11-19 Thread Carlos Cantu
I had noticed a lack of DS around -- thought maybe he was on vacation... hee,hee. - Original Message - From: "Robert Story (Users)" <[EMAIL PROTECTED]> To: "Dave Shield" <[EMAIL PROTECTED]> Cc: "NetSNMPUsers" <[EMAIL PROTECTED]> Sent: Friday, November 19, 2004 8:57 AM Subject: Re: WRB

Re: Next Instance Index processing

2004-11-18 Thread Carlos Cantu
> Try adding this to your snmpd.conf file, using the name your module registers > as in place of XXX: >injectHandler debug XXX > Then run with '-Dhelper'. See if the debug output provides any insight. Hey great, I'll give it a shot

Re: Next Instance Index processing

2004-11-18 Thread Carlos Cantu
> What type of handler are you using? Does your handler get called? In: netsnmp_instance_helper_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo,

Re: Next Instance Index processing

2004-11-16 Thread Carlos Cantu
> On Thu, 4 Nov 2004 13:28:50 -0700 Carlos wrote: > CC> Where can I find what the agent thinks the lexicographically next > CC> OID should be? I'm getting a situation where walking the MIB gives: > CC> OIDa.1.1 > CC> OIDa.1.2 > CC> OIDa.1.3 > CC> OIDa.2.1 > CC> << skipping rows 2 & 3 here for the

Next Instance Index processing

2004-11-04 Thread Carlos Cantu
Where can I find what the agent thinks the lexicographically next OID should be? I'm getting a situation where walking the MIB gives: OIDa.1.1 OIDa.1.2 OIDa.1.3 OIDa.2.1 << skipping rows 2 & 3 here for the 2nd device >> OIDb.1.1 OIDb.1.2 . . . Indexing is .x.y where x is hrDeviceIndex and y is t

Re: Slow Access to IP Interfaces Table

2004-10-29 Thread Carlos Cantu
>$ time snmpwalk -Cp -Ct localhost ifTable >Variables found: 110 >Total traversal time = 0.159480 seconds >real0m0.322s Neat command! My time for 'time snmpwalk -Cp $AGENT ifTable' was: real0m0.215s user0m0.050s sys

Re: snmp_open() problem in 5.2.rc1

2004-10-29 Thread Carlos Cantu
> > This smells of library conflicts to me. Make sure you don't have a mix of > > snmp libraries installed in /usr/lib/*snmp* and/or /usr/local/lib/*snmp*. Also, > > try building with static libraries (configure --enable-static > > --disable-shared). > That's a good clue. Thanks. I'm out of th

Re: Is there a standard "I have been rebooted" trap?

2004-10-21 Thread Carlos Cantu
> So I thought how about sending out a trap as part > of the boot sequence so that it would get logged centrally. The question > is what that trap should be and whether there is a "standard" OID etc > that I can use? Sounds like you need a warmStart trap as defined in rfc 1907 or thereabouts.

Re: snmpd logging

2004-10-13 Thread Carlos Cantu
> is it possible to switch off the logging part? I have an embedded pc, with > limited disk space. One time I got to 100% on / on my PC. Once due to SNMP logging and once due to e-mail logging. Both times took a couple months to happen, but still I should eliminate that by the time we ship.

Re: Removing Row From Table

2004-10-11 Thread Carlos Cantu
>netsnmp_extract_table_row( request ) > > The table_data/table_dataset helpers take care of identifying the > row (and column) that is appropriate for a given request, and will > squirrel this information away for you. > You just need to retrieve it. Will look into it. Currently

Removing Row From Table

2004-10-08 Thread Carlos Cantu
I'm using: netsnmp_create_table_data_row() netsnmp_table_dataset_add_row() to add rows into my table. Everything seems to work fine. Now I need to delete a row. How do I do that? I want to use: netsnmp_table_dataset_remove_and_delete_row() It takes two arguments, the 'table' and 'row' st

Fw: table indexing?

2004-10-05 Thread Carlos Cantu
> It doesn't seem to be calling my code on the > Gets which leads me to believe that I'm still not registering > correctly. How can I determine if the net-snmp agent thinks > that prtAlertIndex is a properly registered OID that needs to > be forwarded on to me for processing? NEVERMIND! On my ne

Re: table indexing?

2004-10-05 Thread Carlos Cantu
> Ok, you are right... I just looked at the oids a little closer, > and what you are missing is the prtAlertEntry.. So I think the > root oid you are registering is missing a .1 at the end (or the > length is off by 1). So the numeric oids would be something like: > > prtAlertTable.1.2.1.1 = 1 >

Re: table indexing?

2004-10-05 Thread Carlos Cantu
> Ok, you are right... I just looked at the oids a little closer, and what you > are missing is the prtAlertEntry.. So I think the root oid you are registering > is missing a .1 at the end (or the length is off by 1). So the numeric oids > would be something like: > > prtAlertTable.1.2.1.1 = 1

Re: table indexing?

2004-10-04 Thread Carlos Cantu
> It has nothing to do with code - it has to do with loaded mibs. See the FAQ on > adding mibs to be loaded by the tools. But the Alert Table is just another table in the Printer MIB. And everything else looks just fine as far as the symbolic names go, except for this table. Now I know I'm handl

table indexing?

2004-10-04 Thread Carlos Cantu
Maybe I'm missing something here. The output for a table is: prtAlertTable.2.1.1 = 1 prtAlertTable.3.1.1 = 1 prtAlertTable.4.1.1 = 1 prtAlertTable.5.1.1 = 1 prtAlertTable.6.1.1 = -1 prtAlertTable.7.1.1 = 5 prtAlertTable.8.1.1 = 1 What do I need to do to get the symbolic name output correct? That

Re: mode set

2004-10-04 Thread Carlos Cantu
> CC> > On Fri, 1 Oct 2004 13:50:17 -0600 Carlos wrote: > CC> > CC> So my problem seems to be this. On doing Sets to my box, I'm getting > CC> > CC> the Mode as FREE (4). Looking at the tutorial, it seems this should > CC> > CC> happen if RESERVE1 or RESERVE2 fail. > CC> > CC> > What kind of

Re: mode set

2004-10-03 Thread Carlos Cantu
> On Fri, 1 Oct 2004 13:50:17 -0600 Carlos wrote: > CC> So my problem seems to be this. On doing Sets to my box, I'm getting the > CC> Mode as FREE (4). Looking at the tutorial, it seems this should happen if > CC> RESERVE1 or RESERVE2 fail. Is there a way to skip the reservation part? > No,

RE: mode set

2004-10-01 Thread Carlos Cantu
> #define SNMP_MSG_GET(ASN_CONTEXT | ASN_CONSTRUCTOR | 0x0) = 160 > #define SNMP_MSG_GETNEXT(ASN_CONTEXT | ASN_CONSTRUCTOR | 0x1) = 161 > #define SNMP_MSG_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x2) = 162 > #define SNMP_MSG_SET(ASN_CONTEXT | ASN_CONSTRUCTOR | 0x3) = 163 Ac

RE: mode set

2004-10-01 Thread Carlos Cantu
> Thanks. And for a Get, I seem to get a Mode of 160. Is that correct? I guess this seems right -- sorry to answer my own question. #define SNMP_MSG_GET(ASN_CONTEXT | ASN_CONSTRUCTOR | 0x0) = 160 #define SNMP_MSG_GETNEXT(ASN_CONTEXT | ASN_CONSTRUCTOR | 0x1) = 161 #define SNMP_MSG_RE

RE: mode set

2004-10-01 Thread Carlos Cantu
> MODE_SET_RESERVE1 > MODE_SET_RESERVE > MODE_SET_ACTION > MODE_SET_COMMI > MODE_SET_UNDO > MODE_SET_FREE Thanks. And for a Get, I seem to get a Mode of 160. Is that correct? Carlos --- This SF.net email is sponsored by: IT Product Guide on

mode set

2004-10-01 Thread Carlos Cantu
Where is mode set and what are it's valid values (enum)? typedef struct netsnmp_agent_request_info_s { int mode; Getting 0 on a Set. Doesn't seem right. Running 5.0.8. Carlos --- This SF.net email is sponsored by: I

Re: configure make problems

2004-09-23 Thread Carlos Cantu
> Carlos Cantu wrote: > >>$ agent/snmpd -Dmib_init -I -hr_other,hr_disk -H 2>&1 | grep hr_ > > > > Is mib_init a keyword I need in the options? > No, it's a debug token, of course. But is it correct to say that the two tokens 'mib_init' and &#

Re: configure make problems

2004-09-22 Thread Carlos Cantu
> $ agent/snmpd -Dmib_init -H 2>&1 | grep hr_ > $ agent/snmpd -Dmib_init -I -hr_other,hr_disk -H 2>&1 | grep hr_ Is mib_init a keyword I need in the options? I was doing my call as: snmpd -V -Dagentx -I -hr_other,hr_disk,etc Thanks. --- Thi

Re: configure make problems

2004-09-22 Thread Carlos Cantu
> Instead of configuring them out, disable them at startup: > >snmpd -I -hr_filesys,hr_swinst,hr_proc,hr_partition,hr_print,etc Tried this but still getting MIBs dumped. I don't see anything wrong with the syntax. Perhaps the minus "-" needs to be in front of each of the modules

Re: configure make problems

2004-09-17 Thread Carlos Cantu
> So I tried the following configure: > configure --with-mib-modules="host/hr_device host/hr_disk > host/hr_network host/hr_storage host/hr_system" --with-libwrap Strange. If I change the configure to: configure --with-mib-modules="host/hr_device host/hr_disk host/hr_network h

Re: configure make problems

2004-09-17 Thread Carlos Cantu
> On Sat, 11 Sep 2004 13:49:45 -0600 Carlos wrote: > CC> Trying to configure the agent to not report on so many MIBs. But > CC> I need the HR MIB so I did the following. > CC> > CC> --with-mib-modules="host" --with-out-mib-modules="host/hr_swinst > CC> host/hr_filesys host/hr_proc host/hr_pa

Re: CLI for net-snmp

2004-09-17 Thread Carlos Cantu
> Does anybody know if there is a CLI (command line interface) application > that presents data in a better format than using the snmpget and snmpset > routines for linux? What do you mean by better? How do you need the data represented? ---

configure make problems

2004-09-11 Thread Carlos Cantu
Trying to configure the agent to not report on so many MIBs. But I need the HR MIB so I did the following. --with-mib-modules="host" --with-out-mib-modules="host/hr_swinst host/hr_filesys host/hr_proc host/hr_partition host/hr_print mibII/sysORTable" Configure completes and I don't notic

Re: Problems in creating AgentX subagent

2004-09-03 Thread Carlos Cantu
> So if you run into more problem you > can't solve on your own, you'd better remove the older Net-SNMP version. I'm running into the same problem on my system. My SuSE install comes with 4.2.5 preloaded and the libs are in /usr/lib. My 5.0.8 that I installed manually put the libs in /usr/local

Re: mailing list suggestion

2004-09-02 Thread Carlos Cantu
I demand a recount -- I was turned away at the polls! Just kidding Sent by:[EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:Re: mailing list suggestion OK - I've now tallied the results of the voting regarding automatically adding a "[net-snm

Re: [wastefully] mailing list suggestion

2004-08-28 Thread Carlos Cantu
I think we were told not to clog up the forum with rants. The 2004 to-tag-or-not-to-tag vote will carry forward and lead us fearlessly into the future (be it yes or be it no). Nuff sed. > Things which interrupt the user's thought process for no gain are poor > user interface design. This means

dropped packets

2004-08-24 Thread Carlos Cantu
What's the convention being used out there when a management app wants to make sure no traps are lost? Traps are also UPD packets like regular Gets/Responses, right? Therefore there is always the possiblity that a packet might be lost. Is there such a thing as an SNMP Trap over TCP? Or is there

Re: [wastefully-long-tag-indicating-that-this-is-about-net-snmp-users] mailing list suggestion

2004-08-24 Thread Carlos Cantu
I don't understand the hang-up. Is it that the Subject column of your e-mail browser is not wide enough to show a short tag plus the real subject text? I don't really need the tags myself. The techie network gurus must be doing a good job on spam filtering. But if some people can benefit from a

Re: mailing list suggestion

2004-08-13 Thread Carlos Cantu
Excellent idea, many would benefit from it (I know I would). > Would it be possible to prefix the subject line with an identifier such as [NET SNMP USERS] ? --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic

Registration question

2004-08-06 Thread Carlos Cantu
Is there any way to dynamically check which OIDs I registered with the agent? I don't see any errors registering my hrDevice table, yet only the net-snmp agent hrDevice stuff is showing up, not my local instrumentation. Looks like this might be a long weekend... :-( Thanks for any info. Carlos

Re: MIBs question

2004-08-06 Thread Carlos Cantu
> ./configure --with-mib-modules=host --with-out-mib-modules=host/hr_swinst Can't get configure to succeed with this option. Gives me: hostconfigure: error: module files --with-out-mib-modules=host/hr_swinst.h or --with-out-mib-modules=host/hr_swinst.c could not be found in ./agent/mibgroup

hrDeviceIndex

2004-08-05 Thread Carlos Cantu
Getting an hrDeviceIndex.1280 = 1280 with an hrDeviceType of hrDevicePrinter. I'm guessing this is being generated by the net-snmp agent. But shouldn't there also be an entry in the prtGeneral table subscripted by 1280? And I'm even curious why that entry is there. We are a printer, but I'm han

MIBs question

2004-08-05 Thread Carlos Cantu
Is there any way to make the hrSW table less comprehensive? My last dump of the host resources table had the software OIDs count at over 2000 instances. I know this is a mandatory table, but it makes walking the MIBs harder when we're really only interested in the hrDevice, hrSystem and hrStorag

configure

2004-07-23 Thread Carlos Cantu
had left out that my actual configure flag is --with-libwrap=/usr and the entire line of flags is --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin [EMAIL PROTECTED] '--with-mib-modules=host disman/event-mib' --with-persistent-directory=/var/ucd-snmp --with-sys-location=unknown --with-libwrap

configure

2004-07-23 Thread Carlos Cantu
doing a configure with --with-libwrap getting: checking for tcpd.h... no Asked to use libwrap but couldn't find tcpd.h Help! My tcpd.h is in /usr/include/tcpd.h Thanks. Carlos --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE

Re: init_agent crash

2004-07-21 Thread Carlos Cantu
> I suspect this is something that probably hasn't really been looked > at before. In general, we wouldn't normally call this routine twice. > And even if we did, the second call should return almost immediately > without actually doing anything. > > It would be extremely useful to know *where* t

libwrap

2004-07-20 Thread Carlos Cantu
I see USE_LIBWRAP is defined in ucd-snmp, but undefined in net-snmp. Or at least it's defined in ucd-snmp-config.h, but not in acconfig.h. Could my problem where I crash due to hosts_ctl undefined be caused by using (or pointing to) the wrong .so's? I have a problem where libnetsnmpagent.so give

Re: fd's in select

2004-07-20 Thread Carlos Cantu
> UCD-SNMP version 4.2.6 <=== THIS MAY BE MY PROBLEM!!! NOT POINTING TO > THE RIGHT VERSION OF SNMPD. I'LL TRY >FIGURING WHY THAT IS AND REPORT BACK. pointing to the newer 5.0.8 fixed my problems... thanks for lending a k

Re: fd's in select

2004-07-20 Thread Carlos Cantu
> What does it mean when I don't get many fd's from the snmp_select_info() > call? Lately, the count is not higher than 2, and I cannot process SNMP > requests. I've seen when the count is 3 or 4, I am able to process > requests. Any ideas? Maybe the select is not the problem, looking at the ou

fd's in select

2004-07-19 Thread Carlos Cantu
What does it mean when I don't get many fd's from the snmp_select_info() call? Lately, the count is not higher than 2, and I cannot process SNMP requests. I've seen when the count is 3 or 4, I am able to process requests. Any ideas? I've changed my code back to the way it was when it was workin

Re: libnetsnmpagent

2004-07-15 Thread Carlos Cantu
> "tcpd" might be more relevant - that's a > common name of the tcp_wrapper daemon. > > What files does it include? ("rpm -q -l tcpd") > Can you find a file "libwrap..." on the system at all? > ("locate libwrap") Yes that seems to be it. Somehow in our strange setup, libwrap.a is not being li

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
> It would feel more profitable to try and track down the missing > system call(s). "hosts_ctl" sounds like part of the libwrap > mechanism. I'm not sure if SuSE is the same, but on my RedHat > box, this is provided by the "tcp_wrappers" RPM. Do you have > that installed? Don't know. Did an

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
rpm -e net-snmp-5.0.8-1 gives: : removing these packages would break dependencies: libnetsnmp.so.5 is needed by mod_php4-4.2.2-502 libnetsnmp.so.5 is needed by mod_php4-core-4.2.2-502 Any ideas? I could try -f (force) on uninstall and hope for the best. Thanks, Carlos ---

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
> Is this a library/agent that you've compiled yourself, > or a pre-installed version? It's possible. Yet on this system there should only be one instance of net-snmp. It's a dual-boot machine that boots into two flavors of SuSE. But they shouldn't share any files since they are on their own pa

libnetsnmpagent

2004-07-13 Thread Carlos Cantu
Anyone ever see: relocation error: /usr/lib/libnetsnmpagent.so.5: undefinded symbol: hosts_ctl ? Getting this when doing Gets/Dumps. I can see some OIDs, but eventually get comes back with genErr or noSuchName and the above error. Will try on newer version on net-snmp, but being as I'm und

Re: conf dir

2004-07-13 Thread Carlos Cantu
> snmpd -c /directory/file.conf thanks --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatch

conf dir

2004-07-13 Thread Carlos Cantu
How do you tell snmpd to look for the .conf files in a certain directory? --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical expe

init_agent crash

2004-07-09 Thread Carlos Cantu
Calling init_agent() twice on PPC crashes netsnmp. But not on Intel. Both running 5.0.8. May be more of a timing issue than an architecture issue though. The init_agent() may not be called twice on the PC because we might actually connect the first time through our code. I'll have to investiga

Re: sef fault registering

2004-07-01 Thread Carlos Cantu
> That depends on how much work you want to do. The easiest solution, and the one > I use, it so configure with --disable-shared and built staticly linked apps. > Then it's just a matter of setting your path. Takes up lots more space, but > disks are cheap and it's much easier than dealing confi

Fw: have a better stack trace now

2004-06-30 Thread Carlos Cantu
things worked fine on 5.1pre2 :-( gonna try fixing the cause of why we're going into pthread --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self def

have a better stack trace now

2004-06-30 Thread Carlos Cantu
I'm going to try the new version of netsnmp, but for now, the 5.0.8 stack trace after I do my init_agent("netsnmp") is: (gdb) where #0 0x0fc082b4 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x0fa1d940 in free () from /lib/libc.so.6 #2 0x0ffdac70 in netsnmp_handler_registration_free (r

Re: sef fault registering

2004-06-30 Thread Carlos Cantu
> Not that I'm aware of. Have you tried to get the latest (5.1.2.pre2) to run on > PPC? Even if you can't use it on your product, knowing if the latest code works > could help narrow down the problem scope. I'll give it a shot. I'm guessing there's no way to flip-flop between versions. You ha

Re: sef fault registering

2004-06-28 Thread Carlos Cantu
> I don't think so. Are you saying that an unmodified net-snmp snmpd has > this problem? What PowerPC platform are you on? Which OS? True, net-snmp is unmodified. Both on Intel and on the IBM pSeries 630 running SuSE Linux with 2.4.19 kernel. Don't ask, you'll get the same answer as to why we're

Re: sef fault registering

2004-06-27 Thread Carlos Cantu
> CC> Program received signal SIGSEGV, Segmentation fault. > CC> [Switching to Thread 1024 (LWP 13779)] > CC> __pthread_mutex_lock (mutex=0x410) at mutex.c:99 > CC> 99 mutex.c: No such file or directory. > CC> in mutex.c > CC> Current language: auto; currently c > CC> (gdb) where > CC

seg fault registering

2004-06-25 Thread Carlos Cantu
Maybe a look at how I register would shed some light on the seg fault. Unless it's a simple matter of finding where mutex.c is located. mutex.c looks to be a linux source file. And it's located in /usr/src/linux/fx/xfs_suport/. Does netsnmp use this? If so, do I need something set in my PATH or

sef fault registering

2004-06-24 Thread Carlos Cantu
Anyone see this before? It's kind of hard for me to debug since my call is not in the stack trace. I think I have the MIBs in the right place and my config files set up correctly. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 13779)] __pthread_mutex_lock (mu

make install error

2004-06-24 Thread Carlos Cantu
make[1]: *** No rule to make target `helpers/libnetsnmphelpers.la', needed by `snmpd'. Stop. make[1]: Leaving directory `/pkgs/net-snmp-5.0.8/agent' make: *** [installsubdirs] Error 1 Any ideas? --- This SF.Net email sponsored by Bla

Fw: system include file

2004-06-15 Thread Carlos Cantu
> Reason I ask is because I'm getting 'no such file' for > usr/local/include/net-snmp/system/sysv.h from linux.h. > This comes from including net-snmp-config.h in my > instrumentation. Darn it, this happened because it really wasn't there at the time -- side-effect from moving to a new code tree.

system include file

2004-06-15 Thread Carlos Cantu
How does SYSTEM_INCLUDE_FILE get set in net-snmp-config.h? I mean is this hard-coded or set when running configure before building net-snmp? Reason I ask is because I'm getting 'no such file' for usr/local/include/net-snmp/system/sysv.h from linux.h. This comes from including net-snmp-config.h in

Re: snmpd.conf problem

2004-06-10 Thread Carlos Cantu
> > The [snmpd.conf] file is correctly created at the current directory > > which I was working when I run snmpconf (/root) > > Have you then installed this file to the final destination? > > Typically either '/etc/snmp/snmpd.conf' or '/usr/local/etc/snmp/snmpd.conf' > (depending on how the ag

viewing traps

2004-06-09 Thread Carlos Cantu
If all I want to do is verify that I'm sending out traps, would traphandle be the best tool for the job? Carlos --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Use

Re: Thanks to Dave Shield

2004-06-05 Thread Carlos Cantu
> And yet that part where people ask you not to send > HTML mail goes over your head. No use being a yerk, just give him the link. http://www.uucdigest.com/plaintext.html --- This SF.Net email is sponsored by the new InstallShield X. >From Win

Re: select count

2004-06-03 Thread Carlos Cantu
>RETURN VALUE > On success, select and pselect return the number of descriptors > contained in the descriptor sets, which may be zero if the timeout > expires before anything interesting happens. I do have the man pages installed, it just didn't dawn on me to look there.

Fw: Memory leak in 5.1.1 agentx subagent

2004-06-02 Thread Carlos Cantu
Wolfgang Fritz wrote: > Tommy Christensen wrote: >> Hi Wolfgang >> >> Yeah, memory leaks can be really nasty to track down. >> >> I am running with this patch on top of 5.0.8 - and I don't see >> any more leaks on SET requests! Perhaps it will work for you too, >> or at least provide some usefull

select count

2004-06-02 Thread Carlos Cantu
What does the count mean on the return from select in agent_check_and_process? I'm curious because I'm hitting agent_check_and_process like 3 times when doing a Get of a single OID. One time the count will be 2, then 1, then 4. But only one of those is the actual packet request that requires p

Re: Redirection?

2004-06-02 Thread Carlos Cantu
>Channel 27 is running continuous repeats of Are You Being Served? >Channel 28 is running continuous repeats of Fawlty Towers >Channel 29 is running continuous repeats of Yes Minister >Channel 30 is running "The Best of British Comedy" char aubs[] = "Are You Being Served" char ft[]

Re: HTML in netsnmp posts

2004-06-01 Thread Carlos Cantu
> Nope, it's still there. Try the settings from this page: > >http://helpdesk.rootsweb.com/listadmins/plaintext.html Well now this should do the trick. I even went back to a graphics Letterhead, but you shouldn't see that either since I've set my Internet mail to MIME format. Th

HTML in netsnmp posts

2004-06-01 Thread Carlos Cantu
So I think I figured it out. It's not that I have HTML "turned on" since I could never find where to turn it off. It's that Lotus Notes allows you to choose a Letterhead. And so now I chose a Letterhead that is plain text and no image. Hopefully this fixes the HTML thing. If not, I'm really o

Re: RE: Redirection?

2004-06-01 Thread Carlos Cantu
Let's try a slightly more confusing analogy:  Bill has cable, Dave has satellite, and Bob has an antenna.   Each tunes-in to Are You Being Served?  But:  Bill's on channel 4, Dave's on 57, and Bob's on 17. All get the same data regardless of channel.  You're instru- mentation knows that the OI

Re: Can't Connect AgentX

2004-05-27 Thread Carlos Cantu
> If you are getting that error from the main snmpd, something really weird is > going on. Is it a modified version of snmpd, or the default snmpd? And you say > you are using 5.0.9? It seems something strange *is* going on.  The error message is coming from a default snmpd.   > (Note that we r

Fw: Can't Connect AgentX

2004-05-27 Thread Carlos Cantu
> CC> > Yep, the html is still there. > CC> > CC> How 'bout now? > > Still there.. Hmmm.  The title of the window is "Sending Internet Mail".  The pull-down is named "Internet Mail Format".  And I chose "Plain Text Only".  Can't get much simpler than that.  The only thing I did different here

Fw: How to find snmp.conf

2004-05-27 Thread Carlos Cantu
>   Can any one tell me how snmp.conf can be created. Use the script snmpconf located in your install directory. > Is the creation of this file necessary for the > configuration of the list of parameters that is > available and which can be viewed using 'snmpd -H' Don't think so, that kind of

Re: Can't Connect AgentX

2004-05-26 Thread Carlos Cantu
> Yep, the html is still there. How 'bout now?  For others running L. Notes, the setting is in File-> Preferences->User Preferences, Mail, Internet, Internet Mail Options. Choose Text Only from the drop down. > CC>    netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, > CC>                      

Re: Can't Connect AgentX

2004-05-26 Thread Carlos Cantu
First things first, I know I should send posts to the group.  It was an oversight from just doing a Reply in my e-mail software and not cc'ing the group.  My bad. I'm not sure how you're getting HTML.  I use Lotus Notes for e-mail and I'm not aware that it embeds HTML in my sent e-mail.  I usuall

Re: Can't Connect AgentX

2004-05-26 Thread Carlos Cantu
> What's the command that is giving you this message? > How exactly are you running it? > I'm running   /usr/local/sbin/snmpd -V -Dagentx and my initial setup looks like this   netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,                          NETSNMP_DS_AGENT_ROLE, 1);   init_agen