Repository: ambari Updated Branches: refs/heads/trunk 2ccf0c7de -> 1a0055ab4
AMBARI-5985. SNMP Cleanup - confirm and make sure its not getting used in Ambari. (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1a0055ab Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1a0055ab Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1a0055ab Branch: refs/heads/trunk Commit: 1a0055ab4b8134a1e47ad81bdde63e96b77a6923 Parents: 2ccf0c7 Author: Andrew Onishuk <[email protected]> Authored: Mon Jun 2 17:34:11 2014 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Mon Jun 2 17:34:11 2014 +0300 ---------------------------------------------------------------------- .../hooks/before-START/templates/snmpd.conf.j2 | 66 -------------------- .../hooks/before-START/templates/snmpd.conf.j2 | 66 -------------------- 2 files changed, 132 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1a0055ab/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 b/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 deleted file mode 100644 index 9b16c84..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 +++ /dev/null @@ -1,66 +0,0 @@ -{# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -#} - -#/* -# * Licensed to the Apache Software Foundation (ASF) under one -# * or more contributor license agreements. See the NOTICE file -# * distributed with this work for additional information -# * regarding copyright ownership. The ASF licenses this file -# * to you under the Apache License, Version 2.0 (the -# * "License"); you may not use this file except in compliance -# * with the License. You may obtain a copy of the License at -# * -# * http://www.apache.org/licenses/LICENSE-2.0 -# * -# * Unless required by applicable law or agreed to in writing, software -# * distributed under the License is distributed on an "AS IS" BASIS, -# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# * See the License for the specific language governing permissions and -# * limitations under the License. -# */ - -com2sec notConfigUser {{snmp_source}} {{snmp_community}} -group notConfigGroup v1 notConfigUser -group notConfigGroup v2c notConfigUser -view systemview included .1 -access notConfigGroup "" any noauth exact systemview none none - -syslocation Hadoop -syscontact HadoopMaster -dontLogTCPWrappersConnects yes - -############################################################################### -# disk checks - -disk / 10000 - - -############################################################################### -# load average checks -# - -# load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0] -# -# 1MAX: If the 1 minute load average is above this limit at query -# time, the errorFlag will be set. -# 5MAX: Similar, but for 5 min average. -# 15MAX: Similar, but for 15 min average. - -# Check for loads: -#load 12 14 14 - http://git-wip-us.apache.org/repos/asf/ambari/blob/1a0055ab/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 deleted file mode 100644 index 9b16c84..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 +++ /dev/null @@ -1,66 +0,0 @@ -{# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -#} - -#/* -# * Licensed to the Apache Software Foundation (ASF) under one -# * or more contributor license agreements. See the NOTICE file -# * distributed with this work for additional information -# * regarding copyright ownership. The ASF licenses this file -# * to you under the Apache License, Version 2.0 (the -# * "License"); you may not use this file except in compliance -# * with the License. You may obtain a copy of the License at -# * -# * http://www.apache.org/licenses/LICENSE-2.0 -# * -# * Unless required by applicable law or agreed to in writing, software -# * distributed under the License is distributed on an "AS IS" BASIS, -# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# * See the License for the specific language governing permissions and -# * limitations under the License. -# */ - -com2sec notConfigUser {{snmp_source}} {{snmp_community}} -group notConfigGroup v1 notConfigUser -group notConfigGroup v2c notConfigUser -view systemview included .1 -access notConfigGroup "" any noauth exact systemview none none - -syslocation Hadoop -syscontact HadoopMaster -dontLogTCPWrappersConnects yes - -############################################################################### -# disk checks - -disk / 10000 - - -############################################################################### -# load average checks -# - -# load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0] -# -# 1MAX: If the 1 minute load average is above this limit at query -# time, the errorFlag will be set. -# 5MAX: Similar, but for 5 min average. -# 15MAX: Similar, but for 15 min average. - -# Check for loads: -#load 12 14 14 -
