Problem with SNMP
I'm trying to configure SNMP to work in a more secure mode. I want to
configure it to accept only requests from our management stations and to
deny the rest.
I have edited the snmpd.conf file to adjust the "managers" option. But
when I run the snmp agent from the script file in /etc/rc3.d I have the
error:
Jun 24 10:51:16 myhost /usr/lib/snmp/snmpdx: [ID 702911 daemon.error]
syntax error at line 7: sysdescr
Jun 24 10:51:16 myhost /usr/lib/snmp/snmpdx: [ID 702911 daemon.error]
parsing /etc/snmp/conf/snmpd.conf failed
I have reedited the file to be as the original one, but I continue
having the same error. I have also tried to comment the sysdescr option,
but I've got the same.
My snmpd.conf file is:
# Copyright 1988 - 09/23/99 Sun Microsystems, Inc. All Rights Reserved.
#pragma ident "@(#)snmpd.conf 2.23 99/09/23 Sun Microsystems"
# See below for file format and supported keywords
sysdescr Sun SNMP Agent, Ultra-5_10
syscontact System administrator
sysLocation System administrators office
#
system-group-read-community public
#system-group-write-community private
#
read-community public
#write-community private
#
trap localhost
trap-community SNMP-trap
#
#kernel-file /vmunix
#
#managers lvs golden
managers localhost
What do I have wrong?
--
Angel L. Mateo
Redes y Comunicaciones - ATICA Tfo: +34 968 367590
Universidad de Murcia Fax: +34 968 363389
Edificio D, Campus de Espinardo
CP: 30100, Murcia

