Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with net-snmp Linux

Status
Not open for further replies.

151569

IS-IT--Management
Feb 4, 2006
38
BR
Hello !!!

I trying configure net-snmp, start daemon with command - ./snmpd -c /var/net-snmp/snmpd.conf -I -V -Ls 0, display follow warning in syslog

Apr 30 18:34:08 linuxteste snmpd[6593]: Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.

How resolve this problem ??

Thanks !!!
 
Hello
Run "snmp -g conf" search and configure all options refers (Access control information), when start daemon return that warning.

You understand ?

Thanks !!

 

I'm sorry. I don't understand. Is there anything in the /var/net-snmp/snmpd.conf file?

 
ok .. no problem !! ;-)

Trying configuration running " snmpconf -g basic_setup " but run daemon continue message for configuration "Agent"

How configure agent with net-snmp ? ?

Follow my configuration of net-snmp

Configuration agent access control
Allow SNMPv1/v2c read-write community access -> y
** Comuninity read-write --> comurwlinux
All network address or host accepting this comunity
OID that this comunity should be restricted -> No-restriction
One community create

Do you want the agent to send snmp2c informs to a trap receiver (y)
Trap destination setup
SHould traps be sent when authentication failures occur -> yes
Configuration: trapcomunity
Descritption: Default trap sink comunity to use argumento: comunity-string
The default comunity name to use when sending traps : comutrap
Do you want the agent to send snmpv2c informs to a trap receiver : y
Finished Output: Informsink: vmserver comutrap
A host name that should receive the trap: vmserver
The comonity to be used in the trap sent [optional]: comutrap
Finished output: informsink vmserver comutrap

Do you want the agent to send snmpv2c traps to a trap receiver (default =y)
A host name that should receive the trap : vmserver
The comunity to be used in the trap sent [optional]: comutrap

Do you want the agent to send snmpv1 traps to a trap receiver (default =y)
A host name that should receive the trap : vmserver
The comonity to be used in the trap sent [optional]: comutrap



cat /var/log/snmpd.log
Warning: no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.

NET-SNMP version 5.4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top