Submit a ticketCall us

AnnouncementUpgrading SolarWinds Orion Platform products has never been easier!

The SolarWinds Orion Installer is an all-in-one application for installations and upgrades. You use one installer to install or upgrade multiple Orion Platform products and install or upgrade Additional Polling Engines, Additional Web Servers, and High Availability Servers.

Learn more in the SolarWinds Orion Installer.

Home > Success Center > Archive > 2018October02 - Deletes > Convert ipMonitor scripts to Orion APM

Convert ipMonitor scripts to Orion APM

Updated September 21, 2018

Overview

This article provides information about converting ipMonitor scripts for use with Server and Application Monitor (SAM) (formerly known as Application Performance Monitor ([APM])

Environment

All ipMonitor versions

Details

Any script used in ipMonitor is not directly compatible with SAM, since SAM is more powerful and flexible. ipMonitor scripts would need to be modified for use with SAM, as described below.

ipMonitor scripts

With ipMonitor scripts, third party monitor expects a specific exit code to be returned by an exit code or environment variable. You indicate what the expected value should be, and pass/fail is based on that value.

SAM scripts

With SAM scripts, the script returns 0 (for up), 1 (for down), 2 (for warning), or 3 (for critical).

SAM can track a statistic as returned by the script. Send the following through standard out: “Statistic: #<CRLF>” to allow SAM to track the value over time. This is a required field (if no statistic, return 0).

SAM can include a textual message to send back to the UI or alerts. Send the following through standard out: “Message: Your message goes here<CRLF>” to allow APM to track an error or information message. This is not a required field.

See Creating a Linux/Unix Script monitor for details about how SAM uses Linux/Unix scripting.

 

 

 

Last modified

Tags

This page has no custom tags.

Classifications

Internal Use Only