ENABLE TELNET-SSH ACTIONS IN DEVICE TOOLS - (Access Linux Servers, Cisco Switches and Routers)
Access to devices using Telnet - ssh protocols, can run making the integration of PRTG network monitor with KITTY application.
The function (Telnet, SSH) in PRTG can facilitate the work of network administrators, allowing direct access to Linux servers, Cisco switches and routers, through CLI command line interface using the Kitty application.
Device Context Menu - Device Tools with action (TELNET - SSH).
https://www.paessler.com/manuals/prtg/context_menus
Activates the actions (TELNET - SSH) in PRTG Network Monitor
To activate the function (TELNET, SSH) in the application of PRTG you must edit the file (_Prtg.ContextMenus.js) in the folder C: \ Program Files (x86) \ PRTG Network Monitor \ webroot \ javascript
- The original code in black must be changed and become like the bold code.
Contextmenu for devices
Original Code
"openssh": function (t) { _Prtg.objectTools.windows.openSSHWindow((t.attr('data-id')||t.attr('id')), "http"); },
"opentelnet": function (t) { _Prtg.objectTools.windows.openTelnetWindow((t.attr('data-id')||t.attr('id')), "http");},
Bold Code
"openssh": function (t) { _Prtg.objectTools.windows.openWindow((t.attr('data-id')||t.attr('id')), "ssh"); },
"opentelnet": function (t) { _Prtg.objectTools.windows.openWindow((t.attr('data-id')||t.attr('id')), "telnet"); },
- Add the code in Bold between the original code in black.
Original Code in Black
{ cls:'device hideforreadonlyuser', id:'serviceurl', ui:'link', caption:'<#langjs key="js.contextmenus.Tools.ServiceURL" default="Go To Service URL">…'},
Bold Code
{ cls:'device hideforreadonlyuser separator', id:'opentelnet', ui:'extlink', caption:'<#langjs key="js.contextmenus.Tools.opentelnet" default="New window with TELNET">…'},
{ cls:'device hideforreadonlyuser', id:'openssh', ui:'extlink', caption:'<#langjs key="js.contextmenus.Tools.openssh" default="New window with SSH">…'},
Original Code in Black
{cls:'device hideforreadonlyuser separator', id:'openhttp', ui:'extlink', caption:'<#langjs key="js.contextmenus.Tools.OpenHTTP" default="New window with HTTP">…'},
Device Menu image after applying the above settings with the action (TELNET- SSH)
https://www.paessler.com/manuals/prtg/context_menus
- New window with TELNET...
Open a new browser window with action (TELNET) and redirect for IP address of the device in application KITTY to make the connection.
- New window with SSH...
Open a new browser window with action (SSH) and redirect for IP address of the device in application KITTY to make the connection.
KITTY - Command Line Interface - TELNET-SSH
KITTY settings
- Download Application kitty.exe .
http://www.9bis.net/kitty/index.php?page=Download
- Create KiTTY folder in the path (C: \ Program Files) and add the executable kitty.exe program.
(C:\Program Files\KiTTY\kitty.exe)
- Download and run the file (kitty_ssh_handler.reg) to update the Windows registry with the environment variables Kitty.exe.
http://www.9bis.net/kitty/index.php?page=SSH%20Handler&zone=en
http://www.9bis.net/kitty/#!pages/SSHHandler.md
After following the steps above you can access HTML pages with links (telnet: and ssh: ) connection running these protocols.
Device Menu with the action (TELNET-SSH)
https://www.paessler.com/manuals/prtg/context_menus
Zarate Max
Add comment