Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

VMWare vCenter alarm sender

Current Version
2.0
Last Release Date
2013-07-30
Compatible With
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
83753
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
A plugin for passive monitoring of vCenter infrastructure via the native VMWare alarms interface.
**DEVELOPMENT OF THIS PLUGIN HAS CEASED AS OF 14/6/2014, IF YOU WOULD LIKE TO TAKE OVER THIS PROJECT PLEASE CONTACT THE LISTED EMAIL ADDRESS**

Description:
A simple Powershell script for sending VMWare alarm information back to Nagios via the NRDP interface. Compatible with vCenter 3.5, 4.x, 5.x.

Usage:
1. Extract the vmware_sender directory onto your vCenter servers. Ensure there are NO SPACES to the extracted path.

*NOTE* As of the the time of writing, I’ve been unable to get vCenter to execute a Powershell script if there is a space in the path. If you have a workaround please contact me.

2. Create an alarm in vCenter and configure something to monitor, i.e. Virtual Machine CPU usage.
3. Under the actions tab of alarm settings click add then select “Run a command” as the action.
4. In the configuration section put the following:
"cmd.exe" "/c echo.|powershell -NonInteractive -File C:PathTovmware_sendervmware_sender.ps1 -map vsc"
5. Save the alarm.

Read the README file in the zip file for full instructions.

-nrdpurl
The URL used to access the remote NRDP agent. i.e. http://nagiosip/nrdp/
-nrdpurl
The URL used to access the remote NRDP agent. i.e. http://nagiosip/nrdp/
-nrdptoken
The authentication token used to access the remote NRDP agent.
-hostname
The name of the host associated with the passive host/service check result.
-service
The name of the service associated with thischeck result.
-state
The state of the service. Valid values are: OK, Green, WARNING, Yellow, CRITICAL, Red, UNKNOWN
-output
Text output to be sent as the passive check result.
-activecheck
Used to specify active or passive check, 0 = active, 1 = passive. Defaults to passive.
-map
Name of the output map to use in the vmware_sender.ini file, for more information read the README
-help
Display this help text.