Re: NetSnmp on AIX Issue
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OFADA58AB6.3711FCB1-ON48257075.0016EB99-48256F08.001644A4@wesoft.com> |
Sorry, reattached the conf file.
BTW:
Is there any doucment or useful link about how to install/configure
netsnmp on AIX?
Best Regards,
Tango
Tango Tang
2005-09-07 12:09
To: [email protected]
<[email protected]>
cc:
Subject: NetSnmp on AIX Issue
Dear sirs:
I have downloaded the NetSnmp installation package for AIX from :
http://aixpdslib.seas.ucla.edu/packages/net-snmp.html
Our AIX version is 5.2 and with default snmp. it works fine.
I have downloaded the correspond package(both source and binary) and
install to my AIX5.2 system.
It is success with no error.
But when I stop the AIX default snmp and try to start the netsnmp.
I get no error but the netsnmp can not be started.
(Before that I have use the /usr/local/bin/snmpconf to create a snmpd.conf
and copy to /usr/local/share/snmp/
Attached please find the snmpd.conf.)
bash-2.05b# pwd
/usr/local/sbin
bash-2.05b# ./snmpd
bash-2.05b# ps -ef|grep snmp
And the snmpd is not started. check the /var/log/snmpd.log, there is no a
error.
Do you any suggestion to how to slove it?
Any comments or link about that will be high appreciated!
Best Regards,
Tango
snmpd.conf
(application/octet-stream, 2.4 KB)
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private ########################################################################### # SECTION: Agent Operating Mode # # This section defines how the agent will operate when it # is running. # agentaddress: The IP address and port number that the agent will listen on. # By default the agent listens to any and all traffic from any # interface on the default SNMP port (161). This allows you to # specify which address, interface, transport type and port(s) that you # want the agent to listen on. Multiple definitions of this token # are concatenated together (using ':'s). # arguments: [transport:]port[@interface/address],... agentaddress 161 ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation "rushroom office" # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "contract admin"
snmpd.conf
(application/octet-stream, 2.4 KB)
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private ########################################################################### # SECTION: Agent Operating Mode # # This section defines how the agent will operate when it # is running. # agentaddress: The IP address and port number that the agent will listen on. # By default the agent listens to any and all traffic from any # interface on the default SNMP port (161). This allows you to # specify which address, interface, transport type and port(s) that you # want the agent to listen on. Multiple definitions of this token # are concatenated together (using ':'s). # arguments: [transport:]port[@interface/address],... agentaddress 161 ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation "rushroom office" # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "contract admin"