- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- net-snmp on HP-UX B11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 07:06 PM
06-19-2005 07:06 PM
net-snmp on HP-UX B11.11
I am trying to install net-snmp-5.1.1 on HP-UX B11.11. configure step seem to be OK (see attached log) but make commmand has some error
[server:/tmp/net-snmp-5.1.1] make
/usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /tmp/net-snmp-5.1.1/snmplib
/bin/sh ../libtool --mode=link cc -g -Dhpux11 -rpath /usr/local/lib -version-info 6:1:1 -o libnetsnmp.la
rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
/usr/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o .libs/libnetsnmp.sl.6.1 -lc
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I DO NOT KNOW WHY??? PLS HELP ME ASAP.
THANK FOR ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 07:37 PM
06-19-2005 07:37 PM
Re: net-snmp on HP-UX B11.11
owe to the fact that the Net-SNMP sources were written as 32bit code.
Thus, one had to be careful to select those compiler switches (and library environment variables) that take care for 32bit builds.
You may have good reasons to build it from sources.
However if you aren't focused on HP ANSI C but can equally well use gcc to later possibly link other apps to the Net-SNMP libs,
I would suggest to first try the HP provided depot which is a gcc build, I suppose.
You shouldn't experience any difficulties with that.
Have a look here, where you could also download the depot.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
If you must cling to your own build register with the Net-SNMP mailing list, or even try a mail directly to the program authors.
They might be willing to respond.
From my experience I know that the Net-SNMP folks are extremly helpful.
I had been exchanging mails for over a week with the HP-UX porting author where he continously sent me hints how to get the thing compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 01:23 PM
06-20-2005 01:23 PM
Re: net-snmp on HP-UX B11.11
I have just try package on HP-UX Internet Express but it seem to have problem.. can you post for me the full procedure need to do after taking swinstall.
thank U so much
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 09:25 PM
06-20-2005 09:25 PM
Re: net-snmp on HP-UX B11.11
pls spend time to help me pls. I am in urgent case.
thank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 09:56 PM
06-20-2005 09:56 PM
Re: net-snmp on HP-UX B11.11
If you need to create config file you can try using snmpconf utility that comes with the package.
# /opt/iexpress/net-snmp/bin/snmpconf
I can create the following types of configuration files for you.
Select the file type you wish to create:
(you can create more than one as you run this program)
1: snmpd.conf
2: snmptrapd.conf
3: snmp.conf
Other options: quit
Select File:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 01:58 PM
06-21-2005 01:58 PM
Re: net-snmp on HP-UX B11.11
I have installed Internet Express Net-SNMP package successfully (only issue swlist -s /cdrom and choose net-snmp. after installation
I checked
#swlist -l product|grep net-snmp and result as below
Net-SNMP A.02.00-5.0.9 Simple Network Monitoring protocol
but I donot know how to continue with it (how to config, how to start net-snmp agent with its configuration) Pls show me what should to do next
I intend to use mrtg and Opmanager5.5 (www.opmanager.com)
to get snmp infor from HP-UX11i. Now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 03:43 PM
06-21-2005 03:43 PM
Re: net-snmp on HP-UX B11.11
Sample configuration file is in /opt/iexpress/net-snmp/etc/EXAMPLE.conf. You should copy it to /opt/iexpress/net-snmp/etc/snmp/snmpd.conf. Change at least the following lines.
com2sec local localhost COMMUNITY
com2sec mynetwork NETWORK/16 COMMUNITY
to
com2sec local localhost
com2sec mynetwork
Start the daemon in test mode as (assumes port 9999 is not used).
# /opt/iexpress/net-snmp/sbin/snmpd -df -Lo udp:9999
Now you should be able to test access to it with snmpwalk.
# /opt/iexpress/net-snmp/bin/snmpwalk -v 1 -c
Lots more information is available at www.net-snmp.org.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 10:08 PM
06-22-2005 10:08 PM
Re: net-snmp on HP-UX B11.11
My server still have a problem
After setting conf file (as attached file) i issue
[server:/] /opt/iexpress/net-snmp/sbin/snmpd -df -L udp:161
/opt/iexpress/net-
snmp/share/snmp/snmpd.conf: line 21: Error: bad source address
/opt/iexpress/net-snmp/share/snmp/snmpd.conf: line 45: Warning: Unknown token: proc.
/opt/iexpress/net-snmp/share/snmp/snmpd.conf: line 60: Warning: Unknown token: disk.
/opt/iexpress/net-snmp/share/snmp/snmpd.conf: line 74: Warning: Unknown token: load.
net-snmp: 1 error(s) in config file(s)
Sending 95 bytes to 10.0.98.31
0000: 30 5D 02 01 01 04 06 70 75 62 6C 69 63 A6 50 02 0].....public.P.
0016: 04 38 3D 2B 46 02 01 00 02 01 00 30 42 30 0D 06 .8=+F......0B0..
0032: 08 2B 06 01 02 01 01 03 00 43 01 18 30 17 06 0A .+.......C..0...
0048: 2B 06 01 06 03 01 01 04 01 00 06 09 2B 06 01 06 +...........+...
0064: 03 01 01 05 01 30 18 06 0A 2B 06 01 06 03 01 01 .....0...+......
0080: 04 03 00 06 0A 2B 06 01 04 01 BF 08 03 02 0E .....+.........
Sending 95 bytes to 10.0.95.21
0000: 30 5D 02 01 01 04 06 70 75 62 6C 69 63 A6 50 02 0].....public.P.
0016: 04 38 3D 2B 46 02 01 00 02 01 00 30 42 30 0D 06 .8=+F......0B0..
0032: 08 2B 06 01 02 01 01 03 00 43 01 18 30 17 06 0A .+.......C..0...
0048: 2B 06 01 06 03 01 01 04 01 00 06 09 2B 06 01 06 +...........+...
0064: 03 01 01 05 01 30 18 06 0A 2B 06 01 06 03 01 01 .....0...+......
0080: 04 03 00 06 0A 2B 06 01 04 01 BF 08 03 02 0E .....+.........
NET-SNMP version 5.0.9
Received 43 bytes from 10.0.98.31
0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A1 1C 02 0).....public...
0016: 02 34 69 02 01 00 02 01 00 30 10 30 0E 06 0A 2B .4i......0.0...+
0032: 06 01 02 01 19 03 03 01 02 05 00 ...........
Received SNMP packet(s) from 10.0.98.31
GETNEXT message
-- SNMPv2-SMI::mib-2.25.3.3.1.2
# /opt/iexpress/net-snmp/bin/snmpwalk -v 1 -c public localhost:161
Timeout: No Response from localhost:161
WHy it say timeout????
thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 11:19 PM
06-23-2005 11:19 PM
Re: net-snmp on HP-UX B11.11
rwcommunity public all
This line has incorrect syntax. It should read
rwcommunity: community [default|hostname|network/bits] [oid]
So in the simplest case it would be
rwcommunity public
Please note that setting community strings (especially read-write community) to 'public' is extremely bad for security.
Lastly, if UDP port 161 is default, so you don't need to specify it on command line for snmpd and/or snmpwalk.