Process Portmap Service Health

Microsoft.Linux.XenServer.6.Process.Portmap.Monitor (UnitMonitor)

Citrix XenServer 6 Process Portmap Monitor

Knowledge Base article:

Summary

This process monitor watches for the port mapper process to be running. The portmap daemon converts RPC program numbers into Internet port numbers.

Causes

A failure indicates that the portmap service on the system is down

Resolutions

Check the service by running ps -ef | grep portmap or by viewing the diagnostic in the Operations Manager Console. Start it by running the command "service portmap start" or by clicking the recovery link in the Operations Manager Console.

For root cause analysis, first check the system logfile (/var/log/messages), and view any related entries at the time of failure.

Element properties:

TargetMicrosoft.Linux.XenServer.6.OperatingSystem
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Process.Status.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Citrix XenServer 6 Process Portmap Monitor Alert
The Portmap Mapper on server {0} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.XenServer.6.Process.Portmap.Monitor" Accessibility="Public" Target="Microsoft.Linux.XenServer.6.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Process.Status.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.XenServer.6.Process.Portmap.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Running"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="NotRunning"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<ProcessName>portmap</ProcessName>
<Interval>300</Interval>
</Configuration>
</UnitMonitor>