Users Guide
Configurationducontrôled'accèsdel'agentSNMP
Labranchedebased'informationsdegestion(MIB)implémentéeparServerAdministratorestidentifiéeparl'OID1.3.6.1.4.1.674.Lesapplications
ManagementStationdoiventavoiraccèsàcettebranchedel'arborescenceMIBpourpouvoirgérerlessystèmesexécutantServerAdministrator.
Pourlessystèmesd'exploitationRedHatEnterpriseLinuxprisencharge,laconfigurationdel'agentSNMPpardéfautnedonneunaccèsenlectureseulequ'à
labranchesystème MIB-II(identifiéeparl'OID1.3.6.1.2.1.1)del'arborescenceMIBpourlacommunautépublic. Cette configuration ne permet pas aux
applicationsdegestionderécupéreroudechangerServerAdministratoroud'autresinformationssurlagestiondesystèmeshorsdelabranchesystème MIB-
II.
Actions d'installation de l'agent SNMP de Server Administrator
SiServerAdministratordétectelaconfigurationSNMPpardéfautpendantl'installation,iltentedemodifierlaconfigurationdel'agentSNMPpourfournirunaccèsen
lectureseuleàtoutel'arborescenceMIBpourlacommunautépublic. Server Administrator modifie le fichier de configuration de l'agent SNMP
(/etc/snmp/snmpd.conf)dedeuxmanières.
Lepremierchangementconsisteàcréerunaffichagedetoutel'arborescenceMIBenajoutantlalignesuivantesiellen'existepasencore:
view all included .1
Lesecondchangementconsisteàmodifierlaligned'accèspardéfautpouroffrirunaccèsenlectureseuleàtoutel'arborescenceMIBpourlacommunauté
public.ServerAdministratorcherchelalignesuivante:
access notConfigGroup "" any noauth exact systemview none none
Si Server Administrator trouve la ligne ci-dessus,illamodifiedelamanièresuivante:
access notConfigGroup "" any noauth exact all none none
Ceschangementsapportésàlaconfigurationdel'agentSNMPpardéfautoffrentunaccèsenlectureseuleàtoutel'arborescenceMIBpourlacommunauté
public.
Server Administrator SNMP communique avec l'agent SNMP utilisant le protocole de multiplexage SNMP (SMUX). Quand Server Administrator SNMP se connecte
àl'agentSNMP,ilenvoieunidentificateurd'objetàl'agentSNMPpours'identifierentantqu'homologueSMUX.Étantdonnéquecetidentificateurd'objetdoit
êtreconfiguréavecl'agentSNMP,ServerAdministratorajoutelalignesuivanteaufichierdeconfigurationdel'agentSNMP(/etc/snmp/snmpd.conf) pendant
l'installationsiellen'existepasencore:
smuxpeer .1.3.6.1.4.1.674.10892.1
ChangementdunomdecommunautéSNMP
LaconfigurationdesnomsdecommunautéSNMPdéterminequelssystèmespeuventgérervotresystèmeparSNMP.LenomdecommunautéSNMPutilisépar
lesapplicationsSystemsManagementdoitcorrespondreaunomdecommunautéSNMPconfigurésurlesystèmelogicielServerAdministratorpourqueles
applicationsSystemsManagementpuissentrécupérerlesinformationsdegestionauprèsdeServerAdministrator.
PourmodifierlenomdecommunautéSNMPutilisépourrécupérerlesinformationsdegestiondepuisunsystèmeexécutantServerAdministrator,modifiezle
fichier de configuration de l'agent SNMP (/etc/snmp/snmpd.conf)etprocédezcommesuit:
1. Trouvezlaligne:
com2secpublicsecdefaultpublic
ou
com2secnotConfigUserdefaultpublic
2. ModifiezcetteligneenremplaçantpublicparlenouveaunomdecommunautéSNMP.Unefoismodifiée,lanouvellelignedoitêtre:
com2sec publicsec default nom_de_communauté
ou
com2sec notConfigUser default nom_de_communauté
3. PouractiverlesmodificationsdelaconfigurationSNMP,redémarrezl'agentSNMPentapant:
service snmpd restart
ActivationdesopérationsSetSNMP
ActivezlesopérationsSetSNMPsurlesystèmedotédeServerAdministratorpourpouvoirmodifierlesattributsdulogicielServerAdministratoravecIT
Assistant.Pouractiverl'arrêtdistantd'unsystèmeàpartird'ITAssistant,activezlesopérationsSetSNMP.
REMARQUE:AfindegarantirqueServerAdministratorestcapabledemodifierlaconfigurationdel'agentSNMPpourfournirunaccèsappropriéaux
donnéesdegestiondesystèmes,ilestrecommandéquetoutautrechangementdeconfigurationdel'agentSNMPsoiteffectuéaprèsavoirinstallé
Server Administrator.