I want to set up remote probes automatically and configure them remotely via Kaspersky's Admin Kit or other deployment tools.
How can I automatically deploy and configure remote probes using Kaspersky Admin Kit or other tools?
5 Replies
Using Remote Probes
For a general introduction to remote probes, please see manual section Multiple Probes and Remote Probes.
Deploy and Auto-Configure Remote Probes Using Kaspersky
There is a small C++ command line program that can be used to auto-configure remote probes using Kaspersky Admin Kit deployment. The program uses minimal DLLs (only Kernel32.dll and advAPI32.dll) to avoid installation of MSVC++ 2008 Runtime. This article describes how you can set up and configure PRTG's remote probes remotely.
Note: PRTGRemoteProbeCfg is a freeware add-on from PRTG's user community. It comes with no warranty and we cannot officially support it.
A big "Thank You!" to Vincent from Nolmë Informatique for sharing this tool!
Steps to take
- In the PRTG web interface, choose Setup | Downloads from the main menu and download the Remote Probe Installer (PRTG_Remote_Probe_Installer.exe).
- Deploy the remote probes using Kaspersky Network Agent:
PRTG_Remote_Probe_Installer.exe /SILENTFor help with this, see Kaspersky Technical Support. - Download http://code.google.com/p/prtg7addons/downloads/detail?name=PRTGRemoteProbeCfg1.0.0.500.exe from Google Code
[UPDATE] New version available here: http://code.google.com/p/prtg-addons/downloads/detail?name=PRTGRemoteProbeCfgV9.exe - Set parameters for a remote computer using Kaspersky Network Agent and PRTGRemoteProbeCfg.exe (renamed). Example:
PRTGRemoteProbeCfg.exe /SERVERADDRESS <MyServerPublicIPAddress> /SERVERPORT 23560 /KEY <MyHashKey> /TAG NOLME_ - Machine does not need to be rebooted to take changes. If you want to check the connection between Remote Probe and Server, please see PRTG 7 manual section Multiple Probes and Remote Probes for more information.
Notes
- You can run PRTGRemoteProbeCfg.exe without any parameter to display help.
- The program produces a debug log file in %TEMP%/NolmeDebug.log
- If no name is specified, the program gets the machine's name (which should be unique for all good network admin ;p). Tag is inserted before for "classification".
- Although these instructions are optimized for Kaspersky, remote deploy should work similar with other tools like OCS Inventory, Kaseya, ManageEngine Desktop Central, etc.
Help
--------------------------------------------------------------------------------
Paessler PRTG Remote Probe Configuration Help - (c) 2010 Nolmë Informatique
--------------------------------------------------------------------------------
Version : 1.0
Encoding : UNICODE
DESCRIPTION
~~~~~~~~~~~
Set remote probe configuration for Paessler PRTG Monitor
SYNTAX
~~~~~~
PRTGREMOTEPROBECFG [/SERVERADDRESS[:]address] [/SERVERPORT[:]port] [/KEY[:]access key] [/LANGUAGE[:]language] [/RECONNECTTIME[:]time]
[/TAG[:]tag name] [/WORKGROUPPREFIX] [/NAME[:]probe name]
[/NORESTARTSERVICE]
/? Display help. Must be UNIQUE parameter
/SERVERADDRESS Define remote server address
Address can be an IP or FQDN
Default : 127.0.0.1
/SERVERPORT Define remote server port
Port can be in [1..65536]
Default : 23560
/KEY Access key hash code
See in registry of server to get hash code (DECIMAL)
Default : 0
/LANGUAGE Set default language
English : english.lng
French : french.lng (Default)
German : german.lng
Japanese: japanese.lng
Spanish : spanish.lng
/RECONNECTTIME Time sync (in seconds) with server
Default : 300
/TAG Define local probe tag name
Add this tag before probe name
Default : PROBE_
/WORKGROUPPREFIX Add computer workgroup name in probe name
Default : <none>
/NAME Define local probe name
If not specified, machine name will be used. /TAG can be combined
Default : MyProbe
/NORESTARTSERVICE Don't restart PRTG service after installation (Default: false)
Arguments are not case sensitive. You can use both slash '/' or '-' for specifying options.
Version History
Build : 1.0.0.500 : Help displayed from command line display good default value
Build : 1.0.0.400 : No need to restart computer to apply changes Add workgroup/domain name in probe name generation (see parameter: WORKGROUPPREFIX) Add parameter to avoid service restart (see parameter NORESTARTSERVICE)
Created on Mar 2, 2010 9:39:01 AM by
Daniel Zobel [Paessler Support]
(21,383)
●3
●3
Last change on Feb 28, 2012 12:14:07 PM by
Daniel Zobel [Paessler Support]
(21,383)
●3
●3
Can this tool (PRTGRemoteProbeCfg.exe) be updated for PRTG v9? Currently the tool is geared for v7, and it essentially is updating the Registry with the settings defined in the command line. The tool works properly and successfully, but it stores the settings at [HKEY_LOCAL_MACHINE\SOFTWARE\Paessler\PRTG Network Monitor\V7\Probe] which is an old location no longer used by PRTG v9. The correct new location is [HKEY_LOCAL_MACHINE\SOFTWARE\Paessler\PRTG Network Monitor\Probe] for v9. Hopefully this is a quick and simple fix, because we could really, really use this function for our remote deployments. Right now, we are having to push .REG files, which are much more difficult to script for special per-machine settings like Probe Name, etc. Thank you!
Oh yes, I also forgot to mention. We noticed that this tool hangs if we don't include the /NORESTARTSERVICE switch. I assume it is because the older v7 used a different Service Name than on v9? Probably another fairly easy fix, I hope. Thanks!
Created on Nov 2, 2011 4:39:00 PM by
Network Services
(0)
●1
Last change on Nov 2, 2011 5:00:05 PM by
Daniel Zobel [Paessler Support]
(21,383)
●3
●3
Hi,
I'll make a new version to update the tool to V9.
@nolme: Please let us know when we can help. We would be happy to upload the new version, too!
Please find the new version of the tool on the Google Code page:
http://code.google.com/p/prtg-addons/downloads/detail?name=PRTGRemoteProbeCfgV9.exe
Created on Feb 28, 2012 12:11:40 PM by
Daniel Zobel [Paessler Support]
(21,383)
●3
●3
Last change on Feb 28, 2012 12:14:32 PM by
Daniel Zobel [Paessler Support]
(21,383)
●3
●3
Please log in or register to enter your reply.
Add comment