Waarschuwingsregel sysid-configuratie

Microsoft.Solaris.10.LogFile.Syslog.Sysidconfig.Command.Alert (Rule)

Waarschuwingsregel voor sysid-configuratieberichten.

Knowledge Base article:

Samenvatting

Een fout aangetroffen in het logboekbestand voor sysidconfig. Sysidconfig wordt uitgevoerd tijdens de eerste installatie en tijdens het opnieuw opstarten bij een configuratiewijziging.

Configuratie

Deze regel is standaard uitgeschakeld. Als u deze regel wilt inschakelen voor bewaking, gebruikt u onderdrukkingen om het pad naar het logboekbestand te configureren en de regel in te schakelen. Het pad naar het logboekbestand wordt ingesteld met de onderdrukbare eigenschap LogFile, en de waarde moet worden ingesteld op het volledige pad naar het logboekbestand dat deze gebeurtenis ontvangt, zoals gedefinieerd in de syslog-configuratie. Onderdrukkingen kunnen worden gebruikt om de parameterwaarden te wijzigen voor alle exemplaren of voor specifieke exemplaren of groepen.

Oorzaken

Een fout of een waarschuwing kan erop wijzen dat de configuratie voor een apparaat of een toepassing is mislukt.

Oplossingen

Controleer de configuratie voor de mislukte toepassing of het mislukte apparaat

Element properties:

TargetMicrosoft.Solaris.10.Computer
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Configuratiewaarschuwing voor sysid gedetecteerd
{0}

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Unix.SCXLog.Datasource Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Solaris.10.LogFile.Syslog.Sysidconfig.Command.Alert" Target="Microsoft.Solaris.10.Computer" Enabled="true" Remotable="true">
<Category>EventCollection</Category>
<DataSources>
<!-- [TYPE] Solaris SysID False -->
<!-- [INPUT] Executing Configuration Applications at: Thu Mar 29 06:07:45 2007 -->
<!-- [INPUT] Executing config app: /usr/sbin/sysidnfs4 -->
<!-- [INPUT] Executing config app: /usr/sbin/sysidpm -->
<!-- [INPUT] Executing config app: /lib/svc/method/sshd -->
<!-- [INPUT] Executing config app: /usr/lib/cc-ccr/bin/eraseCCRRepository -->
<!-- [INPUT] Completed Executing Configuration Applications at: Thu Mar 29 06:07:45 2007 -->
<DataSource ID="EventDS" TypeID="Unix!Microsoft.Unix.SCXLog.Datasource">
<Host>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</Host>
<LogFile>/var/log/sysidconfig.log</LogFile>
<RegExpFilter>.+</RegExpFilter>
<IndividualAlerts>false</IndividualAlerts>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Solaris.10.LogFile.Syslog.Sysidconfig.Command.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>