Net SNMP Transport Domains

2004-10-06 Thread Lejanson C. Go
Hello,
I am new to this mailing list. I am currently investigating
on how to use the NET-SNMP API for my application. I am just
stuck up on something I cannot understand fully well.
My application has its own Transport Layers. How will I integrate
my Transport Layers with the NET-SNMP so the transport that the
application will use is my Tranport Layer.
I have my own RECV and WRITE functions from my Transport and I
guess I wont be able to use the NET-SNMP transport API.
Do I need to register my transport domain? How? If you have examples
to share, it will be greatly appreciated.
The application I am making is configured as a SUB AGENT.
Anything you can share is a great help for me.
Thanks a lot.
Lejanson
--
Revenge is best served when cold.

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Snmptrapd help

2004-10-06 Thread Dave Shield
> I tried both methods. Then I started the trap daemon
> and administratively shut down an interface. But my
> program still doesnt get called up.

But are you sure that the trap daemon is actually
*receiving* a 'linkDown' trap?   The Net-SNMP agent
doesn't normally generate such things.
(See the FAQ entry "What traps are sent by the agent?")



> Further, the only location of snmptrapd.conf is under
> the /var/net-snmp subdirectory. Should I copy this
> file to another location?

No - you should create a (new) file 'snmptrapd.conf'
in the appropriate location - probably /usr/local/etc/
or /usr/local/lib/snmp
  Wherever you put your 'snmpd.conf' settings, that's
the place to create 'snmptrapd.conf' as well.


> The thing I dont understand is, a couple of months back,
> this was working perfectly fine. Why do I encounter these
> errors all of a sudden?

No idea - sorry.

Dave



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problem to send trap

2004-10-06 Thread Dave Shield

> I would like to send trap to NNM when the number of processes
> (e.g.ssh) is more  than 3,
> 
> my snmpd.conf: proc ssh 3
>trapsink ip_address
> 
> but it doesn't send.
> When I stop snmpd I have in logfile this:
> snmpd: send_trap: Failure in sendto (Invalid argument).
> I don't know if these problems are related.

Sounds likely.
The first thing is to make sure that your agent can generate
traps at all.   When you start the agent up, does NNM receive
a 'coldStart' trap?


Try starting the agent using

snmpd -f -Le -d

What do you see?

Dave



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net SNMP Transport Domains

2004-10-06 Thread Dave Shield

> My application has its own Transport Layers. How will I integrate
> my Transport Layers with the NET-SNMP so the transport that the
> application will use is my Tranport Layer.

You'll probably need to write wrapper routines round your transport
layer, to match the Net-SNMP transport API.   There are about half
a dozen routines that are needed - use one of the existing transports
as a template.


> Do I need to register my transport domain? How? If you have examples
> to share, it will be greatly appreciated.

Yes - you will.
Have a look at
'snmplib/snmpTCPDomain.c:netsnmp_tcp_ctor()'
for an example of how this might be done.


Dave



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Snmptrapd help

2004-10-06 Thread Thomas Anders
prashanth raghavan wrote:
Further, the only location of snmptrapd.conf is under
the /var/net-snmp subdirectory. Should I copy this
file to another location? 
Uh, definitely. This is the persistent file that's not meant
to hold "traphandle" directives (as that file clearly says:
don't edit it).
Run your snmptrapd with "-Dread_config" to see where it looks for
config files, then copy your snmptrapd.conf to one of those locations.
Or set SNMPCONFPATH. Or use "-c". Or^H^H Start reading documentation.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Net SNMP Transport Domains

2004-10-06 Thread Kurapati M-G19456
Is IPSec supported by NET-SNMP? 

Mahesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Wednesday, October 06, 2004 2:04 PM
To: Lejanson C. Go
Cc: [EMAIL PROTECTED]
Subject: Re: Net SNMP Transport Domains 



> My application has its own Transport Layers. How will I integrate my 
> Transport Layers with the NET-SNMP so the transport that the 
> application will use is my Tranport Layer.

You'll probably need to write wrapper routines round your transport
layer, to match the Net-SNMP transport API.   There are about half
a dozen routines that are needed - use one of the existing transports as a template.


> Do I need to register my transport domain? How? If you have examples 
> to share, it will be greatly appreciated.

Yes - you will.
Have a look at
'snmplib/snmpTCPDomain.c:netsnmp_tcp_ctor()'
for an example of how this might be done.


Dave



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT 
products in your business? Tell us what you think of them. Give us Your Opinions, Get 
Free ThinkGeek Gift Certificates! Click to find out more 
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list [EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options: 
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net SNMP Transport Domains

2004-10-06 Thread Lejanson C. Go
Thanks a lot for the help Dave.
Dave Shield wrote:
My application has its own Transport Layers. How will I integrate
my Transport Layers with the NET-SNMP so the transport that the
application will use is my Tranport Layer.

You'll probably need to write wrapper routines round your transport
layer, to match the Net-SNMP transport API.   There are about half
a dozen routines that are needed - use one of the existing transports
as a template.
I guess the best way is to use the transport of NET-SNMP.. alittle
less difficult I guess.
I got a little source code here. Is it the correct way to initialize?
--snip--
void snmpd_init_netsnmp()
{
  snmp_enable_stderrlog();
  if (agentx_subagent)
  {
netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,
   NETSNMP_DS_AGENT_ROLE,
   1);
  }
  init_agent("my_snmpd");
  init_mib_modules();
  /*
   * Initialize transport domain here
   */
  snmpd_init_mydomain_tdomain();
  init_snmp("my_snmpd");
  if (!agentx_subagent)
  {
init_master_agent();
  }
  /* oh, yeah?!
  while (1)
  {
agent_check_and_process(1);
  }
  */
  OS_PRINTF("Done.\n\n");
}
--snip--
Is it okay to register the transport domain before the init_snmp()
function call?


Do I need to register my transport domain? How? If you have examples
to share, it will be greatly appreciated.

Yes - you will.
Have a look at
'snmplib/snmpTCPDomain.c:netsnmp_tcp_ctor()'
for an example of how this might be done.
Dave

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

--
Revenge is best served when cold.

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net SNMP Transport Domains

2004-10-06 Thread Dave Shield

> Is it okay to register the transport domain before the init_snmp()
> function call?

Ummm...
John's the expert on this stuff, but I've just had a quick look at the
code, and I can't see why not.   There doesn't seem to be any explicit
initialisation of the overall transport domain registry - it's just a
linked list with an empty head (initialised statically).

  So it *should* be safe to insert your transport before initialising
the library as a whole.  Suck it and see.

But it might be safer to initialise the library first - just in case
the internal implementation changes.

Try it both ways - see what works  :-)

Dave



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Problems : receiving trap twice

2004-10-06 Thread Patrice Bentolila
Hello everyone,
I receive twice trap per notification.
Here is the list of snmpd.conf trap & access statements:
"...
rocommunity  public 192.9.200.0/24
rwcommunity  private 192.9.200.67
trap2sink 192.9.200.67 private 162
authtrapenable 1
..."
I receive 2 instances of every trap in my NNM alarm Browser.
I also receive 2 instances when trap receiver is MG-Soft Mib Browser.
Does anyone know the reason?

I've got a second question: 
In NNM, I also receive a trap with OID .1.3.6.1.4.1.8072.4, generic 6,
specific 2 norifying "no format in trapd.conf".
Is it relevant to trap sending support, if I don't want to receive trap
On the sending machine?

Best Regards.
Patrice.




---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Snmptrapd help

2004-10-06 Thread bird
I can't see anything, but when I stop the agent I can see in NNM received 
event type .1.3.6.1.4.1.8072.4.0.2
> > I tried both methods. Then I started the trap daemon
> > and administratively shut down an interface. But my
> > program still doesnt get called up.
>
> But are you sure that the trap daemon is actually
> *receiving* a 'linkDown' trap?   The Net-SNMP agent
> doesn't normally generate such things.
> (See the FAQ entry "What traps are sent by the agent?")
>
> > Further, the only location of snmptrapd.conf is under
> > the /var/net-snmp subdirectory. Should I copy this
> > file to another location?
>
> No - you should create a (new) file 'snmptrapd.conf'
> in the appropriate location - probably /usr/local/etc/
> or /usr/local/lib/snmp
>   Wherever you put your 'snmpd.conf' settings, that's
> the place to create 'snmptrapd.conf' as well.
>
> > The thing I dont understand is, a couple of months back,
> > this was working perfectly fine. Why do I encounter these
> > errors all of a sudden?
>
> No idea - sorry.
>
> Dave
>
>
>
> ---
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> ___
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Snmptrapd help

2004-10-06 Thread Dave Shield
> I can't see anything, but when I stop the agent I can see in NNM
> received event type .1.3.6.1.4.1.8072.4.0.2

That sounds as if it's NNM which is receiving the traps, not snmptrapd.
In which case, it's not surprising that snmptrapd isn't actually
doing anything!

Dave




---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I'm sorry for missing informations
OS: Slackware 10.0 i686 kernel 2.6.8
net-snmp-5.2.pre1

> On Tue, 5 Oct 2004 17:35:28 + bird wrote:
> B> but it doesn't send.
> B> When I stop snmpd I have in logfile this:
> B> snmpd: send_trap: Failure in sendto (Invalid argument).
>
> What platform are you on? (OS & architecture)
>
> What release are you using?

-- 
Ing. Vladislav Antolík
Systémový inžinier
OS SR


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Queries related to Net-SNMP

2004-10-06 Thread Andy Smith
Deepak,
More information is needed to effectively help you.
Did you run a make install?
Did you configure the agent?
Can you confirm that the agent is running?
What is the snmpget command line that you are using when you attempt to 
query the agent?

Providing the answers to those questions will get us started in the 
right direction.

PS - Please do not email me directly. Keep requests on the list so that 
others may offer advice and/or learn from your experience.

Regards,
Andy
--
--
Andy Smith, MCP
[EMAIL PROTECTED]
--
Deepak D wrote:
Hello Mr Smith,
  I have few queries regarding Net-SNMP. I have downloaded Net- SNMP
5.1.2 from the net. I am trygin to install t on Linux environment. I am
facing some problems regarding the same. In the downloaded material, README
file for LINUX environment (seperately, though it is mentioned solaris) has
not been provided. I am going through the solaris README file and trying to
install it on LINUX environment.
  Major problem i ma facing is i am not able to execute it.
Configuration, creation of MAKE files everything is completed successfully.
But if i try to use SNMPGET command, i am not able to connect the agent and
the manager. ( I not using seperate machine for manager/agent. Both are run
on the same machine) . It will be very helpful if you can provide me
Complete & Clear steps about how the communication between agent and
manager takes place in a standalone machine where both  the agent and the
manager resides on the same machine. (along with the commands)
Eagerly waiting for ur reply
thanks & regards,
Deepak D.
Software Engineer
SAMSUNG ODC
AceMAP v2
#2, Church Street,
Prestige Commercial Complex,
4th Floor, Bangalore - 01
--
Tel No  : 080- 2532-3734/35/36
Extn : 320
--
This Mail is classified as
(   ) L&T Infotech Proprietary
(   ) L&T Infotech Confidential
(   ) L&T Infotech Internal Use
(  #  ) L&T Infotech General Business














This email may contain confidential or privileged information for the
intended recipient(s). If you are not the intended recipient, please do not
use or disseminate the information, notify the sender and delete it from
your system. Thanks

__


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I can't see anything, but when I stop the agent I can see in NNM event 
type .1.3.6.1.4.1.8072.4.0.2
> > I would like to send trap to NNM when the number of processes
> > (e.g.ssh) is more  than 3,
> >
> > my snmpd.conf: proc ssh 3
> >trapsink ip_address
> >
> > but it doesn't send.
> > When I stop snmpd I have in logfile this:
> > snmpd: send_trap: Failure in sendto (Invalid argument).
> > I don't know if these problems are related.
>
> Sounds likely.
> The first thing is to make sure that your agent can generate
> traps at all.   When you start the agent up, does NNM receive
> a 'coldStart' trap?
>
>
> Try starting the agent using
>
>   snmpd -f -Le -d
>
> What do you see?
>
> Dave
>
>
>
> ---
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> ___
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Trap Info format

2004-10-06 Thread Will Chen








I use “snmptrapd –Lf trap.log” to log the
incoming trap.  The trap information logged in the trap.log file is like
this:  SNMPv2-SMI::enterprises.5517.4.1.1.2.0 = INTEGER: 0.  For
string 5517.4.1.1.2.0 is part of the OID, is there any command to log MIB
translated info (text based)  to the log file instead of numerical OID?

 

Thanks,

 

Bill  








Re: Which API to use for generating SNMPv3 trap from Net-SNMP agent code ??

2004-10-06 Thread Malliga Moorthi
Hi,

I am able to receive SNMPv3 traps after setting the
trapsess parameters correctly(particularly the port
number 162) by seeing an earlier answered query for
another developer.

Now I have another concern. When the passphrase is
wrongly entered in the snmpd.conf (not the same as
configured in snmptrapd.conf), the agent sends the 
trap and the snmptrapd complains of authentication
failure but still receives the trap.

The following is displayed in snmptrapd console and
the trap is also getting displayed below this:

usm: USM processing begun...
usm: Verification failed.
Authentication failed for myuser

I doubt if it is the correct way. Can you pl. tell me
if I am missing out anything here ??
When the user itself is wrong in snmpd.conf (other
than the one in the snmptrapd.conf), the agent doesn't
send the trap atall.

Thanks,
Malliga


--- Dave Shield <[EMAIL PROTECTED]> wrote:

> MM> I am now looking forward to generate SNMPv3 trap
> from
> MM> the agent code
> 
> RS> If you configured a 'trapsess',
> RS> I'd expect that send_v2trap() would suffice.
> 
> That's correct.
> The 'v2trap' refers to the structure of the request
> as it's passed to
> the agent (i.e. an SNMPv2 inform-type PDU).   This
> does *not* affect
> the SNMP version used to actually send it.  That's
> purely controlled
> by the "trapsink" or similar directives.
> 
> So if you've got a "trapsess" entry set up to use
> SNMPv3, then
> *all* traps sent by the agent will be SNMPv3 traps -
> regardless
> of the call that triggers sending it.
> 
> Dave
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Queries related to Net-SNMP

2004-10-06 Thread Deepak D

hell andy,

  make install was successfully executed ..

  then i configured the agent by using the command ./configure
..PARAMETERS

  during this i was asked many questions which i answered
appropriately..

  but then i was not able to run the agent ..  i was unable to proceed
.

  i think from this step i need ur help ..

regards,


Deepak D.
Software Engineer
SAMSUNG ODC
AceMAP v2
#2, Church Street,
Prestige Commercial Complex,
4th Floor, Bangalore - 01
--
Tel No  : 080- 2532-3734/35/36
Extn : 320
--


This Mail is classified as


(   ) L&T Infotech Proprietary
(   ) L&T Infotech Confidential
(   ) L&T Infotech Internal Use
(  #  ) L&T Infotech General Business



   
  
  Andy Smith   
  
  <[EMAIL PROTECTED]To:   Deepak D <[EMAIL 
PROTECTED]>, [EMAIL PROTECTED]   
  t.net>   cc: 
  
   Subject:  Re: Queries related to 
Net-SNMP 
  01/10/2004 05:45 
  
  PM   
  
   
  
   
  




Deepak,

More information is needed to effectively help you.

Did you run a make install?

Did you configure the agent?

Can you confirm that the agent is running?

What is the snmpget command line that you are using when you attempt to
query the agent?

Providing the answers to those questions will get us started in the
right direction.

PS - Please do not email me directly. Keep requests on the list so that
others may offer advice and/or learn from your experience.

Regards,
Andy

--
--
Andy Smith, MCP
[EMAIL PROTECTED]
--

Deepak D wrote:
> Hello Mr Smith,
>
>   I have few queries regarding Net-SNMP. I have downloaded Net- SNMP
> 5.1.2 from the net. I am trygin to install t on Linux environment. I am
> facing some problems regarding the same. In the downloaded material,
README
> file for LINUX environment (seperately, though it is mentioned solaris)
has
> not been provided. I am going through the solaris README file and trying
to
> install it on LINUX environment.
>
>   Major problem i ma facing is i am not able to execute it.
> Configuration, creation of MAKE files everything is completed
successfully.
> But if i try to use SNMPGET command, i am not able to connect the agent
and
> the manager. ( I not using seperate machine for manager/agent. Both are
run
> on the same machine) . It will be very helpful if you can provide me
> Complete & Clear steps about how the communication between agent and
> manager takes place in a standalone machine where both  the agent and the
> manager resides on the same machine. (along with the commands)
>
> Eagerly waiting for ur reply
>
> thanks & regards,
>
> Deepak D.
> Software Engineer
> SAMSUNG ODC
> AceMAP v2
> #2, Church Street,
> Prestige Commercial Complex,
> 4th Floor, Bangalore - 01
> --
> Tel No  : 080- 2532-3734/35/36
> Extn : 320
> --
>
>
> This Mail is classified as
>
>
> (   ) L&T Infotech Proprietary
> (   ) L&T Infotech Confidential
> (   ) L&T Infotech Internal Use
> (  #  ) L&T Infotech General Business
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> This email may contain confidential or privileged information for the
> intended recipient(s). If you are not the intended recipient, please do
not
> use or disseminate the information, notify the sender and delete it from
> your system. Thanks
>
>
>
> __
>




__






__


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productgu

Re: disman problem?

2004-10-06 Thread Joel Parker
Both patches, the one in the bug and the mine, seemed to work fine. 
Maybe I missed the patch at the bottom of the bug report at that time
and came up with mine.  I had forgotten about it since my patch worked
for me.

Thanks for the response.

Joel

On Fri, 2004-10-01 at 10:01, Robert Story wrote:
> On Tue, 27 Apr 2004 11:31:41 -0400 Joel wrote:
> JP> On Thu, 2004-04-15 at 12:33, Joel Parker wrote:
> JP> > I've been trying to use disman monitoring support on linux machines  
> JP> > running net-snmp 5.1.1.  [...]  If a process being monitored isn't
> JP> > running on my host I do get traps.  The problem I  have is that other
> JP> > processes being monitored have traps sent when they  are still running.
> JP> > 
> JP> > I found the same exact problem described in the bug tracker from 2002:
> JP> > http://sourceforge.net/tracker/index.php? 
> JP> > func=detail&aid=615744&group_id=12694&atid=112694
> JP> > 
> JP> I was able to stop these events from being sent to my trap server.  I
> JP> was only seeing this problem on machines running glibc 2.2.  In any
> JP> event I landed up modifing mteTriggerTable.c with the following patch
> JP> and it didn't seem to break anything on multiple machines with varying
> JP> versions of glibc.  I was only interested in traps being sent from the
> JP> proc, disk and load average tables.
> 
> Hi Joel,
> 
> Sorry for the delay in getting back to you. Did you try the one line patch
> listing in that problem report? If not, can you try it and see if it works as
> well as the patch you came up with?


signature.asc
Description: This is a digitally signed message part


Re: Problem to send trap

2004-10-06 Thread Vladislav Antolik
I can't see anything, but when I stop the agent I can see in NNM received 
event type .1.3.6.1.4.1.8072.4.0.2
> > I would like to send trap to NNM when the number of processes
> > (e.g.ssh) is more  than 3,
> >
> > my snmpd.conf: proc ssh 3
> >trapsink ip_address
> >
> > but it doesn't send.
> > When I stop snmpd I have in logfile this:
> > snmpd: send_trap: Failure in sendto (Invalid argument).
> > I don't know if these problems are related.
>
> Sounds likely.
> The first thing is to make sure that your agent can generate
> traps at all.   When you start the agent up, does NNM receive
> a 'coldStart' trap?
>
>
> Try starting the agent using
>
>   snmpd -f -Le -d
>
> What do you see?
>
> Dave
>
>
>
> ---
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> ___
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Problem to send trap

2004-10-06 Thread Vladislav Antolik
 Hello 

I would like to send trap to NNM when the number of processes(e.g.ssh) is more 
than 3,

my snmpd.conf: proc ssh 3
trapsink ip_address

but it doesn't send.
When I stop snmpd I have in logfile this:
snmpd: send_trap: Failure in sendto (Invalid argument).
I don't know if these problems are related.

thanks


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Problem to run perl_module.pl (net-snmp 5.1.2)

2004-10-06 Thread Sven Hergenhahn
Title: Problem to run perl_module.pl  (net-snmp 5.1.2)






Hi List,


I'd like to provide some additional values via a perl subagent. I tried to use perl_module.pl from the net-snmp page, but it does not work. 

I always get:


snmpget -v1 -Ov -c public  .1.3.6.1.4.1.8072.999.1.2.1.0

Error in packet

Reason: (noSuchName) There is no such variable name in this MIB.

Failed object: NET-SNMP-MIB::netSnmp.999.1.2.1.0



It's compiled as follows:


./configure \

--host=i386-redhat-linux \

--build=i386-redhat-linux \

--target=i386-redhat-linux-gnu \

--program-prefix= \

--prefix=/usr \

--exec-prefix=/usr \

--bindir=/usr/bin \

--sbindir=/usr/sbin \

--datadir=/usr/share \

--includedir=/usr/include/net-snmp \

--libdir=/usr/lib \

--libexecdir=/usr/libexec \

--localstatedir=/var \

--sharedstatedir=/usr/com \

--mandir=/usr/share/man \

--infodir=/usr/share/info \

--enable-static \

--enable-embedded-perl \

--enable-shared \

--with-cflags='-O2 -g -pipe -march=i386 -mcpu=i686' \

--with-sys-location=Unknown \

--with-logfile=/var/log/snmpd.log \

--with-persistent-directory=/var/net-snmp \

--with-mib-modules=host agentx smux \

--with-libwrap=/usr/lib \

--sysconfdir=/etc \

--enable-ipv6 \

--enable-ucd-snmp-compatibility \

--with-pic \

[EMAIL PROTECTED]


meat of the snmpd.conf:


rwuser  rwuser

rouser  rouser

rocommunity  public

rwcommunity  public

proc  snmpd 1 5

load  5 4 3

agentuser  root

agentgroup  root

syslocation  here

syscontact  me

perl "do /tmp/perl_module.pl"


snmbd.log with debug enabled:


...

read_config: /etc/snmp/snmpd.conf:145 examining: perl "do /tmp/perl_module.pl;"

read_config: Found a parser.  Calling it: perl / "do /tmp/perl_module.pl;"

perl: initializing perl (/usr/share/snmp/snmp_perl.pl)

perl: done initializing perl

perl: calling perl

perl: finished calling perl

...


NET-SNMP version 5.1.2

snmpd/main: We're up.  Starting to process data.

sess_select: for all sessions: 8 6 4

snmpd/select: select( numfds=9, ..., tvp=(nil))

snmpd/select: returned, count = 1

netsnmp_udp: recvfrom fd 8 got 48 bytes (from )

sess_process_packet: session 0x80c56b0 fd 8 pkt 0x810de70 length 48

Connection from 

dumpx_recv:02 01 00

dumpv_recv:  Integer:   0 (0x00)

snmp_api: Parsing SNMPv1 message...

dumph_recv: SNMPv1 message


dumph_recv:   SNMP version

dumpx_recv:    02 01 00

dumpv_recv:  Integer:   0 (0x00)

dumph_recv:   community string

dumpx_recv:    04 06 70 75 62 6C 69 63

dumpv_recv:  String:    public

dumph_recv:   PDU

dumph_recv: request_id

dumpx_recv:  02 04 1C C7 6B 2B

dumpv_recv:    Integer: 482831147 (0x1CC76B2B)

dumph_recv: error status

dumpx_recv:  02 01 00

dumpv_recv:    Integer: 0 (0x00)

dumph_recv: error index

dumpx_recv:  02 01 00

dumpv_recv:    Integer: 0 (0x00)

dumph_recv: VarBindList

dumph_recv:   VarBind

dumph_recv: Name

dumpx_recv:  06 0D 2B 06 01 04 01 BF 08 87 67 01 02 01 00

dumpv_recv:    ObjID: NET-SNMP-MIB::netSnmp.999.1.2.1.0

dumph_recv: Value

snmp_agent: agent_sesion 0x8108148 created

callback: START calling callbacks for maj=1 min=5

callback: calling a callback for maj=1 min=5

mibII/vacm_vars: vacm_in_view: ver=0, community=public

netsnmp_udp_getSecName: resolve <"public", 0xf20e6082>

netsnmp_udp_getSecName: compare <"public", 0x/0x>... SUCCESS

subtree: looking for subtree for context: ""

subtree: found one for: ""

mibII/vacm_vars: vacm_in_view: sn=anonymousSecName002, gn=anonymousGroupName002, Done checking setup

callback: END calling callbacks for maj=1 min=5 (1 called)

subtree: looking for subtree for context: ""

subtree: found one for: ""

callback: START calling callbacks for maj=1 min=0

callback: calling a callback for maj=1 min=0

mibII/vacm_vars: vacm_in_view: ver=0, community=public

netsnmp_udp_getSecName: resolve <"public", 0xf20e6082>

netsnmp_udp_getSecName: compare <"public", 0x/0x>... SUCCESS

subtree: looking for subtree for context: ""

subtree: found one for: ""

vacm:getView: , found

, vt=1

callback: END calling callbacks for maj=1 min=0 (1 called)

snmp_agent: add_vb_to_cache(0x8108148, 1, NET-SNMP-MIB::netSnmp.999.1.2.1.0, 0x80ad960)

snmp_agent: tp->start NET-SNMP-AGENT-MIB::nsTransactions.2, tp->end SNMPv2-MIB::snmpSetSerialNo.0,

handler:calling: main handler bulk_to_next

handler:calling: calling handler bulk_to_next for mode GET

handler:calling: calling handler null for mode GET

helper:null: Got request

helper:null:   oid:NET-SNMP-MIB::netSnmp.999.1.2.1.0

handler:returned: handler null returned 0

handler:returned: handler bulk_to_next returned 0

results: request results (status = 0):

results:    NET-SNMP-MIB::netSnmp.999.1.2.1.0 = No Such Object available on this agent at this OID

snmp_send: Building SNMPv1 message...


I also put some checks into perl_module.pl to create a file in /tmp, but the file does not get created. 


It se

Re: Trap Info format

2004-10-06 Thread Dave Shield
> I use "snmptrapd -Lf trap.log" to log the incoming trap.
> The trap information logged in the trap.log file is like this:
>   SNMPv2-SMI::enterprises.5517.4.1.1.2.0 =3D INTEGER: 0.
>  For string 5517.4.1.1.2.0 is part of the OID,
> is there any command to log MIB translated info (text based)
> to the log file instead of numerical OID?

If snmptrapd has loaded the relevant MIB files, then it will
display OIDs in the normal (textual) form.
If it hasn't, then all it can do is display the numeric OIDs.

See the FAQ entry:
   How do I add a MIB to the tools?

Dave

PS: Please - no HTML mail.  Thanks



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Snmptrapd help

2004-10-06 Thread prashanth raghavan


I had ethereal running during the testing. And yes, I
did see the linkDown trap message received by the
destination terminal for the traps.

 

So, should I just create this new file wth the same
contents as the file that I am using right now (i.e.
the one in /var/net-snmp)?
 
< No idea - sorry.>
LOL. I understand, although how something can just
stop working after a while just puzzles me.

Thanks for all the help.

Prashanth



--- Dave Shield <[EMAIL PROTECTED]> wrote:

> > I tried both methods. Then I started the trap
> daemon
> > and administratively shut down an interface. But
> my
> > program still doesnt get called up.
> 
> But are you sure that the trap daemon is actually
> *receiving* a 'linkDown' trap?   The Net-SNMP agent
> doesn't normally generate such things.
> (See the FAQ entry "What traps are sent by the
> agent?")
> 
> 
> 
> > Further, the only location of snmptrapd.conf is
> under
> > the /var/net-snmp subdirectory. Should I copy this
> > file to another location?
> 
> No - you should create a (new) file 'snmptrapd.conf'
> in the appropriate location - probably
> /usr/local/etc/
> or /usr/local/lib/snmp
>   Wherever you put your 'snmpd.conf' settings,
> that's
> the place to create 'snmptrapd.conf' as well.
> 
> 
> > The thing I dont understand is, a couple of months
> back,
> > this was working perfectly fine. Why do I
> encounter these
> > errors all of a sudden?
> 
> No idea - sorry.
> 
> Dave
> 
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Tue, 03 Aug 2004 02:12:31 + Bill wrote:
BS> I discovered at the very least, a situation which causes the snmpd to
BS> run into a spin opening up /etc/mtab. I did a bit of discovery on the
BS> issue - I have tcpdump with full packet length + output from strace. I
BS> am not very familiar with gdb - if someone can give me the
BS> commands to use I would be happy to provide the results.

BS> If there is any additional information I could provide, I can re-produce 
BS> this issue at-will. Let me know if you want to see anything.

Sorry for the delayed response. Can you try running the agent in the
foreground, with packet dump turned on, and the poll with both net-snmp and
solarwinds. Then send the packet dumps.

(if you are using a public IP, change your community string before testing, or
mail the dump to me directly).

-- 
Robert Story; NET-SNMP Junkie 
  
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Wed, 6 Oct 2004 18:27:47 -0400 Robert wrote:
RS> Sorry for the delayed response. Can you try running the agent in the
RS> foreground, with packet dump turned on, and the poll with both net-snmp and
RS> solarwinds. Then send the packet dumps.

Forgot to give you the commands to run in the foreground and dump packets:

snmpd -f -d

And please try the simplest walk/get-next that you can, to reduce extraneous
output.

Probably will want all the output for the successful net-snmp walk, but just
the last packet for the bad solarwinds walk.

-- 
Robert Story; NET-SNMP Junkie 
  
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.1.2rc1 locking up?

2004-10-06 Thread Users
On Wed, 6 Oct 2004 18:30:58 -0400 Robert wrote:
RS> On Wed, 6 Oct 2004 18:27:47 -0400 Robert wrote:
RS> RS> Sorry for the delayed response. Can you try running the agent in the
RS> RS> foreground, with packet dump turned on, and the poll with both net-snmp
RS> RS> and solarwinds. Then send the packet dumps.

Actually, never mind! I found a helpful packet dump in another bug report, have
reproduced the problem, and am hot on the trail! Should have it fixed in 5.2.

-- 
Robert Story; NET-SNMP Junkie 
  
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


installing on Solaris questions

2004-10-06 Thread Nicholas Aaron Philbrook
I'm trying to compile and install net-snmp on a Solaris system.  It's
a little tricky because It's a server at my school and
obviously I don't have root access, so I'm installing the whole thing
in a "fake root" directory in my home directory via ssh.  I don't care
about the agent, all I need are the client tools (get, set, translate
are the only ones I have used in the past, but I might run into some
situations where I would want the other apps).

I ran configure like this:
./configure --prefix=$HOME/fr/usr/local --exec-prefix=$HOME/fr/usr
--disable-agent

configure finished fine, and then after a while make choked on me,
giving the following output:

gcc -o .libs/snmptrapd snmptrapd.o  ./.libs/libnetsnmptrapd.so -L/afs/rose-hulma
n.edu/users/class06/philbrna/fr/usr/local/src/net-snmp-5.1.1/snmplib -L/afs/rose
-hulman.edu/users/class06/philbrna/fr/usr/local/src/net-snmp-5.1.1/agent -L/afs/
rose-hulman.edu/users/class06/philbrna/fr/usr/local/src/net-snmp-5.1.1/agent/hel
pers -L/usr/local/ssl/lib ../snmplib/.libs/libnetsnmp.so -lgen -lcrypto -lkstat 
-lelf -lm -lnsl -lsocket -ladm  -R/Users/class06/philbrna/fr/usr/lib
Undefined   first referenced
 symbol in file
run_exec_command./.libs/libnetsnmptrapd.so
init_agent  snmptrapd.o
convert_v1pdu_to_v2 ./.libs/libnetsnmptrapd.so
netsnmp_create_handler_registration ./.libs/libnetsnmptrapd.so
netsnmp_register_ulong_instance ./.libs/libnetsnmptrapd.so
netsnmp_table_dataset_add_index ./.libs/libnetsnmptrapd.so
netsnmp_table_dataset_add_row   ./.libs/libnetsnmptrapd.so
netsnmp_table_set_add_default_row   ./.libs/libnetsnmptrapd.so
netsnmp_table_dataset_remove_and_delete_row ./.libs/libnetsnmptrapd.so
netsnmp_create_table_data_row   ./.libs/libnetsnmptrapd.so
init_subagent   snmptrapd.o
netsnmp_create_table_data_set   ./.libs/libnetsnmptrapd.so
netsnmp_register_read_only_counter32_instance ./.libs/libnetsnmptrapd.so
netsnmp_register_table_data_set ./.libs/libnetsnmptrapd.so
netsnmp_set_row_column  ./.libs/libnetsnmptrapd.so
netsnmp_timeval_uptime  ./.libs/libnetsnmptrapd.so
netsnmp_table_data_set_find_column  ./.libs/libnetsnmptrapd.so
ld: fatal: Symbol referencing errors. No output written to .libs/snmptrapd
collect2: ld returned 1 exit status
make[1]: *** [snmptrapd] Error 1
make[1]: Leaving directory
`/afs/rose-hulman.edu/users/class06/philbrna/fr/usr/local/src/net-snmp-5.1.1/apps'
make: *** [subdirs] Error 1

So obviously there are some library issues, I dunno. I've only been
using linux/unix systems for a few months now so I'm in a little bit
over my head it this point.

I also tried to get the binaries for solaris, but when I tried to
untar the whole thing I ran over my quota for storage space, and I
don't know which things I can safely omit if I all I want are the
apps.

First time I've used this list, sorry if I broke some etiquette rules
or something

appleshampoo


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


net-snmp compile/make error.

2004-10-06 Thread Chirag Parekh
Hi, 

I am a novice in the field of networking and have hardly any knowledge of SNMP. I have 
been assigned with the task of setting up SNMP monitoring on HP-UX servers via 
net-snmp. Searched the forum as well as net, but did not find any document that gave 
the details of what steps need to be taken to implement the same.

I downloaded the net-snmp 5.1.2 source code from the net-snmp.org website and 
configured the s/w. But I am getting error when I run the make command. Attached is 
the o/p from the configure as well as the make command.

Any help with this would be appreciated.

Chirag Parekh
Jr. Unix System Administrator

 <> 

Confidential
This e-mail and any files transmitted with it are the property
of Belkin Corporation and/or its affiliates, are confidential,
and are intended solely for the use of the individual or
entity to whom this e-mail is addressed.  If you are not one
of the named recipients or otherwise have reason to believe
that you have received this e-mail in error, please notify the
sender and delete this message immediately from your computer.
Any other use, retention, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited.
# ./configure --with-libs=-lnm 
checking what to build and install...  agent apps man local mibs
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
checking if I need to feed myself to ksh... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic 
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking command to parse /usr/bin/nm -p output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... +Z
checking if cc PIC flag +Z works... yes
checking if cc static flag -Wl,-a -Wl,archive works... no
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... hpux11.11 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ps... /usr/bin/ps
checking for perl... /usr/contrib/bin/perl
checking for whoami... whoami
checking for sed... /usr/bin/sed
checking for autoconf... no
checking for autoheader... no
checking for uname... /usr/bin/uname
checking for an ANSI C-conforming const... no
checking for inline... no
checking for net-snmp version number... 5.1.2
checking for developer gcc flags... 
checking target system type... hppa2.0w-hp-hpux11.11
checking for system include file... net-snmp/system/hpux.h
checking for machine-type include file... net-snmp/machine/generic.h
checking for cc... /usr/bin/cc
checking for additional cpp flags... 
checking whether we have to build PIC code... no
checking for platform specific source... checking for and configuring transport 
modules to use...  Callback Unix TCP UDP.
checking for security modules to use...  usm
checking for and configuring mib modules to use...  mibII ucd_snmp snmpv3mibs 
notification target agent_mibs agentx utilities.
checking for and configuring mib modules pieces to use...  mibII ucd_snmp snmpv3mibs 
notification target agent_mibs agentx utilities mibII/s