How to Migrate Nagios Scripts toSolarWinds Server & Application Monitor
AgendaIn this How-to we’ll walk you through two really quick and simple stepsto migrate Nagios scripts to SolarWinds Serve...
Leveraging Nagios Scripts for IT InfrastructureMonitoring Nagios is a popular Open Source computer system monitor that is...
Migrating Nagios Scripts to SolarWindsServer & Application Monitor SolarWinds Server & Application Monitor (SAM) allows y...
Step 1: Apply Nagios Script Monitor to yourMonitoring Template The Nagios Script Monitor is a component monitor available...
Step 2: Run Nagios script using Nagios   Script Monitor Once the Nagios Script  Monitor is added, click Edit.  This will ...
Some Nuggets to Note in Getting the Script Output Some points to be noted in getting the script output:    » The monitori...
Output Statistics of Nagios Script Monitor fromSolarWinds SAM’s Intelligent DashboardHow-to Migrate Nagios Scripts to Sola...
Helpful Resources   If you have Nagios and need a better way to monitor scripts , we invite you to learn more about   Sola...
Author Jennifer KuvleskyThank You!
Upcoming SlideShare
Loading in...5
×

How To: Migrate Nagios Scripts

1,007
-1

Published on

To learn more about SAM, visit: http://www.solarwinds.com/server-application-monitor.aspx

In this How-To we’ll walk you through two really quick and simple steps to migrate Nagios scripts to SolarWinds Server & Application Monitor (SAM)

Learn how to leverage Nagios scripts for IT Infrastructure monitoring and migrate Nagios scripts to SolarWinds Server & Application Monitor.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,007
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How To: Migrate Nagios Scripts

  1. 1. How to Migrate Nagios Scripts toSolarWinds Server & Application Monitor
  2. 2. AgendaIn this How-to we’ll walk you through two really quick and simple stepsto migrate Nagios scripts to SolarWinds Server & Application Monitor(SAM)Leveraging Nagios Scripts for IT Infrastructure MonitoringMigrating Nagios Scripts to SolarWinds Server & Application Monitor  Step 1: Apply Nagios Script Monitor to your Monitoring Template  Step 2: Run Nagios script using Nagios Script Monitor  Some Nuggets to Note in Getting the Script OutputHow-to Migrate Nagios Scripts to SolarWinds SAM - Slide 2 -
  3. 3. Leveraging Nagios Scripts for IT InfrastructureMonitoring Nagios is a popular Open Source computer system monitor that is widely used by enterprises for network, application, server monitoring and other IT infrastructure monitoring. Nagios offers complete monitoring and alerting for servers, applications, networking devices and services. Many network and system administrators use a growing collection of open source Nagios scripts to monitor network devices. These scripts are generally used for confirming the completion of daily backups.How-to Migrate Nagios Scripts to SolarWinds SAM - Slide 3 -
  4. 4. Migrating Nagios Scripts to SolarWindsServer & Application Monitor SolarWinds Server & Application Monitor (SAM) allows you to use your existing Nagios Scripts to extend monitoring coverage. The script processor built into SAM enables you to convert most Nagios scripts into a format that can be used to schedule and run jobs and report findings. SAM also has template monitors available out of the box to run the Nagios script on the SolarWinds SAM server and then process the script’s exit code and text output. SAM has built-in ‘Nagios Script Monitor’ to migrate your self-written Nagios scripts, or any third-party open source Nagios script to for easy and comprehensive monitoringHow-to Migrate Nagios Scripts to SolarWinds SAM - Slide 4 -
  5. 5. Step 1: Apply Nagios Script Monitor to yourMonitoring Template The Nagios Script Monitor is a component monitor available within SolarWinds SAM that can be applied to any out-of-the-box or user-defined monitoring template. First, create a new application monitor template or select a built-in template. Click on the Add Component Monitor button to the Nagios Script Monitor to your template. This component monitor uses SSH to upload a script to a server, runs the script, then processes the script exit code and text output. This has the ability to return multiple results and has the ability to process Nagios resulting output. Click Add Component Monitor >> Apply Nagios Script Monitor to your application monitor templateHow-to Migrate Nagios Scripts to SolarWinds SAM - Slide 5 -
  6. 6. Step 2: Run Nagios script using Nagios Script Monitor Once the Nagios Script Monitor is added, click Edit. This will open the Edit Script window. Now, paste your Nagios Script in the Script Body field, and add the directory name in the command line. You have to select the server node where SolarWinds SAM will need to run the component monitor. Click Get Script Output to select the server node. The Command Line parameters taken for the above script are: •directory – This is the path of the directory (e.g. /bin,/etc,/usr/local,/) •sub – Include subdirectories. This parameter is optional. How-to Migrate Nagios Scripts to SolarWinds SAM - Slide 6 -
  7. 7. Some Nuggets to Note in Getting the Script Output Some points to be noted in getting the script output: » The monitoring statistic (that is to be returned with the output) needs to be defined in the script. » A maximum of 10 output pairs can be returned. If you exceed the maximum allowed, remove the excess output pairs or they will simply be ignored. » Nagios determines the status of a host or service by evaluating the return code. The following table shows a list of valid return codes, along with their corresponding service or host states . Return Code Service State Host State 0 Ok Up 1 Warning Up or Down/Unreachable 2 Critical Down/Unreachable 3 Unknown Down/UnreachableTest result of a Nagios Script which counts the number of files, directories, and symbolic links in a given directory How-to Migrate Nagios Scripts to SolarWinds SAM - Slide 7 -
  8. 8. Output Statistics of Nagios Script Monitor fromSolarWinds SAM’s Intelligent DashboardHow-to Migrate Nagios Scripts to SolarWinds SAM - Slide 8 -
  9. 9. Helpful Resources If you have Nagios and need a better way to monitor scripts , we invite you to learn more about SolarWinds Server & Application Monitor Watch Video Test Drive Live Demo Ask Our Community Download 30-day Free Trial Click any of the links above - Slide 9 -
  10. 10. Author Jennifer KuvleskyThank You!

×