From: Angel L. Mateo (amateo@um.es)
Date: Mon Jun 24 2002 - 05:04:31 EDT
Hello,
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 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:30 EDT