HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configuring snmpd for hp-unix 11.23 on ia64
Operating System - HP-UX
1827215
Members
2177
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-13-2007 04:05 PM
11-13-2007 04:05 PM
configuring snmpd for hp-unix 11.23 on ia64
My company is started using windows scom monitoring system and one of the requiremnts is to configure snmp on port 161-162 on the hp 11.23 server ia64.So that this server is monitored as a client for the scom.
After enabled the parameters on SnmpHpunix,SnmpMaster, SnmpMib2,SnmpTrpDst
I also edited the /etc/snmp.conf file as fllowing :-
get-community-name: public
set-community-name:public
contact:Soma
location:First floor iT room
max-trap-dest:150
trap-dest:192.168.3.102
trap-dest:192.168.3.104
I stoped the snmpd services and restarted according to the form advices and the man pages and checked the /var/adm/snmpd.log file but found the following error.
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
at line 589 in file ../mastmain.c
snmpd_open failure: -2
at line 863 in file ../master.c
Also when i try to get what snmpd process running on the system I find the following:-
root 1406 1 0 Nov 5 ? 0:10 /usr/lbin/cmsnmpd
root 3001 1 0 Nov 5 ? 0:24 /opt/iexpress/net-snmp/sbin/snmpd
the first i know it is for the cluster but what the scond is for ?
If any one has configured a hpunix client for the scom manager please guide me through.Also how to make the snmpd start on 161&162 ports?
Your help is highly appreciated.
After enabled the parameters on SnmpHpunix,SnmpMaster, SnmpMib2,SnmpTrpDst
I also edited the /etc/snmp.conf file as fllowing :-
get-community-name: public
set-community-name:public
contact:Soma
location:First floor iT room
max-trap-dest:150
trap-dest:192.168.3.102
trap-dest:192.168.3.104
I stoped the snmpd services and restarted according to the form advices and the man pages and checked the /var/adm/snmpd.log file but found the following error.
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
at line 589 in file ../mastmain.c
snmpd_open failure: -2
at line 863 in file ../master.c
Also when i try to get what snmpd process running on the system I find the following:-
root 1406 1 0 Nov 5 ? 0:10 /usr/lbin/cmsnmpd
root 3001 1 0 Nov 5 ? 0:24 /opt/iexpress/net-snmp/sbin/snmpd
the first i know it is for the cluster but what the scond is for ?
If any one has configured a hpunix client for the scom manager please guide me through.Also how to make the snmpd start on 161&162 ports?
Your help is highly appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2007 12:09 PM
11-14-2007 12:09 PM
Re: configuring snmpd for hp-unix 11.23 on ia64
Hello,
The second one is a gnu implementation for SNMP that implements HOST-MIB-RESOURCES.
As far as I know, HP SNMP agent cannot coexist with another SNMP agent, I guess you should try to remove net-snmp (if it isn't there for a particular purpose, you can also try to stop that one and just start HP SNMP.
Hope that helps.
The second one is a gnu implementation for SNMP that implements HOST-MIB-RESOURCES.
As far as I know, HP SNMP agent cannot coexist with another SNMP agent, I guess you should try to remove net-snmp (if it isn't there for a particular purpose, you can also try to stop that one and just start HP SNMP.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2007 12:47 PM
11-14-2007 12:47 PM
Re: configuring snmpd for hp-unix 11.23 on ia64
hi soma;
-it is so clear that second one is net-snmp'd daemon.Snmp agent.
-And snmp already use 161 port.you can see it by checking /etc/services file.
-Finally i write a script for you.you can use it to change community names.
Put following lines in a file and make chmod +x that file.
cp /etc/snmpd.conf /etc/snmpd.conf.orig
cp /etc/SnmpAgent.d/snmpd.conf /etc/SnmpAgent.d/snmpd.conf.orig
vi /etc/snmpd.conf
vi /etc/SnmpAgent.d/snmpd.conf
cd /sbin/rc2.d
./S560SnmpMaster stop
./S565SnmpHpunix stop
./S565SnmpMib2 stop
./S560SnmpMaster start
sleep 5
./S565SnmpHpunix start
./S565SnmpMib2 start
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2007 09:28 PM
11-14-2007 09:28 PM
Re: configuring snmpd for hp-unix 11.23 on ia64
Thanks luis and Mustafa.
Mustafa I have executed the your but before that i killed the other process.
I still have some errors in the log as following :-
SNMP Research SNMP Agent Resident Module Version 15.3.1.0
at line 588 in file ../mastmain.c
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
at line 589 in file ../mastmain.c
Ignoring unknown record type: max-trap-dest:150 # enter max no. of trap-dest entries to be maintained.
at line 1197 in file /view/anu.IA.6.2/DE/snmpr/seclib/scanfile.c
GetSubagentEvent: setvar not enabled from subagent 0
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 1
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 2
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 3
at line 2635 in file ../master.c
More over to that snmp is not listening on 161.Let me clear this here
1- ps -ef | grep snm
root 1406 1 0 Nov 5 ? 0:11 /usr/lbin/cmsnmpd
root 10004 1 0 06:29:21 ? 0:03 /usr/sbin/snmpdm
root 15764 27688 0 08:24:25 pts/ta 0:00 grep snm
using lsof :
lsof -p 10004 | grep UDP
snmpdm 10004 root 6u IPv4 0xe00000018aea3c80 0t0 UDP *:snmp (Idle)
snmpdm 10004 root 7u IPv4 0xe000000182670200 0t0 UDP *:59234 (Idle)
This shows its idle
again using netstat -a | grep snm
udp 0 0 *.snmp *.*
Now my question is why the process is not listening on the 161 port?and what those errors in the log mean?
I appreciate your response.
Mustafa I have executed the your but before that i killed the other process.
I still have some errors in the log as following :-
SNMP Research SNMP Agent Resident Module Version 15.3.1.0
at line 588 in file ../mastmain.c
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
at line 589 in file ../mastmain.c
Ignoring unknown record type: max-trap-dest:150 # enter max no. of trap-dest entries to be maintained.
at line 1197 in file /view/anu.IA.6.2/DE/snmpr/seclib/scanfile.c
GetSubagentEvent: setvar not enabled from subagent 0
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 1
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 2
at line 2635 in file ../master.c
GetSubagentEvent: setvar not enabled from subagent 3
at line 2635 in file ../master.c
More over to that snmp is not listening on 161.Let me clear this here
1- ps -ef | grep snm
root 1406 1 0 Nov 5 ? 0:11 /usr/lbin/cmsnmpd
root 10004 1 0 06:29:21 ? 0:03 /usr/sbin/snmpdm
root 15764 27688 0 08:24:25 pts/ta 0:00 grep snm
using lsof :
lsof -p 10004 | grep UDP
snmpdm 10004 root 6u IPv4 0xe00000018aea3c80 0t0 UDP *:snmp (Idle)
snmpdm 10004 root 7u IPv4 0xe000000182670200 0t0 UDP *:59234 (Idle)
This shows its idle
again using netstat -a | grep snm
udp 0 0 *.snmp *.*
Now my question is why the process is not listening on the 161 port?and what those errors in the log mean?
I appreciate your response.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP