2009-10-13 Sancho Lerena <slerena@artica.es>
* bin/PandoraAgent.exe: Last build of agent binary. * bin/pandora_agent.conf: new default .conf for packaging. * bin/util/getreg.exe, bin/util/cmp.exe, bin/util/sort.exe: New bin tools for the 3.0 agent util directory. * installer/scripts/install_service_restart.bat: Install daily agent restart with AT command. * installer/scripts/restart_pandora_agent.bat: Make a service restart from command line (using net commands). * installer/pandora.mpi: Many fixes and improvements for the installer. * installer/README.txt: Updated readme. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6880d40500
commit
c1832c34e9
|
@ -1,3 +1,22 @@
|
|||
2009-10-13 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* bin/PandoraAgent.exe: Last build of agent binary.
|
||||
|
||||
* bin/pandora_agent.conf: new default .conf for packaging.
|
||||
|
||||
* bin/util/getreg.exe, bin/util/cmp.exe, bin/util/sort.exe: New bin tools
|
||||
for the 3.0 agent util directory.
|
||||
|
||||
* installer/scripts/install_service_restart.bat: Install daily agent
|
||||
restart with AT command.
|
||||
|
||||
* installer/scripts/restart_pandora_agent.bat: Make a service restart from
|
||||
command line (using net commands).
|
||||
|
||||
* installer/pandora.mpi: Many fixes and improvements for the installer.
|
||||
|
||||
* installer/README.txt: Updated readme.
|
||||
|
||||
2009-10-06 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* main.cc: Fixed the agent interval when running in process mode.
|
||||
|
|
Binary file not shown.
|
@ -14,283 +14,169 @@
|
|||
# General Parameters
|
||||
# ==================
|
||||
|
||||
# The variables $*$ will be substituted in the installation
|
||||
# NOTE: The variables $*$ will be substituted in the installation wizard
|
||||
|
||||
server_ip $ServerIP$
|
||||
server_path $ServerPath$
|
||||
server_path /var/spool/pandora/data_in
|
||||
temporal "$AgentTemp$"
|
||||
#temporal_min_size 1024
|
||||
#startup_delay 5
|
||||
|
||||
|
||||
# Agent uses your hostname automatically, if you need to change agent name
|
||||
# use directive agent_name
|
||||
# agent_name $AgentName$
|
||||
# use directive agent_name (do not use blank spaces, please).
|
||||
# This parameter is CASE SENSITIVE.
|
||||
|
||||
#agent_name My_Custom_Agent_name
|
||||
|
||||
# This limits operation if temporal dir has not enough free disk.
|
||||
#temporal_min_size 1024
|
||||
|
||||
# Delay start execution X second before start to minonitoring nothing
|
||||
#startup_delay 30
|
||||
|
||||
# Interval is defined in seconds
|
||||
|
||||
interval 300
|
||||
|
||||
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
|
||||
transfer_mode tentacle
|
||||
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
transfer_mode tentacle
|
||||
server_port 41121
|
||||
|
||||
# In case of using FTP or tentacle with password, uncomment and change (user is always pandora)
|
||||
# server_pwd pandora
|
||||
# In case of using FTP or tentacle with password. User is always "pandora"
|
||||
#server_pwd pandora
|
||||
|
||||
# Debug mode do not copy XML data files to server and stop executing after first one
|
||||
# Debug mode do not copy XML data files to server.
|
||||
# debug 1
|
||||
|
||||
# ODBC connections
|
||||
# ODBC connections. Check documentation for more information.
|
||||
# Configuring "ExampleDSN" DSN. Notice that this DSN connection must be configured
|
||||
# under Control panel -> Administrative tools -> ODBC -> DSN
|
||||
# odbc_ExampleDSN_username UserNameForDsn
|
||||
# odbc_ExampleDSN_password Password1234
|
||||
|
||||
# If set to 1 allows the agent to be configured via the web console.
|
||||
# remote_config 0
|
||||
# If set to 1 allows the agent to be configured via the web console
|
||||
# (only works on enterprise version).
|
||||
#remote_config 0
|
||||
|
||||
# Set XML encoding (ISO-8859-1 by default).
|
||||
# encoding ISO-8859-1
|
||||
# Set XML encoding (ISO-8859-1 by default).
|
||||
#encoding ISO-8859-1
|
||||
|
||||
# Module Definition
|
||||
# Module Definition
|
||||
# Check online documentation and module library at http://pandorafms.org
|
||||
# =================
|
||||
|
||||
|
||||
# Is Eventlog service running?
|
||||
#module_begin
|
||||
#module_name ServicioReg
|
||||
#module_type generic_proc
|
||||
#module_service Eventlog
|
||||
#module_description Eventlog Service
|
||||
#module_end
|
||||
|
||||
# Is Microsoft Messenger running?
|
||||
#module_begin
|
||||
#module_name MSN_Messenger
|
||||
#module_type generic_proc
|
||||
#module_proc msmsgs.exe
|
||||
#module_description Microsoft Messenger (MSN)
|
||||
#module_end
|
||||
|
||||
# Received packets using external program exec
|
||||
#module_begin
|
||||
#module_name ReceivedPackets
|
||||
#module_type generic_data
|
||||
#module_exec netstat -s | grep "Packets Received" | tr -d " " | cut -f 2 -d "=" | tr -d "\n"
|
||||
#module_description Received packets
|
||||
#module_end
|
||||
|
||||
|
||||
# Received packets using external program exec
|
||||
#module_begin
|
||||
#module_name Listen_Conn
|
||||
#module_type generic_data
|
||||
#module_exec netstat -an | grep LISTEN | wc -l | tr -d " "
|
||||
#module_description Listening connections
|
||||
#module_end
|
||||
|
||||
# Free space on disk C:
|
||||
#module_begin
|
||||
#module_name FreeDiskC
|
||||
#module_type generic_data
|
||||
#module_freedisk C:
|
||||
#module_description Free space on drive C:
|
||||
#module_end
|
||||
|
||||
# CPU usage percentage
|
||||
module_begin
|
||||
module_name CPUUse0
|
||||
module_type generic_data
|
||||
module_cpuusage 0
|
||||
module_description CPU#0 usage
|
||||
module_end
|
||||
|
||||
# Free Memory
|
||||
module_begin
|
||||
module_name FreeMemory
|
||||
module_type generic_data
|
||||
module_freememory
|
||||
module_description Amount of free memory.
|
||||
module_end
|
||||
|
||||
# Log events
|
||||
#module_begin
|
||||
#module_name Logevents
|
||||
#module_type generic_data_string
|
||||
#module_logevent
|
||||
#module_description Log Events
|
||||
#module_end
|
||||
|
||||
# More examples, uncomment (removing #) to use them
|
||||
# =================================================
|
||||
|
||||
#module_begin
|
||||
#module_name Fprot_AV
|
||||
#module_type generic_proc
|
||||
#module_proc FPAVServer.exe
|
||||
#module_description FProt Antivirus running
|
||||
#module_end
|
||||
|
||||
# Is Checkpoint SecureClient Service alive?
|
||||
#module_begin
|
||||
#module_name Checkpoint_SecureClient
|
||||
#module_type generic_proc
|
||||
#module_proc SR_Service.exe
|
||||
#module_description Checkpoint Secure Client VPN client
|
||||
#module_end
|
||||
|
||||
# Is Network Connect Service VPN Client from Juniper alive?
|
||||
#module_begin
|
||||
#module_name Juniper_VPN
|
||||
#module_type generic_proc
|
||||
#module_proc dsNcService.exe
|
||||
#module_description Network Connect Service VPN Client from Juniper
|
||||
#module_end
|
||||
|
||||
# ODBC query example using ExampleDSN connection defined above.
|
||||
# This module gets the first row in example_table.
|
||||
#module_begin
|
||||
#module_name SQL query example
|
||||
#module_type generic_string
|
||||
#module_odbc ExampleDSN
|
||||
#module_odbc_query SELECT * FROM example_table
|
||||
#module_description The first row of example_table
|
||||
#module_end
|
||||
|
||||
# ODBC query example using ExampleDSN connection defined above.
|
||||
# This module gets the first row in example_table
|
||||
#module_begin
|
||||
#module_name SecondSQL query example
|
||||
#module_type generic_data
|
||||
#module_odbc ExampleDSN
|
||||
#module_odbc_query SELECT punctuation FROM example_table WHERE id = 3
|
||||
#module_description The punctuation row of example_tab where id is 3
|
||||
#module_end
|
||||
|
||||
#Free space on disk D:
|
||||
#module_begin
|
||||
#module_name FreeDiskD
|
||||
#module_type generic_data
|
||||
#module_freedisk D:
|
||||
#module_description Free space on drive D:
|
||||
#module_end
|
||||
|
||||
#CPU usage percentage for second CPU
|
||||
#module_begin
|
||||
#module_name CPUUse1
|
||||
#module_type generic_data
|
||||
#module_cpuusage 1
|
||||
#module_description CPU#1 usage
|
||||
#module_end
|
||||
|
||||
#module_begin
|
||||
#module_name log_events_system
|
||||
#module_type generic_data_string
|
||||
#module_description System log events
|
||||
#module_logevent
|
||||
#module_source System
|
||||
#module_end
|
||||
|
||||
#module_begin
|
||||
#module_name log_events_security
|
||||
#module_type generic_data_string
|
||||
#module_description Security log events
|
||||
#module_logevent
|
||||
#module_source Security
|
||||
#module_end
|
||||
|
||||
# Counting OpenedConnections (check the language string)
|
||||
#module_begin
|
||||
#module_name OpenNetConnections
|
||||
#module_type generic_data
|
||||
#module_exec netstat -na | grep ESTAB | wc -l | tr -d " "
|
||||
#module_description Open Connections (interval 2)
|
||||
#module_end
|
||||
|
||||
# Accepted server sessions (Server in Spanish)
|
||||
#module_begin
|
||||
#module_name ServerSessions
|
||||
#module_type generic_data
|
||||
#module_exec net statistics server | grep "Sesiones aceptadas" | gawk "{ print $3 }"
|
||||
#module_description Accepted server sessions
|
||||
#module_end
|
||||
|
||||
# Server sessions errors (Server in Spanish)
|
||||
#module_begin
|
||||
#module_name ServerErrors
|
||||
#module_type generic_data
|
||||
#module_exec net statistics server | grep "Error" | gawk "{ print $4 }"
|
||||
#module_description Server errors
|
||||
#module_end
|
||||
|
||||
# Example of asynchronous process checking
|
||||
#module_begin
|
||||
#module_name Notepad
|
||||
#module_type generic_data
|
||||
#module_proc notepad.exe
|
||||
#module_description Notepad
|
||||
#module_async yes
|
||||
#module_end
|
||||
|
||||
# Example of watchdog process opening it if it gets closed
|
||||
#module_begin
|
||||
#module_name Notepad
|
||||
#module_type generic_data
|
||||
#module_proc notepad.exe
|
||||
#module_description Notepad
|
||||
#module_async yes
|
||||
#module_watchdog yes
|
||||
#module_start_command c:\windows\notepad.exe
|
||||
#module_end
|
||||
|
||||
# Example of asynchronous service checking
|
||||
# module_begin
|
||||
# module_name ServiceSched
|
||||
# module_type generic_proc
|
||||
# module_service Schedule
|
||||
# module_description Service Task scheduler
|
||||
# module_async yes
|
||||
# module_end
|
||||
|
||||
# Example of watchdog service opening it if it gets closed
|
||||
# module_begin
|
||||
# module_name ServiceSched
|
||||
# module_type generic_proc
|
||||
# module_service Schedule
|
||||
# module_description Service Task scheduler
|
||||
# module_async yes
|
||||
# module_watchdog yes
|
||||
# module_end
|
||||
|
||||
# Example UDP server to be able to execute remote actions such
|
||||
# as starting or stopping process.
|
||||
#udp_server 1
|
||||
#udp_server_port 4321
|
||||
#udp_server_auth_address 192.168.1.23
|
||||
#process_firefox_start firefox
|
||||
#process_firefox_stop killall firefox
|
||||
#service_messenger 1
|
||||
|
||||
# Example of a remote TCP check
|
||||
#module_begin
|
||||
#module_name tcpcheck
|
||||
#module_type generic_data
|
||||
#module_tcpcheck www.artica.es
|
||||
#module_port 80
|
||||
#module_timeout 5
|
||||
#module_end
|
||||
|
||||
# Example of regexp matching
|
||||
#module_begin
|
||||
#module_name regexp
|
||||
#module_type generic_data_string
|
||||
#module_regexp C:\WINDOWS\my.log
|
||||
#module_pattern ^(a*).*\1$
|
||||
#module_end
|
||||
|
||||
# Example of performance counter data retrieval
|
||||
#module_begin
|
||||
#module_name perfcounter
|
||||
#module_type generic_data_string
|
||||
#module_perfcounter \Memory\Pages/sec
|
||||
#module_end
|
||||
# Free space on disk C:
|
||||
module_begin
|
||||
module_name FreeDiskC
|
||||
module_type generic_data
|
||||
module_freepercentdisk C:
|
||||
module_description Free space on drive C:
|
||||
module_end
|
||||
|
||||
# CPU usage percentage
|
||||
module_begin
|
||||
module_name CPUUse
|
||||
module_type generic_data
|
||||
module_cpuusage all
|
||||
module_description CPU# usage
|
||||
module_end
|
||||
|
||||
# Free Memory
|
||||
module_begin
|
||||
module_name FreeMemory
|
||||
module_type generic_data
|
||||
module_freepercentmemory
|
||||
module_description Amount of free memory.
|
||||
module_end
|
||||
|
||||
# Log events
|
||||
module_begin
|
||||
module_name System Events (TermService)
|
||||
module_type async_string
|
||||
module_logevent
|
||||
module_description Log Events coming from Terminal Service
|
||||
module_source System
|
||||
module_application TermService
|
||||
module_end
|
||||
|
||||
module_begin
|
||||
module_name Security Events (Invalid Login)
|
||||
module_type async_string
|
||||
module_description Security log events for invalid login attempt
|
||||
module_logevent
|
||||
module_source Security
|
||||
module_eventcode 529
|
||||
module_end
|
||||
|
||||
# Sample on how to get a value from registry
|
||||
# This returns the last time user launch microsoft Windows update
|
||||
#module_begin
|
||||
#module_name Windows_Update_LastRun
|
||||
#module_type generic_data_string
|
||||
#module_exec getreg LM "SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" SetupWizardLaunchTime
|
||||
#module_description Last date and time user launch microsoft Windows update
|
||||
#module_end
|
||||
|
||||
|
||||
# Example of a remote TCP check
|
||||
#module_begin
|
||||
#module_name Tcp Sample check
|
||||
#module_type generic_data
|
||||
#module_tcpcheck www.google.com
|
||||
#module_port 80
|
||||
#module_timeout 5
|
||||
#module_end
|
||||
|
||||
# Example of regexp matching
|
||||
#module_begin
|
||||
#module_name PandoraAgent_log
|
||||
#module_type generic_data_string
|
||||
#module_regexp C:\archivos de programa\pandora_agent\pandora_agent.log
|
||||
#module_description This module will return all lines from the specified logfile
|
||||
#module_pattern .*
|
||||
#module_end
|
||||
|
||||
# Get processor time from Performance Counter (SPANISH only, check your
|
||||
# locale string) using the Windows Performance tool to
|
||||
# identify proper PerCounter strings. Check documentation for detailed steps.
|
||||
#module_begin
|
||||
#module_name Processor_Time
|
||||
#module_type generic_data
|
||||
#module_perfcounter \Procesador(_Total)\% de tiempo de procesador
|
||||
#module_end
|
||||
|
||||
# Example of module exec, used to know about the memory used by pandora process
|
||||
#module_begin
|
||||
#module_name PandoraFMS RAM
|
||||
#module_type generic_data
|
||||
#module_exec tasklist | grep Pandora | awk "{ print $5 }" | tr -d "."
|
||||
#module_end
|
||||
|
||||
# Example of watchdog process opening it if it gets closed
|
||||
# NOTE: This need to enable "Service can interactuate with the deskop" option
|
||||
# in the Pandora FMS Service configuration (Windows Service Control management).
|
||||
#module_begin
|
||||
#module_name TaskManager
|
||||
#module_type generic_proc
|
||||
#module_proc taskmgr.exe
|
||||
#module_description This keeps taskmgr always running in the system
|
||||
#module_async yes
|
||||
#module_watchdog yes
|
||||
#module_start_command c:\windows\system32\taskmgr.exe
|
||||
#module_end
|
||||
|
||||
# Example of watchdog service opening it if it gets closed
|
||||
#module_begin
|
||||
#module_name ServiceVNC_Server
|
||||
#module_type generic_proc
|
||||
#module_service winvnc
|
||||
#module_description Service VNC Server watchdog/service
|
||||
#module_async yes
|
||||
#module_watchdog yes
|
||||
#module_end
|
||||
|
||||
# Example UDP server to be able to execute remote actions such
|
||||
# as starting or stopping process.
|
||||
#udp_server 1
|
||||
#udp_server_port 4321
|
||||
#udp_server_auth_address 192.168.1.23
|
||||
#process_firefox_start firefox
|
||||
#process_firefox_stop killall firefox
|
||||
#service_messenger 1
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,10 @@
|
|||
Pandora FMS Agents
|
||||
==================
|
||||
|
||||
Please checkout our latest Pandora FMS documentation at http://pandorafms.org
|
||||
|
||||
This README file is not intended to be a documentation, only a brief introduction to Pandora FMS windows agent.
|
||||
|
||||
Understanding what is a Pandora FMS Agent
|
||||
-----------------------------------------
|
||||
|
||||
|
@ -15,13 +19,12 @@ This document describes the installation of agents in machines running over Wind
|
|||
Generic role of the agents
|
||||
--------------------------
|
||||
|
||||
Regardless the platform an agent is running on, this is formed of the following elements:
|
||||
Regardless the platform an agent is running on, this is formed of the following elements: A script (or binary application in Windows) that collects and sends the data to
|
||||
the server.
|
||||
|
||||
A script (or binary application in Windows) that collects and sends the data to the server. For UNIX machines the script is called pandora_agent.sh and is executed directly from the Pandora agent folder.
|
||||
One or several configuration files where the values to be collected are defined. The file is called pandora_agent.conf both for Windows and Unix machines.
|
||||
|
||||
One or several configuration files where the values to be collected are defined. The file is called pandora_agent.conf both for Windows and Unix machines.
|
||||
|
||||
This simple structure makes it easy the customisation of an agent. There is no need to code again the agent to modify the way it works, as the configuration file holds most of the parameters needed to do so.
|
||||
This simple structure makes it easy the customisation of an agent. There is no need to code again the agent to modify the way it works, as the configuration file holds most of the parameters needed to do so.
|
||||
|
||||
Pandora FMS Agent configuration
|
||||
------------------------------
|
||||
|
@ -34,38 +37,33 @@ The main script is the executable file that collects the data specified in the c
|
|||
Configuration File
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The data collection in the host system is the gathering of independent data units, which are defined in the /etc/pandora/pandora_agent.conf file. The pandora_agent.conf file is divided in two parts:
|
||||
The data collection in the host system is the gathering of independent data units, which are defined in the /etc/pandora/pandora_agent.conf file. The pandora_agent.conf file is divided in two parts:
|
||||
|
||||
* General parameters: Configure general options about server location, agent name, interval, and other general options.
|
||||
* General parameters: Configure general options about server location, agent name, interval, and other general options.
|
||||
|
||||
* Module definitions: Configure and define the method of extraction for each piece of information that will be extracted from local host and sent to Pandora Server.
|
||||
* Module definitions: Configure and define the method of extraction for each piece of information that will be extracted from local host and sent to Pandora Server.
|
||||
|
||||
General parameters
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The general parameters of the agent configuration are defined in this section. Some of these parameters are common for all systems and others specific for Windows or UNIX. The general parameters are:
|
||||
|
||||
* server_path: The server path is the full path of the folder where the server stores the data sent by the agent. It is usually /var/spool/pandora/data_in.
|
||||
* server_path: The server path is the full path of the folder where the server stores the data sent by the agent. It is usually /var/spool/pandora/data_in.
|
||||
|
||||
* server_ip: The server IP is the IP address or the host name of the Pandora server, where the data will be stored. The host must be reachable and must be listening to port 22 (SSH).
|
||||
|
||||
* server_ip: The server IP is the IP address or the host name of the Pandora server, where the data will be stored. The host must be reachable and must be listening to port 22 (SSH).
|
||||
* interval: This is the time interval in seconds in which the agent will collect data from the host system and send the data packages to the server. The recommended value ranges from 300 (5 minutes) to 600 (10 minutes). This number could be larger, although it is important to consider the impact of a larger number on the database.
|
||||
|
||||
* temporal: This is the full path of the folder where the agent stores the data locally, before it is sent to the server. It must be said that the data packages are deleted once the agent tries to contact Pandora server, no matter if the communication was successful or not. This is done to avoid over flooding hard drive of the host system where the agent runs. The location of the local folder varies with the architecture of the host system. In Unix systems this is usually /var/spool/pandora/data_out, and in Windows systems C:\program files\pandora\data_out.
|
||||
* debug: This parameter is used to test the generation of data files, forcing the agent to do not copy data file to server, so you can check data file contents and copy XML data file manually. It does not delete any data when the process is finished, so data file will be in temp directory. The activity is written in a log file. The file is named pandora_agent.log. This log file can be used to test the system and to investigate potential issues.
|
||||
|
||||
* interval: This is the time interval in seconds in which the agent will collect data from the host system and send the data packages to the server. The recommended value ranges from 300 (5 minutes) to 600 (10 minutes). This number could be larger, although it is important to consider the impact of a larger number on the database.
|
||||
* agent_name: This is an alternative host name. This parameter is optional as if it is not declared the name is obtained directly from the system.
|
||||
|
||||
* debug: This parameter is used to test the generation of data files, forcing the agent to do not copy data file to server, so you can check data file contents and copy XML data file manually. It does not delete any data when the process is finished, so data file will be in temp directory. The activity is written in a log file. The file is named pandora_agent.log. This log file can be used to test the system and to investigate potential issues.
|
||||
* Transfer Mode: This parametrer let you specify which transfer mode is going to be set up to send the agent data to the server. Modes available are: tentacle (default), ssh (using scp), ftp or local. Local mode it is only for systems where the agent run in the same machine as the server does, cause it is basically a copy between directories.
|
||||
|
||||
* agent_name: This is an alternative host name. This parameter is optional as if it is not declared the name is obtained directly from the system.
|
||||
* server_pwd: Specify password for FTP transfer mode (Windows only).
|
||||
|
||||
* checksum: This parameter can take two values. If the value is 1, the checksums are performed through MD5. If the value is 0, the checksum is not performed at all. This may be useful for systems where a MD5 tool cannot be implemented. If the checksum is deactivated in the agent it must be also disconnected in the server. Otherwise it could create problems.
|
||||
* encoding: Set the encoding type of your local system, like iso-8859-15, or utf-8.
|
||||
|
||||
* Transfer Mode: This parametrer let you specify which transfer mode is going to be set up to send the agent data to the server. Modes available are: ssh (using scp), ftp or local. Local mode it is only for systems where the agent run in the same machine as the server does, cause it is basically a copy between directories.
|
||||
|
||||
* server_pwd: Specify password for FTP transfer mode (Windows only).
|
||||
|
||||
* encoding: Set the encoding type of your local system, like iso-8859-15, or utf-8.
|
||||
|
||||
* Pandora Nice: This parametrer let you specify the priority the Pandora Agent process will have in your system.
|
||||
|
||||
An example of the general parameters from a Unix configuration would be:
|
||||
|
||||
|
@ -75,12 +73,16 @@ An example of the general parameters from a Unix configuration would be:
|
|||
interval 300
|
||||
agent_name dakotaSR01
|
||||
debug 0
|
||||
checksum 0
|
||||
|
||||
Module definition
|
||||
-----------------
|
||||
|
||||
Each data item that is to be collected must be defined precisely in each module, using the exact syntax. As many values as necessary can be set to be collected, adding at the end of the general parameters as many modules as the number of values to collect. Each module is made of several directives. Following is a descriptive relation of all module marks available for Unix agents (almost all of them are applicable to Windows Agent too).
|
||||
Each data item that is to be collected must be defined precisely in each module,
|
||||
using the exact syntax. As many values as necessary can be set to be collected,
|
||||
adding at the end of the general parameters as many modules as the number of
|
||||
values to collect. Each module is made of several directives. Following is a
|
||||
descriptive relation of all module marks available for Unix agents (almost all
|
||||
of them are applicable to Windows Agent too).
|
||||
|
||||
|
||||
module_begin
|
||||
|
@ -89,39 +91,58 @@ Defines the beginning of the module.
|
|||
|
||||
module_name <name>
|
||||
|
||||
Name of the module. This is the id for this module, choose a name without blank spaces and not very long. There is no practical limitation (max of 250 chars) but will be more easier to manage if you use short names. This name CANNOT be duplicated with a similar name in the same agent. This name could be duplicated with other modules in other agents.
|
||||
Name of the module. This is the id for this module, choose a name without blank
|
||||
spaces and not very long. There is no practical limitation (max of 250 chars)
|
||||
but will be more easier to manage if you use short names. This name CANNOT be
|
||||
duplicated with a similar name in the same agent. This name could be duplicated
|
||||
with other modules in other agents.
|
||||
|
||||
module_type <type>
|
||||
|
||||
Data type the module will handle. There are four data types for agents:
|
||||
|
||||
* Numeric (generic_data). Simple numeric data, float or integer. If the values are of the float type, they will be truncated to their integer value.
|
||||
* Numeric (generic_data). Simple numeric data, float or integer. If the
|
||||
values are of the float type, they will be truncated to their integer value.
|
||||
|
||||
* Incremental (generic_date_inc). Integer numeric data equal to the differential between the actual value and the previous one. When this differential is negative the value is set to 0.
|
||||
* Incremental (generic_date_inc). Integer numeric data equal to the
|
||||
differential between the actual value and the previous one. When this
|
||||
differential is negative the value is set to 0.
|
||||
|
||||
* Alphanumeric (generic_string). Text strings up to 255 characters.
|
||||
|
||||
* Monitors (generic_proc). Stores numerically the status of the processes. This data type is called monitor because it assigns 0 to an "Incorrect" status and any value above 0 to any "Correct" status.
|
||||
* Monitors (generic_proc). Stores numerically the status of the processes.
|
||||
This data type is called monitor because it assigns 0 to an "Incorrect"
|
||||
status and any value above 0 to any "Correct" status.
|
||||
|
||||
module_exec <command>
|
||||
|
||||
This is the generic "command to execute" directive. Both, for Unix and Windows agents there is only one directive to obtain data in a generic way, executing a single command (you could use pipes for redirecting execution to anoter command). This directive executes a command and stores the returned value. This method is also available on Windows agents. This is the "general purpose method" for both kind of agents.
|
||||
This is the generic "command to execute" directive. Both, for Unix and Windows
|
||||
agents there is only one directive to obtain data in a generic way, executing a
|
||||
single command (you could use pipes for redirecting execution to anoter
|
||||
command). This directive executes a command and stores the returned value. This
|
||||
method is also available on Windows agents. This is the "general purpose method"
|
||||
for both kind of agents.
|
||||
|
||||
For a Windows agent there are more directives to obtain data, who are described following this lines.
|
||||
For a Windows agent there are more directives to obtain data, who are described
|
||||
following this lines.
|
||||
|
||||
|
||||
module_service <service>
|
||||
|
||||
(Win32 Only)
|
||||
|
||||
Checks if a given service name is running in this host. Remember to use " " characters if service name contains blank spaces.
|
||||
Checks if a given service name is running in this host. Remember to use " "
|
||||
characters if service name contains blank spaces.
|
||||
|
||||
|
||||
module_proc <process>
|
||||
|
||||
(Win32 Only)
|
||||
|
||||
Checks if a given processname is running in this host. If the process name contains blank spaces do not use " ". Also notice that the process name must have the .exe extension. The module will return the number of process running with this name.
|
||||
Checks if a given processname is running in this host. If the process name
|
||||
contains blank spaces do not use " ". Also notice that the process name must
|
||||
have the .exe extension. The module will return the number of process running
|
||||
with this name.
|
||||
|
||||
module_freedisk <drive_letter:>
|
||||
|
||||
|
@ -143,21 +164,38 @@ Return free memory in the whole system.
|
|||
|
||||
module_min <value>
|
||||
|
||||
This is the minimum valid value for the data generated in this module. If the module has not yet been defined in the web console this value will be taken from this directive. This directive is not compulsory. This value does not override the value defined in the agent if the module does not exist in the management console is created automatically when working on learning mode.
|
||||
This is the minimum valid value for the data generated in this module. If the
|
||||
module has not yet been defined in the web console this value will be taken from
|
||||
this directive. This directive is not compulsory. This value does not override
|
||||
the value defined in the agent if the module does not exist in the management
|
||||
console is created automatically when working on learning mode.
|
||||
|
||||
module_max <value>
|
||||
|
||||
It is the maximum valid value for the data generated in this module. If the module has not been defined in the web console this value will be taken from this directive. This directive is not compulsory and is not supported by the Windows agent. This value does not override the value defined in the agent if the module does not exist in the management console. This is created automatically when working on learning mode.
|
||||
It is the maximum valid value for the data generated in this module. If the
|
||||
module has not been defined in the web console this value will be taken from
|
||||
this directive. This directive is not compulsory and is not supported by the
|
||||
Windows agent. This value does not override the value defined in the agent if
|
||||
the module does not exist in the management console. This is created
|
||||
automatically when working on learning mode.
|
||||
|
||||
|
||||
module_description <text>
|
||||
|
||||
This directive is used to add a comment to the module. This directive is not compulsory. This value does not override the value defined in the agent if the module does not exist in the management console. This is created automatically when working on learning mode.
|
||||
This directive is used to add a comment to the module. This directive is not
|
||||
compulsory. This value does not override the value defined in the agent if the
|
||||
module does not exist in the management console. This is created automatically
|
||||
when working on learning mode.
|
||||
|
||||
|
||||
module_interval <factor>
|
||||
|
||||
Since Pandora 1.2 introduces this new feature. You can, for each module, setup its own interval. This interval its calculated as a multiply factor for agent interval. For example, if your agent has interval 300 (5 minutes), and you want a module only be calculated each 15 minutes, you could add this line: module_interval 3. So this module will be calculated each 300sec x 3 = 900sec (15 minutes).
|
||||
Since Pandora 1.2 introduces this new feature. You can, for each module, setup
|
||||
its own interval. This interval its calculated as a multiply factor for agent
|
||||
interval. For example, if your agent has interval 300 (5 minutes), and you want
|
||||
a module only be calculated each 15 minutes, you could add this line:
|
||||
module_interval 3. So this module will be calculated each 300sec x 3 = 900sec
|
||||
(15 minutes).
|
||||
|
||||
|
||||
module_end
|
||||
|
@ -191,47 +229,35 @@ An example of a Unix module would be:
|
|||
Agent types
|
||||
===========
|
||||
|
||||
It is possible to monitor virtually any system with Pandora. This can be done either with a local agent collecting data directly from the system to be monitored, using a a satellite agent collecting data from a system by SNMP or using the new Pandora 1.2 agents, the remote agents, who can chack using remote network polling (TCP, UCP, ICMP/PING and SNMP) remote services, from the Pandora Network Server.
|
||||
It is possible to monitor virtually any system with Pandora. This can be done
|
||||
either with a local agent collecting data directly from the system to be
|
||||
monitored, using a a satellite agent collecting data from a system by SNMP or
|
||||
using the new Pandora 1.2 agents, the remote agents, who can chack using remote
|
||||
network polling (TCP, UCP, ICMP/PING and SNMP) remote services, from the Pandora
|
||||
Network Server.
|
||||
|
||||
The local agents can be either Windows or Unix agents. The satellite agents can be implemented using any of the agents above. The modules are configured to collect data from the external system by, for example, an SNMPGET tool.
|
||||
The local agents can be either Windows or Unix agents. The satellite agents can
|
||||
be implemented using any of the agents above. The modules are configured to
|
||||
collect data from the external system by, for example, an SNMPGET tool.
|
||||
|
||||
Pandora FMS Windows Agents
|
||||
--------------------------
|
||||
|
||||
Build Pandora FMS Windows Agent from sources
|
||||
|
||||
In order to build from sources, you will need the latest Dev-Cpp IDE version, with the MinGW tools. Download from http://www.bloodshed.net/devcpp.html
|
||||
In order to build from sources, you will need the latest Dev-Cpp IDE version,
|
||||
with the MinGW tools. Download from http://www.bloodshed.net/devcpp.html
|
||||
|
||||
Open PandoraService.dev with Dev-Cpp and construct the project. Everything should compile fine in a default installation.
|
||||
Open PandoraService.dev with Dev-Cpp and construct the project. Everything
|
||||
should compile fine in a default installation.
|
||||
|
||||
Pandora FMS Windows Agent installation (installer)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Starting with Pandora FMS v1.2.0, Windows version comes with an automated installer, provided with excelent freesoftware Install Jammer, so install now is very easy. You only need to choose a destination path, install and generate manually SSH keys as described below. For personalized or corporate deployments, you also can create your own installer (we provide install jammer sources for creating your own installable, so you can include a set of SSH keys in your own installer package).
|
||||
|
||||
Creating SSH keys with Windows Agents
|
||||
|
||||
Go to .\util of your Pandora FMS agent for Windows and run puttygen.exe. Choose option "Generate keys, SSH-2_DSA, 1024".
|
||||
|
||||
Press Generate. Export key to OpenSSH key (Pandora's SSH implementation uses a port of OpenSSH).
|
||||
|
||||
We have no chosen password, so press YES:
|
||||
|
||||
Save it as C:\Program Files\Pandora_Agent\keys\id_dsa
|
||||
|
||||
Now let's copy the public key to clipboard and paste it as C:\Program Files\Pandora_Agent\keys\id_dsa.pub, and also to /home/pandora/.ssh/authorized_keys file in server to establish a correct SSH automatic key authentication.
|
||||
|
||||
|
||||
Manual Pandora FMS Windows Agent installation (without installer)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Before running or installation of Pandora Windows service, you must create the configuration directory and extract the PandoraBin.zip file into it. It doesn't matter where it is installled, because Pandora Agent will adapt to any local directory. In the examples, the application will be installed in C:\Pandora\
|
||||
|
||||
This directory will hold the configuration files, which are:
|
||||
|
||||
c:\Pandora\pandora_agent.conf :: Pandoramain configuration c:\Pandora\id_dsa :: Private SSH key c:\Pandora\id_dsa.pub :: Public SSH key
|
||||
|
||||
To install manually (without installer) the Pandora FMS Windows Agent execute this sentence in a Windows command line:
|
||||
To install manually (without installer) the Pandora FMS Windows Agent execute
|
||||
this sentence in a Windows command line:
|
||||
|
||||
PandoraService.exe --install
|
||||
|
||||
|
@ -246,7 +272,7 @@ PandoraService.exe --uninstall
|
|||
Windows Agent testing
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can check the Pandora Windows Agent output in the C:\pandora\pandora-debug.dbg file, that is a plain text file and includes info about the execution flow of the Agent.
|
||||
You can check the Pandora Windows Agent output in the pandora_debug.log file, that is a plain text file and includes info about the execution flow of the Agent.
|
||||
|
||||
To test that SSH is working correctly, you can use the --test-ssh parameter in the executable file. This force pandora to conect using internal SSH and copy a file called "ssh.test".
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ AllowLanguageSelection
|
|||
{Yes}
|
||||
|
||||
AppName
|
||||
{Pandora FMS Windows agent v3.0-dev}
|
||||
{Pandora FMS Windows agent v3.0 RC1}
|
||||
|
||||
ApplicationID
|
||||
{17E3D2CF-CA02-406B-8A80-9D31C17BD08F}
|
||||
|
@ -30,7 +30,7 @@ Company
|
|||
{Artica ST http://www.artica.es}
|
||||
|
||||
CompressionLevel
|
||||
{7}
|
||||
{9}
|
||||
|
||||
CompressionMethod
|
||||
{zlib}
|
||||
|
@ -75,16 +75,16 @@ InstallPassword
|
|||
{}
|
||||
|
||||
InstallVersion
|
||||
{3.0.9.30}
|
||||
{3.0.10.12}
|
||||
|
||||
Language,ca
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,cs
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,de
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,en
|
||||
{Yes}
|
||||
|
@ -93,28 +93,28 @@ Language,es
|
|||
{Yes}
|
||||
|
||||
Language,fr
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,hu
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,it
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,lt
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,nl
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,pl
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,pt_br
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
Language,ru
|
||||
{Yes}
|
||||
{No}
|
||||
|
||||
LastIgnoreDirectories
|
||||
{}
|
||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||
{}
|
||||
|
||||
Version
|
||||
{090930}
|
||||
{091012}
|
||||
|
||||
ViewReadme
|
||||
{Yes}
|
||||
|
@ -286,6 +286,9 @@ File ::FC2CF695-F050-712A-EAC4-B57D19D00C77 -type dir -name tmp -active 0 -paren
|
|||
File ::17DD23ED-CFF6-4E2E-AE99-2AA03F4DC4C4 -type dir -name prop-base -active 0 -parent FC2CF695-F050-712A-EAC4-B57D19D00C77
|
||||
File ::7FFC041E-C253-BA7D-D890-3D88CDBA434C -type dir -name props -active 0 -parent FC2CF695-F050-712A-EAC4-B57D19D00C77
|
||||
File ::955A9B5D-775D-4C4B-07C6-1E457A3AEF04 -type dir -name text-base -active 0 -parent FC2CF695-F050-712A-EAC4-B57D19D00C77
|
||||
File ::57A504DC-687C-F126-8B39-6A70F43C156A -name cmp.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830
|
||||
File ::B71D3B59-A60B-6C21-76D4-292FA73C1613 -name getreg.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830
|
||||
File ::DB77AA43-D4B7-239C-0F48-52502E17D4DC -name sort.exe -parent 6E5B73B7-8B81-48D7-BF49-59D8D92FB830
|
||||
File ::EE3962D4-48B8-4715-B986-40794679FC89 -name ../bin/libcurl.dll -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16
|
||||
File ::0C6E0B9F-E094-42D4-9376-EAC5E3E475F7 -name ../bin/libeay32.dll -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16
|
||||
File ::03A7EA5A-D6FC-4427-B35C-0288C07813B6 -filemethod {Never overwrite files} -name ../bin/pandora_agent.conf -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16
|
||||
|
@ -310,6 +313,8 @@ File ::23F0FBAE-5849-2617-4616-D50FE1FCB137 -type dir -name tmp -active 0 -paren
|
|||
File ::9513C1EE-B08B-2ABE-38EF-C153696EFCD6 -type dir -name prop-base -active 0 -parent 23F0FBAE-5849-2617-4616-D50FE1FCB137
|
||||
File ::2BBBE1D9-BA80-E6CA-835E-9D958A4CF3C3 -type dir -name props -active 0 -parent 23F0FBAE-5849-2617-4616-D50FE1FCB137
|
||||
File ::486CB634-5092-8E3B-7621-5B3A044ACCCC -type dir -name text-base -active 0 -parent 23F0FBAE-5849-2617-4616-D50FE1FCB137
|
||||
File ::012BFA02-7F3D-897C-072A-877021FDC7D7 -name restart_pandora_agent.bat -parent 9F4D1B79-C9AE-4F1F-AC50-876657B3361C
|
||||
File ::02213E74-8E86-E4AC-58D0-B70412A05656 -name install_service_restart.bat -parent 9F4D1B79-C9AE-4F1F-AC50-876657B3361C
|
||||
File ::94EE5172-C243-4F11-80CE-C356D9055323 -type dir -name ../bin/help -parent 946FC43B-0E32-4C38-86EF-4F9252C67E16
|
||||
File ::38108568-E397-4360-9FDD-BBD7574607E0 -name how_to_keys.html -parent 94EE5172-C243-4F11-80CE-C356D9055323
|
||||
File ::096DCAC9-2E8F-4765-9EC5-E40DAFC26B36 -name how_to_keys_es.html -parent 94EE5172-C243-4F11-80CE-C356D9055323
|
||||
|
@ -377,18 +382,16 @@ InstallComponent 57BABE6F-717F-4D6A-8A66-921B404862F5 -setup Install -type actio
|
|||
InstallComponent 9F763EAB-21A4-41E7-B51B-EDC4ACF4C5C8 -setup Install -type action -title {Execute Action} -component ExecuteAction -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent DF53044A-9776-DD6C-AC74-8096DEC9ADE2 -setup Install -type action -title {Create Folder} -component CreateFolder -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 61CE1D31-E460-4F25-BFA3-499F25E90FE0 -setup Install -type action -title {Add Directory To Path} -component AddDirectoryToPath -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 3A459246-12CD-03D3-5704-1C5B3F224CDC -setup Install -type action -title {Execute External Program} -component ExecuteExternalProgram -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 78DA1080-A7D6-4FC9-AEC0-E08A82E6E8A7 -setup Install -type action -title {Execute External Program} -component ExecuteExternalProgram -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 183B25D6-4AD5-4300-BE27-6D2076CA8110 -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 922F877C-14DD-462F-8BB4-0CD378D81C95 -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 1D3EE8A2-B735-4756-9BB6-7BBC42077575 -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 736623D0-C176-476C-A899-35C05DD59147 -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent E3AB45B0-A6A5-40AC-ADC7-7DD86403BFD0 -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent D6128B0E-6CFE-4626-87CC-64C883554F0F -setup Install -type action -title {Install Program Folder Shortcut} -component InstallProgramFolderShortcut -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent F1651434-2539-7283-6835-FB0B9C37B3B1 -setup Install -type action -title {Execute External Program} -component ExecuteExternalProgram -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 8A1B144A-F5F6-430F-A334-C31494182599 -setup Install -type action -title {Move Forward} -component MoveForward -active Yes -parent 268B55D8-DE61-421A-AB68-A5D4821D981F
|
||||
InstallComponent 68A06F1C-625E-4BF0-AE3B-8BFBD37824C1 -setup Install -type pane -title {Custom Blank Pane 2} -component CustomBlankPane2 -active Yes -parent StandardInstall
|
||||
InstallComponent 75288342-4CEB-473C-B242-450642503F74 -setup Install -type action -title {Add Widget} -component AddWidget -active Yes -parent 68A06F1C-625E-4BF0-AE3B-8BFBD37824C1
|
||||
InstallComponent F1A58A0A-58DF-4236-9316-8BE4D22D4FF6 -setup Install -type action -title {Add Widget} -component AddWidget -command reorder -active Yes -parent 68A06F1C-625E-4BF0-AE3B-8BFBD37824C1
|
||||
InstallComponent 0C4A17DA-7867-40CC-81B4-0D1F170581AC -setup Install -type action -title {Replace Text In File} -component ReplaceTextInFile -active Yes -parent 68A06F1C-625E-4BF0-AE3B-8BFBD37824C1
|
||||
InstallComponent 1F7BE720-7885-4150-9550-F25FB1C69423 -setup Install -type pane -title {Setup Complete} -component SetupComplete -active Yes -parent StandardInstall
|
||||
InstallComponent 10D62EB5-B108-461C-91D4-1D18A9CB5B08 -setup Install -type action -conditions {8112E00E-C24D-458F-9C19-03E63937E908 29B86DFA-93EA-4584-A9CF-DE823F4787F2} -title {Start Windows Service} -component StartWindowsService -command insert -active Yes -parent 1F7BE720-7885-4150-9550-F25FB1C69423
|
||||
|
@ -485,9 +488,7 @@ array set Properties {
|
|||
|
||||
0C4A17DA-7867-40CC-81B4-0D1F170581AC,StringMap
|
||||
{$ServerIP$ <%ServerIP%>
|
||||
$ServerPath$ <%ServerPath%>
|
||||
$AgentTemp$ <%InstallDir%>\\temp
|
||||
}
|
||||
$AgentTemp$ <%InstallDir%>\\temp}
|
||||
|
||||
0F1370DF-FF15-4CE7-ADF6-CA74BC642334,CheckCondition
|
||||
{Before Action is Executed}
|
||||
|
@ -612,6 +613,9 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
268B55D8-DE61-421A-AB68-A5D4821D981F,BackButton,subst
|
||||
{1}
|
||||
|
||||
268B55D8-DE61-421A-AB68-A5D4821D981F,Buttons
|
||||
{Cancel}
|
||||
|
||||
268B55D8-DE61-421A-AB68-A5D4821D981F,CancelButton,subst
|
||||
{1}
|
||||
|
||||
|
@ -696,15 +700,6 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
354871D2-65BD-4414-BB04-F466798FA027,String
|
||||
{<%Property <%CurrentPane%> UserMustAcceptLicense%>}
|
||||
|
||||
3A459246-12CD-03D3-5704-1C5B3F224CDC,Conditions
|
||||
{0 conditions}
|
||||
|
||||
3A459246-12CD-03D3-5704-1C5B3F224CDC,ConsoleTitle
|
||||
{<%AppName%> Programming AT for 5-day maintance restart of Pandora FMS Agent}
|
||||
|
||||
3A459246-12CD-03D3-5704-1C5B3F224CDC,ProgramCommandLine
|
||||
{at 00:00 /every:1,5,10,15,20,25,30 "net stop PandoraFMSAgent & net start PandoraFMSAgent"}
|
||||
|
||||
3AEDBF26-DF24-4328-B5AE-E93AA5F0617B,CheckCondition
|
||||
{Before Action is Executed}
|
||||
|
||||
|
@ -838,7 +833,7 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
{185}
|
||||
|
||||
60CAEDF4-53E9-46C5-9A0F-5873E12F2328,Y
|
||||
{140}
|
||||
{250}
|
||||
|
||||
60FEFCD5-D31D-4DEA-86D7-E0246ABF0DF5,Action
|
||||
{Uninstall Actions}
|
||||
|
@ -951,18 +946,6 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
716175FD-DD14-46E4-AC3E-2E6483C6FF7D,Conditions
|
||||
{2 conditions}
|
||||
|
||||
736623D0-C176-476C-A899-35C05DD59147,Conditions
|
||||
{0 conditions}
|
||||
|
||||
736623D0-C176-476C-A899-35C05DD59147,ShortcutName
|
||||
{<%HelpGeneratingSSHKeys%>}
|
||||
|
||||
736623D0-C176-476C-A899-35C05DD59147,TargetFileName
|
||||
{<%InstallDir%>/help/<%HowTo%>}
|
||||
|
||||
736623D0-C176-476C-A899-35C05DD59147,WorkingDirectory
|
||||
{<%InstallDir%>}
|
||||
|
||||
73AB9FDF-9481-4EC3-8B31-C109BAA1086C,Alias
|
||||
{Uninstall Actions}
|
||||
|
||||
|
@ -994,7 +977,7 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
{ServerIP}
|
||||
|
||||
75288342-4CEB-473C-B242-450642503F74,Width
|
||||
{430}
|
||||
{420}
|
||||
|
||||
75288342-4CEB-473C-B242-450642503F74,X
|
||||
{20}
|
||||
|
@ -1105,7 +1088,7 @@ $AgentTemp$ <%InstallDir%>\\temp
|
|||
{<%InstallDir%>}
|
||||
|
||||
946FC43B-0E32-4C38-86EF-4F9252C67E16,FileSize
|
||||
{9184513}
|
||||
{9222570}
|
||||
|
||||
946FC43B-0E32-4C38-86EF-4F9252C67E16,Name
|
||||
{Program Files}
|
||||
|
@ -1281,6 +1264,9 @@ B2E20690-C57D-4286-9977-F2541E04D71F,BrowseButton,subst
|
|||
B2E20690-C57D-4286-9977-F2541E04D71F,BrowseText,subst
|
||||
{1}
|
||||
|
||||
B2E20690-C57D-4286-9977-F2541E04D71F,Buttons
|
||||
{Next/Cancel}
|
||||
|
||||
B2E20690-C57D-4286-9977-F2541E04D71F,CancelButton,subst
|
||||
{1}
|
||||
|
||||
|
@ -1365,6 +1351,9 @@ C19EE9A4-6BBE-4631-8013-7B7DCA588367,Prompt
|
|||
C862BDC0-8F67-4546-B658-4A9A8ADCE385,BackButton,subst
|
||||
{1}
|
||||
|
||||
C862BDC0-8F67-4546-B658-4A9A8ADCE385,Buttons
|
||||
{Next/Cancel}
|
||||
|
||||
C862BDC0-8F67-4546-B658-4A9A8ADCE385,CancelButton,subst
|
||||
{1}
|
||||
|
||||
|
@ -1578,38 +1567,17 @@ F037AAD5-E79E-4544-B8C0-AA98CDF5438E,Title,subst
|
|||
F0BC8450-668B-41B2-A442-F1BE095D1BFB,Conditions
|
||||
{0 conditions}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Conditions
|
||||
F1651434-2539-7283-6835-FB0B9C37B3B1,Conditions
|
||||
{0 conditions}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Height
|
||||
{20}
|
||||
F1651434-2539-7283-6835-FB0B9C37B3B1,IgnoreErrors
|
||||
{Yes}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,LabelSide
|
||||
{left}
|
||||
F1651434-2539-7283-6835-FB0B9C37B3B1,ProgramCommandLine
|
||||
{install_service_restart.bat}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,LabelWidth
|
||||
{28}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text,subst
|
||||
{1}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Type
|
||||
{entry}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Value
|
||||
{/var/spool/pandora/data_in}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,VirtualText
|
||||
{ServerPath}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Width
|
||||
{430}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,X
|
||||
{20}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Y
|
||||
{215}
|
||||
F1651434-2539-7283-6835-FB0B9C37B3B1,WorkingDirectory
|
||||
{<%InstallDir%>\scripts}
|
||||
|
||||
F6A6DB43-C89D-4A19-98D3-1E24284260AE,Comment
|
||||
{Do not display this pane if this is an upgrade install unless there is more than one installation present}
|
||||
|
@ -2397,9 +2365,6 @@ BF861387-DA7F-4986-B5BB-F77358B58603,Message
|
|||
EditConfiguration
|
||||
{Bearbeiten der Konfiguration}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Startet <%AppName%> Dienst}
|
||||
|
||||
|
@ -2417,6 +2382,11 @@ Please click on Next button to continue, or Cancel to exit this setup.
|
|||
1D572EE2-DD93-4F13-850E-DE0EEB1DA110,Message
|
||||
{<%UninstallingApplicationText%>}
|
||||
|
||||
1F7BE720-7885-4150-9550-F25FB1C69423,Message
|
||||
{The InstallJammer Wizard has successfully installed <%AppName%>. Click Finish to exit the wizard.
|
||||
|
||||
NOTE: In some Windows systems, it is needed to restart the server after installing a Service and adding new directories to system path. We recommend to restart your server, but this is not always needed.}
|
||||
|
||||
2073DDB6-50AB-4708-82AD-02A6C3F3EDE1,Message
|
||||
{<%InstallationCompleteText%>}
|
||||
|
||||
|
@ -2463,7 +2433,7 @@ Please click on Next button to continue, or Cancel to exit this setup.
|
|||
{Starting Pandora FMS service}
|
||||
|
||||
75288342-4CEB-473C-B242-450642503F74,Text
|
||||
{Pandora Server IP Address:}
|
||||
{Pandora FMS Server address}
|
||||
|
||||
8112E00E-C24D-458F-9C19-03E63937E908,Message
|
||||
{Do you want to start Pandora FMS Agent Service?}
|
||||
|
@ -2595,9 +2565,6 @@ END OF TERMS AND CONDITIONS}
|
|||
EditConfiguration
|
||||
{Edit Configuration}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
FB96078B-BA3C-498C-8C20-B01C1F28ACA9,Description
|
||||
{<%ProgramFilesDescription%>}
|
||||
|
||||
|
@ -2637,7 +2604,9 @@ Pulse Siguiente para continuar o Cancelar para salir de la instalación.}
|
|||
{La instalación ha finalizado}
|
||||
|
||||
1F7BE720-7885-4150-9550-F25FB1C69423,Message
|
||||
{El instalador ha instalado <%AppName%> con éxito. Pulse Finalizar para salir de este instalador.}
|
||||
{El instalador ha instalado <%AppName%> con éxito. Pulse Finalizar para salir de este instalador.
|
||||
|
||||
NOTA: En algunos sistemas Windows es necesario reiniciar después de instalar un servicio y agregar un nuevo directorio al PATH del sistema. Recomendamos por tanto que reinicie este servidor.}
|
||||
|
||||
2073DDB6-50AB-4708-82AD-02A6C3F3EDE1,Message
|
||||
{<%InstallationCompleteText%>}
|
||||
|
@ -2692,9 +2661,6 @@ DE1D4DF7-A35C-4228-8A25-07106AD77C9E,Subtitle
|
|||
EditConfiguration
|
||||
{Editar fichero de configuración}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Ruta en el servidor para los paquetes de datos:}
|
||||
|
||||
HelpGeneratingSSHKeys
|
||||
{Creación de claves SSH}
|
||||
|
||||
|
@ -2714,13 +2680,13 @@ SeparatorText
|
|||
{Instalador de Pandora FMS}
|
||||
|
||||
StartPandoraService
|
||||
{Iniciar el servicio <%AppName%>}
|
||||
{Pandora FMS Service - Iniciar Servicio}
|
||||
|
||||
StopPandoraService
|
||||
{Parar el servicio <%AppName%>}
|
||||
{Pandora FMS Service - Parar Servicio}
|
||||
|
||||
StopPanodoraService
|
||||
{Stop Pandora Service}
|
||||
{Pandora FMS Service - Parar Servicio}
|
||||
|
||||
UninstallStartupText
|
||||
{Se eliminará completamente <%AppName%> de su sistema. ¿Seguro que desea continuar?}
|
||||
|
@ -2766,9 +2732,6 @@ BF861387-DA7F-4986-B5BB-F77358B58603,Message
|
|||
EditConfiguration
|
||||
{Modifier la configuration}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Démarre le service <%AppName%>}
|
||||
|
||||
|
@ -2799,9 +2762,6 @@ StopPandoraService
|
|||
75288342-4CEB-473C-B242-450642503F74,Text
|
||||
{Pandora Server IP Address:}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Start Pandora Service}
|
||||
|
||||
|
@ -2832,9 +2792,6 @@ Premere su Avanti per continuare o su Annulla per uscire dall'installazione.}
|
|||
75288342-4CEB-473C-B242-450642503F74,Text
|
||||
{Pandora Server IP Address:}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Start Pandora Service}
|
||||
|
||||
|
@ -2863,9 +2820,6 @@ Klik op <%Next%> om verder te gaan of op <%Cancel%> om deze installatie af te b
|
|||
75288342-4CEB-473C-B242-450642503F74,Text
|
||||
{Pandora Server IP Address:}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Start Pandora Service}
|
||||
|
||||
|
@ -2908,9 +2862,6 @@ Kliknij Dalej, aby kontynuować lub Anuluj, aby opuścić instalator.}
|
|||
BF861387-DA7F-4986-B5BB-F77358B58603,Message
|
||||
{<%InstallingApplicationText%>}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{}
|
||||
|
||||
|
@ -2958,9 +2909,6 @@ BF861387-DA7F-4986-B5BB-F77358B58603,Message
|
|||
EditConfiguration
|
||||
{Editar a configuração}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Inicia o serviço <%AppName%>}
|
||||
|
||||
|
@ -2984,9 +2932,6 @@ StopPandoraService
|
|||
75288342-4CEB-473C-B242-450642503F74,Text
|
||||
{Pandora Server IP Address:}
|
||||
|
||||
F1A58A0A-58DF-4236-9316-8BE4D22D4FF6,Text
|
||||
{Server Path for Incoming Packets:}
|
||||
|
||||
StartPandoraService
|
||||
{Start Pandora Service}
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
@at 00:00 /every:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 "%CD%\restart_pandora_agent.bat"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
@net stop PandoraFMSAgent
|
||||
@net start PandoraFMSAgent
|
Loading…
Reference in New Issue