SUMMARY: Problem with SNMP

From: Angel L. Mateo <amateo_at_um.es>
Date: Tue Jun 25 2002 - 05:50:58 EDT
	Sorry, I was just a typo in a configuration file :(

	My original question was:

El lun, 24-06-2002 a las 11:04, Angel L. Mateo escribis:
> 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
>
--
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
Received on Tue Jun 25 05:56:22 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:47 EST