HPUX 11. net-snmp depot file

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring HPUX 11. net-snmp depot file
# 1  
Old 07-09-2009
HPUX 11. net-snmp depot file

Dose any know know where I can find the HPUX net-snmp depot file for HPUX b.11.11 I found the 11.23 version which of course will not install. Any help would be greatly appreciated thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. HP-UX

Net-snmp 5.7.2 on HP-UX 11.31

Hi All, I have an issue with net-snmp communication from a monitoring server to HP UX server. Following are the details HP - UX server : 172.16.184.34 Monitoring Server : 172.16.5.57 (Solarwinds Application)I'm running HP-UX's snmp on udp port 161 and net-snmp on udp 1161. ... (0 Replies)
Discussion started by: maverick_here
0 Replies

2. Infrastructure Monitoring

Hpux snmp help!

I have been trying to get net-snmp working on a HPUX box for over a week now. I do not think it should be this difficult. I must be missing a step. this morning I tried once again and now not even the native HPUX agent is working so I have no SNMP monitoring. So here is where I am at. Any help... (0 Replies)
Discussion started by: krisarmstrong
0 Replies

3. Infrastructure Monitoring

HPUX net-SNMP interpreter "/bin/perl" not found

I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of net-snmp net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my HPUX box is version HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies

4. Solaris

net-snmp on solaris 8

hello I am running solaris 8 sparc. I installed net-snmp 5.4.1 (compiled it from tar file). When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...' another snmpwalk will directly timeouts. I compiled again the binaries... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

5. UNIX for Dummies Questions & Answers

net-snmp

Does anybody know where I can get net-snmp for compaq tru64 V4.0G? I am having a difficult time locating it. Can it run on tru64 V4.0G? (2 Replies)
Discussion started by: jalburger
2 Replies

6. HP-UX

depot generating hpux 11.11 workstationmain

Hello, we running on a hpux workstation hpux 11.11 ( model B180 L ) latest relaese from december 2001. now we would like to install an tool which will allow us to generate our own depots. this programm names mkpkg ( relaese 3.0 alpha 5 ) and we downloaded it from... (2 Replies)
Discussion started by: ortsvorsteher
2 Replies
Login or Register to Ask a Question
SNMP_AGENT_API(3)						     Net-SNMP							 SNMP_AGENT_API(3)

NAME
snmp_agent_api - embedding an agent into a external application SYNOPSIS
#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> int main (int argc, char *argv[]) { int agentx_subagent = 1; /* Change this if you're a master agent. */ snmp_enable_stderrlog(); /* If we're an AgentX subagent... */ if (agentx_subagent) { /* ...make us an AgentX client. */ netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_ROLE, 1); } init_agent("yourappname"); /* Initialize your MIB code here. */ init_my_mib_code(); /* `yourappname' will be used to read yourappname.conf files. */ init_snmp("yourappname"); /* If we're going to be a SNMP master agent... */ if (!agentx_subagent) init_master_agent(); /* Listen on default port (161). */ /* Your main loop here... */ while (whatever) { /* if you use select(), see snmp_api(3) */ /* --- OR --- */ agent_check_and_process(0); /* 0 == don't block */ } /* At shutdown time: */ snmp_shutdown("yourappname"); } Then: $(CC) ... `net-snmp-config --agent-libs` DESCRIPTION
Our goal is to create a easy to use interface to the Net-SNMP package such that you can take code that you have written that has been designed to be a Net-SNMP MIB module and embed it into an external application where you can either chose to be a SNMP master agent or an AgentX sub-agent using the same MIB module code. Our suggestion is that you use our (or another) SNMP agent as the AgentX master agent and chose to become an AgentX subagent which then attaches to the master. The Net-SNMP package provides a pair of libraries that enables easy embedding of an SNMP or AgentX agent into an external software package. AgentX is an extensible protocol designed to allow multiple SNMP sub-agents all run on one machine under a single SNMP master agent. It is defined in RFC 2741. You will need to perform a few tasks in order to accomplish this. First off, you will need to initialize both the SNMP library and the SNMP agent library. As indicated above, this is done slightly differently depending on whether or not you are going to perform as a master agent or an AgentX sub-agent. CONFIGURATION
If you intend to operate as an AgentX sub-agent, you will have to configured the Net-SNMP package with agentx support (which is turned on by default, so just don't turn it off) Additionally, you will need to link against the net-snmp libraries (use the output of "net-snmp-config --agent-libs" to get a library list) and call subagent_pre_init() as indicated above. COMPILING
In order to make use of any of the above API, you will need to link against at least the four libraries listed above. FUNCTIONS
where to find out more information on them. It is certainly not a complete list of what is available within all the net-snmp libraries. snmp_enable_stderrlog() Logs error output from the SNMP agent to the standard error stream. netsnmp_ds_set_boolean() Please see the default_store(3) manual page for more information about this API. init_agent(char *name) Initializes the embedded agent. This should be called before the init_snmp() call. name is used to dictate what .conf file to read when init_snmp() is called later. init_snmp(char *name) Initializes the SNMP library. Note that one of the things this will do will be to read configuration files in an effort to config- ure your application. It will attempt to read the configuration files named by the name string that you passed in. It can be used to configure access control, for instance. Please see the read_config(3), snmp_config(5), and snmpd.conf(5) manual pages for fur- ther details on this subject. init_master_agent(void) Initializes the master agent and causes it to listen for SNMP requests on its default UDP port of 161. agent_check_and_process(int block) This checks for packets arriving on the SNMP port and processes them if some are found. If block is non-zero, the function call will block until a packet arrives or an alarm must be run (see snmp_alarm(3)). The return value from this function is a positive integer if packets were processed, zero if an alarm occurred and -1 if an error occured. snmp_shutdown(char *name); This shuts down the agent, saving any needed persistent storage, etc. SEE ALSO
http://www.net-snmp.org/tutorial-5/toolkit/, select(2), snmp_api(3), default_store(3), snmp_alarm(3), read_config(3), snmp_config(5), snmpd.conf(5) 4.2 Berkeley Distribution 02 Apr 2001 SNMP_AGENT_API(3)