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

RDP Link

Rating
1 vote
Favoured:
0
Last Release Date
2015-06-23
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
Hits
5632
Files:
FileDescription
notes.gifnotes.gif
rdp.phprdp.php
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
You can add to Nagios quick RDP-link for connection to Windows servers.
The script php-rdp-builder downloaded from https://code.google.com/p/php-rdp-builder. Thanks to author.

1. Get the script and put it to nagios web folder (/usr/local/nagios/share).

2. Give access to the script:
#chown nagios:nagios /usr/local/nagios/share/rdp.php
#chmod +x /usr/local/nagios/share/rdp.php

3. Edit you nagios template windows-server (for example) and add notes_url directive:
define host{
name windows-server
use generic-host
contact_groups admins
icon_image workstation2.png
statusmap_image workstation2.png
notes_url /nagios/rdp.php?autoconnect=1&full_address=$HOSTADDRESS$:3389&name=$HOSTNAME$
register 0
}

4. Optional. You may to replace /usr/local/nagios/share/images/notes.gif with rdp logo (see in attachment).

5. Check nagios configuration and reload.

In result you'll see link near hostname, that generate RDP-file by click.