Nagios - Monitoring Extension

Nagios is an open source computer system, network, and infrastructure monitoring software application.

 

The Nagios monitoring extension executes various Nagios scripts at user configurable intervals and display their results in the AppDynamics Metric Browser.

 

This extension works only with the standalone machine agent.

 

Installation

 

  1. Download the file NagiosMonitor.zip into <machineagent install dir>/monitors/
  2. Unzip the downloaded file and cd into NagiosMonitor
  3. Open the monitor.xml file and edit the project path to the NagiosMonitor/scripts directory that was just created
  4. Open the conf/scripts.xml file and add the appropriate scripts such as those in the scripts.xml example.
  5. Restart the Machine Agent.
  6. In the AppDynamics Metric Browser, look for: Application Infrastructure Performance | <Tier> | Custom Metrics | Monitoring | Nagios | Status | <script name>

  

Nagios Script Return Codes

 

The Nagios scripts should return the following codes:

 

CodeValue
0OK
1WARNING
2CRITICAL
3UNKNOWN

 

 Note: The Nagios scripts must have read access by the Machine Agent for the monitoring extension to execute them.

 

Metric Browser

 

nagios.png

 

 

 

Contributing

 

Always feel free to fork and contribute any changes directly via GitHub.

 

Support

 

For any support questions, please contact ace@appdynamics.com.

 

 

Version:

2.2

Compatibility:

3.7

Last Update:

12/17/2013

 

Release Notes:

2.1 - Addressed issue where the extension was not honoring the period specified in the configuration file.

2.2 - Fixed logging bug