Calls of an Adobe Flash Media Server API method that is used by the management pack are not possible.
The management pack makes use of this method for discovery, performance collection rules and availability monitors by querying the FMS Administrator web interface. If the call is not possible these processes will not work as expected.
The management pack uses the following methods:
getAdaptors()
getApps()
getAppStats()
getServerStats()
getVHosts()
getVHostStats()
- FMS Admin Windows Service not running
- No access to Administration API via HTTP
- Method execution not allowed
Make sure the FMS Admin Windows Service is running
Check that it is possible to call methods over HTTP
- Open fms.ini file in the /conf folder
- Make sure that USERS.HTTPCOMMAND_ALLOW is set to true
- Open Users.xml in the /conf folder and check the bold lines in the example below.
<Root>
<UserList>
<!-- This tag defines an administrator for the server. -->
<User name="${SERVER.ADMIN_USERNAME}">
<Password encrypt="false">${SERVER.ADMIN_PASSWORD}</Password>
<Allow>127.0.0.1</Allow>
<Deny></Deny>
<Order>Allow,Deny</Order>
</User>
</UserList>
<AdminServer>
<HTTPCommands>
<Enable>true</Enable> <Allow>ping,getAdaptors,getApps,getAppStats,getServerStats,getVHosts,getVHostStats</Allow>
<Deny></Deny>
<Order>Allow,Deny</Order>
</HTTPCommands>
</AdminServer>
</Root>
- Restart the FMS Admin Service
More details can be found in the documentation of Adobe Flash Media Server. The following documents contain information on how to configure and use the API.
Adobe Flash Media Server – Configuration and Administration Guide
Adobe Flash Media Server – Administration API Reference
Target | Custom.Adobe.FlashMediaServer.x.Role | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Custom.Adobe.FlashMediaServer.GetDiscoveryQueries.MonitorType | ||
Remotable | False | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Custom.Adobe.FlashMediaServer.GetVHostStats.QuerySuccess.Monitor" Accessibility="Public" Enabled="true" Target="Custom.Adobe.FlashMediaServer.x.Role" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="false" Priority="Normal" TypeID="Custom.Adobe.FlashMediaServer.GetDiscoveryQueries.MonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Custom.Adobe.FlashMediaServer.GetVHostStats.QuerySuccess.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='getVHostStats returncode']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="QuerySucceeded" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="QueryFailed" MonitorTypeStateID="Failure" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3780</IntervalSeconds>
<FMSAdminURL>$Target/Property[Type="Custom.Adobe.FlashMediaServer.x.Role"]/FMSAdminAddress$</FMSAdminURL>
<FMSIniFile>$Target/Property[Type="Custom.Adobe.FlashMediaServer.x.Role"]/FMSIniFile$</FMSIniFile>
<FMSAPIMethod>getVHostStats</FMSAPIMethod>
<SuccessString>NetConnection.Call.Success</SuccessString>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>