[Ultrapossum-cvs 193] plugin/snmp ...

アーカイブの一覧に戻る

Masato Taruishi taru****@sourc*****
2004年 6月 19日 (土) 13:25:09 JST


===================================================================
RCS file: plugin/snmp/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin/snmp/Makefile.am	2004/06/18 17:41:58	1.2
+++ plugin/snmp/Makefile.am	2004/06/19 04:25:08	1.3
@@ -5,6 +5,8 @@
 module_DATA = 01snmp
 update_SCRIPTS = update-snmp
 
+modulesysconf_DATA = snmp.cf
+
 templatedir = $(sysconfdir)/ultrapossum/in.d
 template_DATA = snmpd.conf.in
 
@@ -13,5 +15,6 @@
 EXTRA_DIST = \
 	update-sasl \
 	01snmp \
-	snmpgen.in
+	snmpgen.in \
+	snmp.cf
 
===================================================================
RCS file: plugin/snmp/snmpd.conf.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin/snmp/snmpd.conf.in	2004/06/18 17:41:58	1.2
+++ plugin/snmp/snmpd.conf.in	2004/06/19 04:25:08	1.3
@@ -1,5 +1,5 @@
 
-com2sec	ultrapossum	default		ultrapossum
+com2sec	ultrapossum	default		#SNMP_COMMUNITY#
 group	UltraPossum	v1		ultrapossum
 view 	ultrapossum 	included	#SNMP_MIB#
 access	UltraPossum 	""	any       noauth exact ultrapossum none none
===================================================================
RCS file: plugin/snmp/snmpgen.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin/snmp/snmpgen.in	2004/06/18 17:41:58	1.1
+++ plugin/snmp/snmpgen.in	2004/06/19 04:25:08	1.2
@@ -6,9 +6,8 @@
 
 MODULEDIR=#MODULEDIR#
 TYPE=#TYPE#
-SLAPD_PIDFILE=#SLAPD_PIDFILE#
-SLAPD_SLAVE_PIDFILE=#SLAPD_SLAVE_PIDFILE#
-CHROOTDIRECTORY=#CHROOTDIRECTORY#
+SLAPD_PIDFILE=#CHROOTDIRECTORY##SLAPD_PIDFILE#
+SLAPD_SLAVE_PIDFILE=#CHROOTDIRECTORY##SLAPD_SLAVE_PIDFILE#
 
 case "$1" in
   status)
===================================================================
RCS file: plugin/snmp/update-snmp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin/snmp/update-snmp	2004/06/18 17:44:02	1.3
+++ plugin/snmp/update-snmp	2004/06/19 04:25:08	1.4
@@ -29,6 +29,7 @@
   progress "Configuring SNMP... "
   add_startmark "##" $id > $tmp
   sed -e "s/#SNMP_MIB#/$SNMP_MIB/" -e "s!#CONFDIR#!$CONFDIR!" \
+      -e "s!#SNMP_COMMUNITY#!$SNMP_COMMUNITY!" \
  					< $SNMPD_CONF_IN >> $tmp
   add_endmark "##" $id >> $tmp
   add_end_vaconf $SNMPD_CONF $tmp $id



Ultrapossum-cvs メーリングリストの案内
アーカイブの一覧に戻る