Configuration des pré-requis Linux. Référence : 10202 Version N : 1 Créé le : 9 Janvier 2011. Créé par : Thibault Cuisy Téléphone : 0476705296



Similar documents
QStar SNMP installation, configuration and testing. Contents. Introduction. Change History

securitymodel who securityname com2sec secname ipsource community default group groupname model secname v1 v2c usm

Knowledge is Power. He who gets wisdom loves his own soul; he who cherishes understanding prospers. (Proverbs 19:8)

Intel Simple Network Management Protocol (SNMP) Subagent v6.0

This configuration guide describes the installation process of SNMP on Windows and Linux with the NetBorder Express Gateway.

SNMP Peach Pit Data Sheet

Using SNMP with Content Gateway (not V-Series)

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

Installation and User Guide. for. Intel Server Management (ISM) Ver

Installation. Installation centreon + nagios mai LISTE DES PRE-REQUIS. Nagios/centreon Paquets divers. 1.1.

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

Sun TM SNMP Management Agent Release Notes, Version 1.6

Installing and Configuring the Intel Server Manager 8 SNMP Subagents. Intel Server Manager 8.40

N1 Grid Service Provisioning System 5.0 User s Guide for the Linux Plug-In

System Requirements Orion

Technical Service Bulletin

How To Use A Simple Network Management Protocol (Snmp) For A Powerline (Dsi) On A Network (Dmi) On An Ipa (Dsm) Or Ipa On A Microsoft Powerline On A Pc Or Ip

Monitoring disk stats with Cacti

How To Name A Snip On Linux (M500) On A Usb Modem Or Ipa (M5) On An Ipa Or Ipb (M50) On Linux On A Microsoft M500 Modem On A 2C Or Ip

TP : Configuration de routeurs CISCO

White Paper. Fabasoft on Linux Performance Monitoring via SNMP. Fabasoft Folio 2015 Update Rollup 2

Bibliothèque numérique de l enssib

IBM. IBM Cloud Automated Modular Managed (AMM) - monitoring services User Guide

You can create configurations using the following modes:

This section describes how to set up, find and delete community strings.

Solaris 10 Documentation README

Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server

Repris de : Version Debian (de base)

SunFDDI 6.0 on the Sun Enterprise Server

Exploring the iplanet Directory Server NIS Extensions

Server Management Agent for Linux User s Guide. Server Management 2.0 and Higher

Dude Workshop. MUM Prague 2009 by Patrik Schaub. FMS

Start Here. Installation and Documentation Reference. Sun StorEdgeTM 6120 Array

Cassandra Installation over Ubuntu 1. Installing VMware player:

Advanced Server Monitoring Setup Guide

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Mise en pratique : installation d'openvpn sur OpenWRT

Brest. Backup : copy flash:ppe_brest1 running-config

May PZ-0502A-WWEN Prepared by: Internet & E-Commerce Solutions

System Management Software User s Manual

Oracle Enterprise Manager. Description. Versions Supported. Prerequisites

Sun StorEdge N8400 Filer Release Notes

Bibliothèque numérique de l enssib

How To Set Up Vsftpd On A Pc Or Mac Or Mac (For Mac) On A Mac Or Ipa (For Pc Or Ipad) On Pc Or Pc Or Pb (For Ipa) On An Ipa Or Mac

Sun StorEdge A5000 Installation Guide

Sun Management Center 3.6 Version 5 Add-On Software Release Notes

"Internationalization vs. Localization: The Translation of Videogame Advertising"

VERITAS SNMP Extension 4.0

ServerView Agents V7.10 for Linux

Sun StorEdge RAID Manager Release Notes

Bibliothèque numérique de l enssib

POB-JAVA Documentation

Upgrading the Solaris PC NetLink Software

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

How To Configure A Server With Xwconfigure.Org (Myrothsol) On A Microsoft Server (Myriod) On An Ubuntu) On Your Ubuntu Server (Xw) With A Password Protected (Myros

"Templating as a Strategy for Translating Official Documents from Spanish to English"

SNMP Monitoring. The Sequel by Manuel Deschambault. Support Tool Architect Symbiotic System Design

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

unisys Server Management Agent for Linux User s Guide imagine it. done. Server Management 2.2 and Higher October

Procédure installation Open VPN sur Xivo

RAPPORT FINANCIER ANNUEL PORTANT SUR LES COMPTES 2014

Sun Management Center 3.5 Update 1b Release Notes

WEB2CS INSTALLATION GUIDE

"Simultaneous Consecutive Interpreting: A New Technique Put to the Test"

Workshop. Avril 2015 Benoit Buonassera

Introduction au BIM. ESEB Seyssinet-Pariset Economie de la construction contact@eseb.fr

Sun Management Center Change Manager Release Notes

SECURITY ADVISORY FROM PATTON ELECTRONICS

Calcul parallèle avec R

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

Install and configure the Net- SNMP agent for Windows

Avaya Aura Communication Manager SNMP Renewal Quick Reference Guide

TP1 : Correction. Rappels : Stream, Thread et Socket TCP

Sun StorEdge T3 Dual Storage Array - Part 1

Installation GENTOO + RAID sur VMWARE

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

97- Technical requirements installation/configuration of Citrix client V12.3 and ZeePrint 3.4

JANVIER 2013 / CATALOGUE DES FORMATIONS

Remote Management. Vyatta System. REFERENCE GUIDE SSH Telnet Web GUI Access SNMP VYATTA, INC.

L2 / L3 Switches. Simple Network Management Protocol (SNMP) Configuration Guide

GestióIP IPAM v3.0 IP address management software Installation Guide v0.1

CRMS SNMP Software Overview

OECD Best Practices for Budget Transparency

Setting up a monitoring and remote control tool

Administrer les solutions Citrix XenApp et XenDesktop 7.6 CXD-203

IPv6 Workshop: Location Date Security Trainer Name

How to Restore a Linux Server Using Bare Metal Restore

Configuring MailArchiva with Insight Server

Docker. dotcloud PaaS Français. Mars 2013 OpenSource. Ecrit en GO

TABLECLOTHS TEMPLATES

JumpStart : NIS and sysidcfg

French Property Registering System: Evolution to a Numeric Format?

Optimizing Solaris Resources Through Load Balancing

Transcription:

Référence : 10202 Version N : 1 Créé le : 9 Janvier 2011 Créé par : Thibault Cuisy Téléphone : 0476705296

Sommaire 1. Objectif... 3 2. Debian, Ubuntu... 4 2.1. Installation de SNMP... 4 2.2. Configuration... 4 3. Red Hat Entreprise... 7 3.1. Enabling SNMP access and trap forwarding for Red Hat Enterprise versions 3 and 4... 7 Confidentiel Coservit Page 2

1. Objectif Décrire la configuration SNMP sur un équipement. Confidentiel Coservit Page 3

2. Debian, Ubuntu 2.1. Installation de SNMP root@localhost # apt-get install snmp snmpd 2.2. Configuration Editer le fichier de configuration SNMP : root@localhost # nano /etc/snmp/snmpd.conf Il faut autoriser l'accès en lecture des données SNMP. Par défaut, la ligne est décommentée. Entre la partie "First," et "Second" du fichier de configuration, commenter la ligne "com2sec paranoid default public" en rajoutant un "#" puis supprimer le "#" de la ligne "com2sec readonly default public". ####################################################### ######################## # Access Control ####################################################### ######################## # YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY # KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO # SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE. # By far, the most common question I get about the agent is "why won't # it work?", when really it should be "how do I configure the agent to # allow me to access it?" # # By default, the agent responds to the "public" community for read # only access, if run out of the box without any configuration file in # place. The following examples show you other ways of configuring # the agent so that you can change the community names, and give # yourself write access as well. # # The following lines change the access permissions of the agent so # that the COMMUNITY string provides read-only access to your entire # NETWORK (EG: 10.10.10.0/24), and read/write access to only the # localhost (127.0.0.1, not its real ipaddress). Confidentiel Coservit Page 4

# # For more information, read the FAQ as well as the snmpd.conf(5) # manual page. #### # First, map the community name (COMMUNITY) into a security name # (local and mynetwork, depending on where the request is coming # from): # sec.name source community #com2sec paranoid default public com2sec readonly <IP BOITIER> <COMMUNAUTE> #com2sec readwrite default private #### # Second, map the security names into group names: # sec.model sec.name group MyROSystem v1 paranoid group MyROSystem v2c paranoid group MyROSystem usm paranoid group MyROGroup v1 readonly group MyROGroup v2c readonly group MyROGroup usm readonly group MyRWGroup v1 readwrite group MyRWGroup v2c readwrite group MyRWGroup usm readwrite #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included.1 80 view system included.iso.org.dod.internet.mgmt.mib-2.system #### # Finally, grant the 2 groups access to the 1 view with different # write permissions: # context sec.model sec.level match read write notif #access MyROSystem "" any noauth exact system none none access MyROGroup "" any noauth exact all none none #access MyRWGroup "" any noauth exact all all none # ------------------------------------------------------------------------- Enregistrer le fichier de configuration. Confidentiel Coservit Page 5

Ensuite éditez le fichier /etc/default/snmpd : SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' et remplacez 127.0.0.1 par l'adresse IP de l'interface réseau utilisée pour communiquer avec la machine B. Pour ne pas faire de filtrage à ce niveau il suffit d enlever l adresse IP. Enregistrer le fichier de configuration puis relancer le service : root@localhost # /etc/init.d/snmpd restart Confidentiel Coservit Page 6

3. Red Hat Entreprise 3.1. Enabling SNMP access and trap forwarding for Red Hat Enterprise versions 3 and 4 The OpenIPMI driver supported on Red Hat Enterprise versions 3 and 4 has a dependency on the version of Net-SNMP that is included with those distributions. IBM Director Core Services requires a different Net-SNMP version, 5.2.1. Installation of Net-SNMP 5.2.1 without removing the existing Net-SNMP version is required for IBM Director SNMP access and trap forwarding without compromising OpenIPMI services. Complete the following steps to enable SNMP access and trap forwarding for managed systems running Red Hat Enterprise versions 3 and 4: 1. Download the net-snmp-5.2.1.tar.gz file from the Net-SNMP Web site at www.netsnmp.org/download.html. 2. Build and install the Net-SNMP libraries using the following steps. Notes: This procedure does not perform a full installation of Net-SNMP, but installs only the Net-SNMP libraries, which are required for IBM Director Core Services SNMP functions. Refer to the INSTALL and README files included in the net-snmp-5.2.1.tar.gz package for additional installation information. Untar the source files. Type the following command and press Enter. tar -xvzf net-snmp-5.2.1.tar.gz Change to the source directory. Type the following command and press Enter. cd net-snmp-5.2.1 Build the Net-SNMP libraries with default options. Type the following commands (press Enter after each)../configure --with-defaults make Confidentiel Coservit Page 7

Install the Net-SNMP libraries only to /usr/local/lib. Type the following command and press Enter. make installlibs To enable trap forwarding, edit the /etc/init.d/dacimlist file and uncomment the following two lines two lines in the SNMP End Consumer section. LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH Note: The configuration changes will not take effect until you restart the cimlistener daemon in step 7. To enable SNMP access, edit the /etc/init.d/dasnmp file and uncomment the following two lines in the section regarding the location of the net-snmp libraries. LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH Configure the SNMP daemon that ships with Red Hat Enterprise to support AgentX agents. For details, see the documentation on the Net-SNMP Web Site. Create the file /usr/local/share/snmp/snmpd.conf to specify trapsink and trapcommunity settings. You might have to create the directory. This file should contain only settings for trapcommunity and trapsink. Specify a trap community value by adding a line containing the word trapcommunity followed by a space and the trapcommunity value, as in the following example. trapcommunity public Specify a trapsink value for each destination to which IBM Director will send SNMP traps. Add a line containing the word trapsink followed by a space and the trapsink value, as in the following example. trapsink 192.168.1.1 Restart the cimlistener daemon by typing the following commands and pressing Enter after each: /etc/init.d/dacimlist stop Confidentiel Coservit Page 8

/etc/init.d/dacimlist start Restart the IBM Director AgentX subagent by typing the following commands and pressing Enter after each: /etc/init.d/dasnmp stop /etc/init.d/dasnmp start Confidentiel Coservit Page 9

Siège social Agence Grenoble 13 rue des Trembles 38100 Grenoble Tel : +33 (0) 4 76 70 57 10 Agence Paris 20 rue du docteur Georges Lafosse 92170 Vanves Tel : +33 (0) 1 41 90 68 30 www.coservit.fr Copyright 2009 Coservit. Tous droits réservés