HostMonitor's Main Page Telnet Service
Version 1.50
Copyright (c) 2000-2022 Advanced Network Software
Current language: Spanish
Switch language to: English
Simplified   Traditional
  What's New Que hay de nuevo    Copyright/License/Warranty Copyright/Licencia/Garantía    Download HostMonitor Descarga    Registration Information Registrarse   

network monitoring package HM Telnet Service es una aplicacion auxiliar para HostMonitor. Se incluye en el paquete Advanced Host Monitor. La licencia Enterprise para Advanced Host Monitor ya incluye una licencia para HM Telnet Service. Los titulares de licencias Starter o Professional pueden comprar una licencia adicional para el servicio Telnet por separado.


Intro    Configuracion    Comandos    Requisitos del sistema    Precio

telnet service Esta aplicacion funciona como un servidor Telnet y le permite controlar HostMonitor de forma remota utilizando cualquier cliente Telnet. El servicio Telnet le permite verificar el estado breve o detallado de cualquier prueba y carpeta. Tambien puede deshabilitar y habilitar pruebas, restablecer estadisticas, forzar la ejecucion de pruebas e incluso cambiar algunos parametros de las pruebas. HM Telnet Service le permite iniciar o detener el proceso de monitoreo, habilitar o deshabilitar alertas, cambiar variables macro globales, etc.

Caracteristicas:

  • Toda la transmision de datos entre HostMonitor y Telnet Service esta encriptada y protegida con contrasena;
  • HostMonitor & Telnet Service le permite configurar diferentes cuentas de usuario con diferentes conjuntos de permisos;
  • La aplicacion se puede instalar en el sistema HostMonitor o se puede ubicar en cualquier otro sistema al que se pueda acceder mediante el protocolo TCP/IP;
  • El servicio Telnet se puede iniciar como una aplicacion normal o como un servicio Win32.

Ajustes
Es muy facil configurar el Servicio Telnet:

Configuracion de RCI (Remote Control Interface)

  • Address: aqui debe proporcionar una direccion del sistema donde esta instalado HostMonitor (mantenga el valor predeterminado '127.0.0.1' si HostMonitor y Telnet Service estan instalados en el mismo sistema)
  • Port: proporcione el puerto TCP que utiliza la interfaz de control remoto de HostMonitor (1054 por defecto)
  • Timeout: Tiempo de espera: la cantidad maxima de tiempo (en segundos) que el servicio Telnet seguira esperando la respuesta de HostMonitor antes de devolver una respuesta de error al cliente.
Configuracion del servidor Telnet
  • Port: puerto TCP que el servicio Telnet utiliza para escuchar las conexiones entrantes del cliente telnet (el puerto TCP predeterminado para el protocolo telnet es 23. Es posible que deba cambiarlo en caso de que ya tenga un servidor telnet normal ejecutandose en el mismo sistema).
  • Application status: Estado de la aplicacion: configure "Active" para activar el servicio Telnet (comenzara a escuchar las conexiones entrantes y respondera a las solicitudes de cualquier cliente Telnet). Si inicia el software como un servicio Win32, el servidor telnet se activara independientemente de esta opcion al iniciar el sistema.
Win32 service mode:
Este grupo de controles le permite verificar el estado del servicio de Windows, instalar/desinstalar, iniciar o detener el servicio:
  • Install / Uninstall: este boton le permite instalar/desinstalar software como un servicio Win32
  • Start / Stop: este boton le permite iniciar/detener el servicio

Para permitir la administracion remota de HostMonitor a traves del cliente telnet, siga estos sencillos pasos:
  • iniciar HostMonitor
  • configurar la interfaz de control remoto de HostMonitor en la pagina RCI en el cuadro de dialogo Opciones
  • configurar cuentas de usuario: use el menu de HostMonitor "User"->"Operators"
  • inicie el servicio Telnet. Puede iniciarlo en el mismo sistema donde se ejecuta HostMonitor o en cualquier sistema que tenga una conexion TCP/IP con el sistema de HostMonitor. P.ej. HostMonitor se puede instalar en el servidor dentro de una red corporativa, pero el servicio Telnet se puede ejecutar en la computadora de su hogar.
  • configure el servicio Telnet: proporcione una direccion del sistema HostMonitor y el puerto TCP que haya especificado para RCI

Ahora puede iniciar el cliente telnet (p. ej., el cliente estandar incluido en Windows) y conectarse a HostMonitor utilizando una direccion del sistema donde se ejecuta el servicio Telnet (p. ej., 209.173.80.15 o www.mycompany.com).
Si esta ejecutando un servidor Telnet regular y nuestro Servicio Telnet esta instalado en el mismo sistema, cambie el puerto TCP de nuestro Servicio Telnet de 23 (predeterminado) a cualquier otro. En este caso, tambien debera especificar este numero de puerto para el cliente telnet.

Nota: los datos transferidos entre HostMonitor y TelnetService estan encriptados. Los datos transferidos entre TelnetService y el cliente telned NO estan encriptados. Si no puede usar VPN o la instalacion local de TelnetService (cliente telnet y servicio telnet en el mismo sistema), entonces es mejor usar Remote Control Console (RCC) o WebService en modo HTTPS. En tales casos, los datos sin cifrar nunca se transfieren a traves de la red.


Comandos

Cuando inicie el cliente telnet y establezca una conexion con el servicio Telnet, se le pedira su nombre de usuario y contrasena. Luego obtendra los derechos y permisos que se especifican en su cuenta de usuario. P.ej. "Admin" puede realizar cualquier operacion, "Guest" solo puede ver los estados de prueba, etc.

Despues de iniciar sesion, puede escribir comandos que ejecutara el servicio Telnet. Luego vera las respuestas de HostMonitor.
Aqui hay algunas reglas comunes para los comandos:

  • los comandos no distinguen entre mayusculas y minusculas (por ejemplo, "stop monitoring" y "STOP Monitoring" significan lo mismo);
  • los parametros de los comandos (p. ej., <test name> or <group name>) distinguen entre mayusculas y minusculas;
  • los parametros que se muestran en [..] son opcionales, puede usarlos o no;
  • simbolo '|' significa uno u otro (por ejemplo, <test name> | <group name> significa que puede proporcionar el nombre de la prueba o el nombre del group especial);
  • si algun parametro (p. ej., <test name>) incluye espacios, concluya el parametro entre comillas dobles o simples (p. ej., TestInfo 'Main Router').

Lista de comandos disponibles:

ComandoParametrosDescripcion
- comandos de gestion:
Getstatus   Retrieves information about HostMonitor (version, status of the application, parameters).
Start monitoring   Starts monitoring. Accomplishes the same action as clicking the Start button on the Main window of HostMonitor.
Stop monitoring   Stops monitoring. HostMonitor will still remain running as an application (or as Win32 service) but will not perform any tests.
Enable alerts   Enables alert actions of HostMonitor.
Disable alerts   Disables alert actions of HostMonitor.
PauseMonitoring <interval> Pauses monitoring for specified time (time should be specified in minutes).
PauseAlerts <interval> Pause alerts for interval specified in minutes. In other words, all action profiles that usually were triggered by the change of test(s) status will not be executed within N minutes. All scheduled actions (those that are executed by built-in Scheduler) will continue to execute anyway.
ExecuteScript <pathtoscript> Executes specified HM Script.
Example: ExecuteScript "C:\Program Files\HostMon\pause3backuptests.hms"
ImportFromFile <filename>
[SkipDuplicates]
[WriteLog]
Imports test items from special Text file.
SkipDuplicates - optional parameter, HostMonitor will skip item when test item with the same name already present in the TestList.
WriteLog - optional parameter, HostMonitor will record to the system log file information about all errors and warnings during the import process.
SaveTestList   Saves the current test settings using current file name.
Reload app   Reloads HostMonitor (as a service if it was started in Win32 service mode or as an application if it was started as a regular application).
Reload cfg   Forces the HostMonitor to re-read its` settings from INI file (hostmon.ini by default).
Terminate   Terminates HostMonitor.
- folder/test lists:
CD | ChangeFolder <folder name>|<path>

Sets the current folder. All commands affect tests only from the current folder.
You may specify the name of the folder without the full path if it is a subfolder of the current folder. You may specify the full path to the folder which you want to make current. You may use ".." instead of a folder name when you want to step up one level. This command actually uses similar syntax as MS-DOS or UNIX command interpreter.
Examples:
  CD "Main office"
  CD Root\USA\Office
  CD ..
  ChangeFolder ..\..\pingtests\

FL | ShowFolders [-r] Displays the list of subfolders within the current folder. The numbers of Good/Bad/Unknown tests are displayed for each folder.
If an optional parameter "-r" was provided then all descendant subfolders would be displayed as well.
TL | ShowTests [-r] [-s:<sort mode>] Displays the list of all tests (ID, name, status, reply) within the current folder. If an optional parameter "-r" was provided then the tests from all descendant subfolders would be displayed. Another optional parameter "-s:<sort mode>" defines the sorting order. <sort mode> could be one of the following: name, status, testtime, reply, method.
Examples:
  ShowTests
  TL -r
  TL -r -s:name
TI | TestInfo <test name> Displays detailed information about specified test. It tries to find specified test in a current folder, if the test was not found there, HostMonitor continues to check all available folders until it finds the test with the specified name.
TID | TestInfoByID <testID> Displays detailed information about specified test item. Similar to TestInfo command but you should provide test item ID instead of test name.
TCMT | GetTestComments <test name> Show complete comment specified for test item and comments that were provided when operators acknowledged, disabled, paused test or scheduled test to be paused (different kinds of comments separated by '----' line)
TCMTID | GetTestCommentsByID <testID> Similar to GetTestComments command but you should provide test item ID instead of test name.
TDID | TestDependentsByID <testID> Shows list of IDs of all test items that depend on Master test specified by TestID
- los siguientes comandos le permiten crear nuevas carpetas y copiar elementos de prueba; si esta usando plantillas (templates), HostMonitor modificara nuevos elementos de prueba usando variables de carpeta de destino.
CreateFolder <full path to the folder> Creates new folder(s). The value of this parameter should specify the full path to the folder that you want to create.
E.g.
CreateFolder Root\USA Branch\Support\part2\
will successively create 3 folders
- "USA Branch" folder in the "Root" folder,
  - "Support" folder in "USA Branch" subfolder,
    - "part2" folder in "Support" subfolder.
If some (or all) of specified folders already exist, HostMonitor will not create second copy of them.
CopyFolder <srcname>|<id>|<fullpath>
<newname> | <newpath>
[-r]
Creates new folder using all properties of the source folder (such as Reports list, Variables, Color scheme, etc).
Source folder can be specified by its name (if this folder located within current parent folder - folder selected by ChangeFolder command); folder ID or full path to the folder.
Target folder can be specified by name or full path.
Optional parameter "-r" tells HostMonitor to copy folder with its subfolders.
Example:
  CopyFolder   Root\Template   Root\SQLServer2
  CopyFolder   10   Root\Windows5   -r
SetFolderVariable <variable_name>
<variable_value>
[-inheritpartly]
Sets or modifies folder variable for current folder.
If currently folder settings set to "inherit all variables from parent folder", this command will set "Use folder variables only" mode. Unless you specify optional -inheritpartly parameter; in such case HostMonitor will set "Use inherited variables; folder variables may override inherited variables" option.
Note: if you are using folder-level variables as parameters of some test items, this command will modify test settings automatically.
Example:
  SetFolderVariable   fvar_host   "10.10.5.1"
CopyTestByName <test name> | <group name>
<dest path> | <folderID>
Copies specific test or group of tests (e.g. all Ping tests) into specified folder.
Destination folder can be specified by full path or folder ID.
Example:
  CopyTestsByName   _AllPing   Root\Server2
  CopyTestsByName   "router 2"   Root\Newsetup
  CopyTestsByName   _AllGood   105
CopyTestByID <testID>
<dest path> | <folderID>
Copies single test specified by ID into target folder specified by full path or folder ID.
CopyAllTests <dest path> | <folderID>
[-skipduplicates]
[-adjustmasters]
[r]

Copies all test items from current folder (and optionally subfolders) into target folder.
"adjustmasters" option: if dependent tests copied with master(s) then HostMonitor adjust master-dependent relations for newly created tests. E.g. if you copy 6 tests (5 Cisco tests that depends on 1 Ping test) then new Cisco tests will depend on new Ping test (if you are using folder-related variables for target IP address, then new tests will start to monitor new device without any manual adjustments).

- test manipulation (1):
  nota: los siguientes comandos funcionan con elementos de prueba dentro de la carpeta actual (Current Folder); inicialmente, cuando la sesion acaba de comenzar, la carpeta raiz es actual
DisableTest <test name> | <group name>
[-r]
Disables specified test or group of tests. If an optional parameter "-r" is provided then this operation will be applied to the current folder and all descendant subfolders within it.
EnableTest <test name> | <group name>
[-r]
Enables specified test or group of tests. If an optional parameter "-r" is provided then this operation will be applied to current folder and all descendant subfolders.
RefreshTest <test name> | <group name>
[-r]
Forces specified test or group of tests to execution. If an optional parameter "-r" is specified then operation will be applied to current folder and all descendant subfolders.
ResetTest <test name> | <group name>
[-r]
Resets statistics for specified test or group of tests. If an optional parameter "-r" is specified then operation will be applied to current folder and all its` subfolders.
PauseTest <test name> | <group name>
<interval>
[<comment>]
[-r]
Pauses specified test or group of tests (time interval should be specified in minutes).
If an optional parameter "-r" is specified then operation will be applied to current folder and all its` subfolders.
Examples:
  PauseTest   "www.nasa.gov"   5   "paused for 5 min"
  PauseTest   _AllBad   3   -r
ResumeTest <test name> | <group name>
[-r]
Resumes paused test or group of tests. If an optional parameter "-r" is specified then operation will be applied to current folder and all its` subfolders.
DisableAll [-r] Disables all tests within the current folder. If an optional parameter "-r" is specified then all tests within the current folder including all subfolders will be disabled.
EnableAll [-r] Enables all tests within the current folder. If an optional parameter "-r" is provided then all tests within the current folder and all its` subfolders will be enabled.
RefreshAll [-r] Forces all tests within the current folder to execution. If an optional parameter "-r" is specified then the command affects subfolders as well.
ResetAll [-r] Resets statistics for all tests within current folder. If an optional parameter "-r" is specified then the subfolders are included as well.
SetTestParam <test name> | <group name>
<param>
<new value>
[-r]
Sets a value of a given parameter for the specified test or group of tests. <Param> could be one of the following:
  • timeout
  • username
  • password
  • sqlquery
  • retries
  • testinterval
  • comment
  • commentlineNN (where NN is a number between 1 and 99)
Example: SetTestParam   _AllTCP   timeout   2000
ReplaceTestParam <test name> | <group name>
<param>
<current value>
<new value>
[-r]

Replaces a value of a given parameter for the specified test or group of tests. Unlike "SetTestParam" command, this one works selectively. It changes the value of a parameter only for the tests that already have a current value of this parameter equal to the <current value> argument of the command.
Example: ReplaceTestParam   _AllTCP   timeout   2000   5000

- test manipulation (2):
  nota: los siguientes comandos funcionan con elementos de prueba especificos independientemente de la configuracion de la "current folder"
DisableTestByID <testID1> [<testID2> [...]] Disables specified test item(s). Example: DisableTestsByID   3   4   5
EnableTestByID <testID1> [<testID2> [...]] Enables specified test item(s). Example: EnableTestsByID   102   103
RefreshTestByID <testID1> [<testID2> [...]] Forces specified test item(s) to execution. Example: RefreshTestsByID   77
ResetTestByID <testID1> [<testID2> [...]] Resets statistics for specified test item(s).
PauseTestByID <interval>
<comment>
<testID1> [<testID2> [...]]
Pauses specified test item(s). Time interval should be specified in minutes.
Example: PauseTestByID 5 "paused for 5 min" 41 42 43
ResumeTestByID <testID1> [<testID2> [...]] Resumes paused test item(s).
AckTestByID [StopAlerts]
<comment>
<testID> [<testID2> [...]]
Acknowledges failed test item(s)
SetTestParamByID <testID1>
<param>
<new value>
Sets a value of a given parameter for the specified test item. <Param> could be one of the following:
  • timeout
  • username
  • password
  • sqlquery
  • retries
  • testinterval
  • comment
  • commentlineNN (where NN is a number between 1 and 99)
Example: SetTestParamByID   55   timeout   2000
ReplaceTestParamByID <testID>
<param>
<current value>
<new value>

Replaces a value of a given parameter for the specified test item. Unlike "SetTestParam" command, this one works selectively. It changes the value of a parameter only for the tests that already have a current value of this parameter equal to the <current value> argument of the command.
Example: ReplaceTestParamByID   55   timeout   2000   5000

- global variable commands:
ShowUserVariables [<variable>] Shows the list of global macro variables and their current values. If an optional parameter <variable> is specified then only the value of this variable will be displayed
SetUserVariable <variable> <value> Sets the value of a variable (if such variable does not exist, creates a new variable).
Note: Variable names are not case sensitive.
SaveUserVariables   Saves changes
LoadUserVariables   Loads previously saved variables
- other:
Help   Displays list of available commands (and parameters)
Disconnect   Disconnects client from HostMonitor

La mayoria de los comandos que funcionan con las pruebas le permiten usar un nombre de grupo especial en lugar del nombre de la prueba. En este caso, se aplicara un comando a todas las pruebas de un tipo especifico (dentro de la carpeta actual).
Nombres de grupos disponibles:
Group nameTest type (method)   Group nameTest type (method)
_AllGood Test items with Ok/Alive status _AllUnknownTest items with Unknown status
_AllBad Test items with Bad/NoAnswer status _AllWarningTest items with Warning status
 
_AllPing Ping tests _AllNTLog NT Event Log tests
_AllTrace Trace tests _AllCPU CPU Usage tests
_AllRAS RAS tests _AllPerfCounter Performance Counter tests
_AllTCP TCP tests _AllWMI WMI tests
_AllUDP UDP tests _AllDominantProcess Dominant Process tests
_AllSMTP SMTP tests _AllODBC ODBC tests
_AllPOP3 POP3 tests _AllInterbase Interbase tests
_AllIMAP IMAP tests _AllMsSQL MS SQL tests
_AllDNS DNS tests _AllMySQL MySQL tests
_AllLDAP LDAP tests _AllOracle Oracle tests
_AllNTP NTP tests _AllPostgre Postgre tests
_AllRadius Radius tests _AllSybase Sybase tests
_AllDICOM DICOM tests _AllSNMP SNMP Get tests
_AllDHCP DHCP tests _AllSNMPTrap SNMP Trap
_AllMailRelay Mail Relay tests _AllExternalPrg External tests
_AllHTTP HTTP tests _AllScript Active Script tests
_AllURL URL tests _AllShell Shell Script tests
_AllUNC UNC tests _AllSSH SSH tests
_AllFreeSpace Drive Free Space tests _AllTemp Temperature Monitor tests
_AllFolderSize Folder/File Size tests _AllTraffic Traffic Monitor tests
_AllFileExists File/Folder Availability tests_AllHMMonitor HM Monitor tests
_AllCountFiles Count Files tests _AllSOAP SOAP tests
_AllFileContents     File Integrity tests _AllEMail E-Mail tests
_AllTextLog Text Log tests _AllCertificateCertificate Expiration tests
_AllFileComp Compare Files tests _AllDomain Domain Expiration tests
_AllProcess Process tests _AllRegistry Registry tests
_AllService Service tests _AllMemory Memory tests
_AllAVStatus Antivirus Status tests _AllSNMPTable SNMP Table tests
_AllLastUpdate Last OS Update tests
_AllApacheApache tests _AllOPC OPC tests
_AllNginx NGINX tests _AllSIP SIP tests
_AllTomcatTomcat tests _AllWebDavSpaceWebDAV Free space test items
_AllIIS IIS tests _AllBigIPHealthBig-IP Health tests
_AllVMHostStatusVM host status _AllBigIPTempBig-IP Temperature tests
_AllVMHostCPUVM host CPU usage _AllBigIPStatsBig-IP Statistics tests
_AllVMHostMemoryVM host free memory _AllNScalerTempCitrix Netscaler Temperature tests
_AllVMHostDiskVM host datastore space _AllNScalerStatsCitrix Netscaler Statistics tests
_AllVMStatusVM guest status _AllNetAppHealthJuniper Health tests
_AllVMCPUVM guest CPU usage _AllNetAppTempJuniper Temperature tests
_AllVMDiskVM guest free disk space _AllNetAppDisksJuniper RAID/Disks tests
_AllVMMemoryVM guest free memory _AllQnapHealthQNAP Health tests
_AllHPHealthHP iLO Health tests _AllQnapTemp QNAP Temperature tests
_AllHPTemp HP iLO Temperature tests _AllQnapFansQNAP Fans tests
_AllHPFans HP iLO Fans tests _AllSynHealthSynology Health tests
_AllHPPower HP iLO Power tests _AllSynTempSynology Temperature tests
_AllHPDisks HP iLO Disks tests _AllSynDiskLoadSynologyDisk Load tests
_AllCiscoHealthCisco Health tests _AllUPSHealthUPS Health tests
_AllCiscoTempCisco Temperature tests _AllUPSLoadUPS Load tests
_AllCiscoFansCisco Fans tests _AllUPSChargeUPS Charge level tests
_AllCiscoPowerCisco Power tests _AllUPSVoltageInUPS Voltage In tests
_AllJuniperHealthJuniper Health tests _AllUPSVoltageOutUPS Voltage Out tests
_AllJuniperTempJuniper Temperature tests _AllUPSTempUPS Temperature tests
_AllJuniperFansJuniper Fans tests _AllUPSTimeUPS Remaining time tests
_AllPrinterStatusPrinter Status tests
_AllPrinterLevelsPrinter Levels tests

Ejemplos:

  DisableTest  _AllTCP -r
  EnableTest   _AllPing
  RefreshTest  _AllURL       
  RefreshTest  "my router"   
  EnableAll           

Requerimientos minimos del sistema

  • Windows XP SP2, Windows 7, 8, 10, 11
  • Servidor Windows 2003 SP2, Servidor 2008 SP2/R2, Servidor Windows 2012, 2016, 2019, 2022
  • Conexion TCP/IP (LAN o Dial-up)
  • 1 MB de espacio libre en disco

?Cuanto cuesta?

Cuando compre una edicion ENTERPRISE de Advanced Host Monitor, obtendra la licencia para el servicio Telnet sin costo alguno. De lo contrario, la licencia de Telnet Service + Web Service cuesta $199. Puede solicitar el servicio Telnet con tarjeta de credito, tarjetas de debito Switch y Solo, cheque/giro postal o transferencia bancaria.
Detalles..