Pandora: Documentation en: Satellite
- 1 Satellite Server
- 1.1 Introduction
- 1.2 Installation
- 1.3 Satellite Server Installation in Linux Systems
- 1.4 Windows Installation
- 1.5 Configuration
- 1.5.1 agent_interval xxx
- 1.5.2 agent_theads xxx
- 1.5.3 xxxxxx_interval xxx
- 1.5.4 xxxxx_retries xxx
- 1.5.5 xxxxx_timeout xxx
- 1.5.6 xxxxx_block xxx
- 1.5.7 xxxxx_threads n
- 1.5.8 log_file /var/log/satellite_server.log
- 1.5.9 recon_task xxxxx[,yyyy]
- 1.5.10 server_ip <ip>
- 1.5.11 recon_mode [icmp,snmp,wmi]
- 1.5.12 recon_community aaa,bbb,ccc...
- 1.5.13 wmi_auth Administrator%password
- 1.5.14 agent_conf_dir <path to agente conf dir>
- 1.5.15 group <grupo>
- 1.5.16 daemon 1|0
- 1.5.17 hostfile <file>
- 1.5.18 pandora_license xxxxxxx
- 1.5.19 remote_config 1|0
- 1.5.20 temporal_min_size
- 1.5.21 xml_buffer
- 1.5.22 snmp_version
- 1.5.23 braa <path to braa>
- 1.5.24 fping <path to fping>
- 1.5.25 fsnmp <path a fsnmp>
- 1.5.26 latency_packets xxx
- 1.5.27 nmap <path to nmap>
- 1.5.28 nmap_timing_template xxx
- 1.5.29 ping_packets xxx
- 1.5.30 recon_enabled 0|1
- 1.5.31 recon_timing_template xxx
- 1.5.32 server_port xxxxx
- 1.5.33 server_name xxxxx
- 1.5.34 server_path xxxxx
- 1.5.35 server_opts
- 1.5.36 transfer_mode XXX
- 1.5.37 Secondary Server
- 1.5.38 snmp_verify 0|1
- 1.5.39 snmp2_verify 0|1
- 1.5.40 snmp3_verify 0|1
- 1.5.41 startup_delay xxx
- 1.5.42 temporal /tmp
- 1.5.43 tentacle_client <path to tentacle_client>
- 1.5.44 wmi_client <path to wmic>
- 1.5.45 snmp_blacklist <path to the blacklist>
- 1.5.46 add_host <IP address> [agent name]
- 1.5.47 ignore_host <agent name>
- 1.5.48 keepalive xxx
- 1.5.49 credential_pass xxx
- 1.5.50 timeout_bin <path to timeout>
- 1.5.51 timeout_seconds xxx
- 1.5.52 proxy_traps_to <address[:port]>
- 1.5.53 proxy_tentacle_from <address[:port]>
- 1.5.54 proxy_tentacle_to <address[:port]>
- 1.5.55 dynamic_inc 0|1
- 1.5.56 vlan_cache_enabled 0|1
- 1.5.57 verbosity <0-10> (Version > 7.0OUM204)
- 1.5.58 agents_blacklist_icmp (Version > 7.0OUM713)
- 1.5.59 agents_blacklist_snmp (Version > 7.0OUM713)
- 1.5.60 agents_blacklist_wmi (Version > 7.0OUM713)
- 1.5.61 general_gis_exec (Version > 7.0OUM734)
- 1.6 Agent creation in Satellite Server
- 1.7 Agent removal in Satellite Server
- 1.8 Specific Agent Configurations
- 1.9 Credential boxes
- 1.10 General view of all agents in the console
- 1.11 SNMP blacklist
1 Satellite Server
The Satellite Server is used for network and remote systems monitoring and discovery. It can discover network elements (routers, switches, etc) using SNMP or ICMP, or Windows (using WMI) or Linux (using SNMP) servers. This is no ordinary server, it can be considered to be a broker agent with extended functions. It is an exclusive component for the Enterprise version. It is especially useful to monitor inaccessible, by the Pandora Server, remote networks, where a software agent just isn't and option.
This server doesn't require a connection with the pandora database. It sends all information in XML format using the tentacle protocol like and agent.
The satellite server can be used in Windows and Linux alike although the installation process in both cases is a little different.
This server has some characteristics witch make it unique and more than recommended on many occasions:
- It can execute network tests (ICMP, Latency and SNMP v1 and v2) at an extremely high pace (500 checks per second).
- It only sends information to the server after some period of time (300 seconds by default), but it can execute the latency, ICMP and SNMP tests within a smaller interval (30 seconds for example). This way it can notify the Pandora Server almost instantly when a change in the status is detected. This status changes must be previosly defined if the module type isn't a generic_proc type (network interfaces or general network connectivity for example)
- It doesn't require connection to the database. It sends all files in XML format the same way as an independent server, similar in many ways to a broker agent or an export server.
- It has an autodiscovey mechanism for SNMP and WMI. Once an agent is detected (by IP address), it detects the dynamic elements (network interfaces, storage) and monitors them automatically.
- In Windows systems it can detect the discdrive, CPU, and memory.
- In systems with SNMP it can detect the status of the interfaces, inbound and outbound traffic for each interface and the name of the system.
- The autogenarated modules can be modified, like every other module, administrating the agent from the console like any other agent in the massive operations menu and for these modules from the Satellite section.
- Agents can be created directly by the creation o an agent configuration file in the satellite server directory for agent configuration files.
1.1.1 Capacity and performance of Satellite Server
It is difficult to pinpoint the maximum capacity of the satellite, as it depends entirely on the server running, and the type of checks you want to perform. In the best case, we have managed to make 500 checks ICMP/SNMP per second, but that depends a lot on the response times of the remote devices (is not the same a device which answers in 0.5ms than one that takes 2sec to respond). Under ideal conditions we can talk about monitor 150,000 checks with a single server. In real conditions, we tested in controlled environments (LAN) about 50,000 modules with a single satellite server in a low-end computer hardware (Intel i5, 2GZ, 4GB RAM).
IF THERE ARE MANY CRITICAL MONITORS THE PERFORMANCE WILL BE AFECTED. You must have in consideration the configured timeout, since there is only one check for each critical monitor for timeout.
If we have 1000 critical modules and the timeout is configured to 4 seconds, it will take 4000 seconds to execute all the checks with only one thread.
The Satellite Server is distributed in binary format this way no additional library is required. In both Windows and Linux versions the functionality of this server is the same. In Windows systems it is installed as a service and in Linux systems it is installed as a daemon. The configuration file and specifications in both cases are the same.
1.3 Satellite Server Installation in Linux Systems
Once downloaded the binary witch contains the satellite server we must go to the download directory with root privileges and extract the files from the binary:
The a satellite_server will be created. We must enter that folder typing:
Before proceeding with installation it is necessary to clarify that fping, nmap, wmic and braa are absolutely necessary for the Satellite Server.
It is also necessary for the execution of the server to have installed Perl.
In the installer the Braa and Wmic packages are included. Fping and Nmap must be installed independently.
To install the Satellite Server we can just follow the instructions in the following image:
Once finished we need to edit the satellite_server.conf file, located in /etc/pandora/ To start the Satellite Server we need to type the following:
sudo /etc/init.d/satellite_serverd start
In case of an error take a look at the satellite_server.log file, located in /var/log/
1.4 Windows Installation
The Satellite Server can be installed following these simple steps:
We start by chosing the installation language:
Then we click on Next
Then we choose where to install the Satellite Server:
Installation of WinPCap is required. The WinPCap installation window would appear at this step of the installation process:
Then we must configure WinPCap to start on when system starts.
Once finished the installation of WinPCap we would see the following window:
The the license number must be introduced:
Then the parameters of the recon task must be configured:
At the end a restart of the system is required for all changes to take place.
Once finished the Satellite Server can be started from the start menu.
1.4.1 Operation WMI modules in some Windows versions
For security reasons in Windows, some versions have limited users who can remotely query WMI. If these modules were not carried out, the solution is to run the service Satellite Server as an Administrator user.
The process to follow is:
We click right click on the service and enter in Properties
On the Log On window, select an account with Administrator permissions and apply changes:
And following these changes, restart the service.
All parameters that require a timeout or some time are specified in seconds, for example 300 = 5 minutes.
It is important to keep in mind that the latency and snmp intervals are specific for the status change. In case of Boolean checks (port or machine status) the threshold witch defines the change of state is automatic. For the numerical values (latency, network traffic in an interface, disk space, CPU, etc) it is based in a threshold that must be defined in each module.
1.5.1 agent_interval xxx
300 seconds by default (5 minutes), it creates agents with an interval of 5 minutes. Information ins't send to the server till this time has passed. Independently that the checks done by the network server have a lower interval.
1.5.2 agent_theads xxx
Number of threads used for sending agent XML data files.
1.5.3 xxxxxx_interval xxx
Executes all checks (latency, snmp, etc) with some interval. If the current information is different compared with the previous one it sends it instantly. If it is the same it will send it when the agent interval has passed. It is useful to do intesive checks and notify only in case of a status change.
1.5.4 xxxxx_retries xxx
Number of retries in checks (latency, snmp, ping...)
1.5.5 xxxxx_timeout xxx
Timeout in seconds for the SNMP, Latency and Ping checks.
1.5.6 xxxxx_block xxx
Forces the server to execute the checks in blocks of XXX checks. The higher the number (500 tops) the more capacity it would have, but with an increased latency. In some cases it mind be recommended to lower this number (latency, ping and snmp)
1.5.7 xxxxx_threads n
Number of assigned threads to every type of check. It depends on the capacity (CPY and Memory) of the machine. The higher the threads more pressure would be put on the machine but the processing speed would be higher for the satellite server.
1.5.8 log_file /var/log/satellite_server.log
Indicates the file where the Satellite server writes its logs, by default the path is /var/log/satellite_server.log
1.5.9 recon_task xxxxx[,yyyy]
IP Address and network addresses for autodiscovery for example:
1.5.10 server_ip <ip>
Pandora FMS Server ip address where the information is send using the tentacle protocol (port 41121/tcp)
1.5.11 recon_mode [icmp,snmp,wmi]
Autodiscovery mode. The system would use the following protocols to in recon checks:
- ICMP: It would just check if the host is alive and the latency time.
- SNMP: If capable it would look for all the interfaces and get it's trafic, general status etc..
It can only use v1 and 2 of SNMP.
- WMI: Similar to the previous but in this case it would show: CPU Usage, Memory and Diskdrives
1.5.12 recon_community aaa,bbb,ccc...
States a list of SNMP communities to be used in autodiscovery mode.
1.5.13 wmi_auth Administrator%password
Specifies a list of groups of User%Password, f.e: admin%1234,super%qwerty. This list is used in autodiscovery mode.
1.5.14 agent_conf_dir <path to agente conf dir>
In this directory the config files are automatically of each agent discovered by the satellite server is stored.
1.5.15 group <grupo>
Specifies the default group for the agents created by the Satellite Server.
1.5.16 daemon 1|0
When set to 1 starts the daemon in the background (by default).
1.5.17 hostfile <file>
It is an alternative method for network scanning. A file is provided with an adress in each line. It can include the hostname as well.
1.5.18 pandora_license xxxxxxx
Here you must input the license number of your Pandora FMS server the same way it appears in the Setup->Licency section. The total number of agents is verified in the pandora console.
1.5.19 remote_config 1|0
Specifies if the autodiscovery agents have enabled remote config to edit them from the console. It enable itself remote config too.
If the free space (in MB) of the partition in which the temporary directory is located. If it's smaller than this value, it would continue generating data packages. It avoids the disk becoming full if the connection with the server is lost during an extended interval under any circumstances.
The default value is '0'. If set to '1', the agent is going to save any XML data files which couldn't be sent and retries later.
If you are in a secured environment under UNIX and want to enable the XML buffer, you should consider changing the temporal directory, since anyone has the right to write into '/tmp'.
SNMP version to use by default (only 1 and 2c are supported). 1 by default.
1.5.23 braa <path to braa>
Path to the braa binary (/usr/bin/braa by default).
1.5.24 fping <path to fping>
Path to the fping binary (/usr/sbin/fping by default).
1.5.25 fsnmp <path a fsnmp>
Path to the SNMP binary(/usr/bin/pandorafsnmp by default).
1.5.26 latency_packets xxx
Number of ICMP packets to send per latency request.
1.5.27 nmap <path to nmap>
Path to the nmap binary (/usr/bin/nmap by default).
1.5.28 nmap_timing_template xxx
A value that specifies how aggressive nmap should be from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable. 2 by default.
1.5.29 ping_packets xxx
Number of ICMP packets to send per ping request.
1.5.30 recon_enabled 0|1
Enable (1) or disable (0) host auto-discovery.
1.5.31 recon_timing_template xxx
Like nmap_timing_template, but applies to Satellite Server and Recon Server network scans. 3 by default.
1.5.32 server_port xxxxx
Tentacle server port.
1.5.33 server_name xxxxx
Name that we want to call the Satellite server (by default localhost.localdomain).
1.5.34 server_path xxxxx
Path where the XML files are copied when the transfer_mode is in local (by default /var/spool/pandora/data_in).
Server parameters passed to the Tentacle.
1.5.36 transfer_mode XXX
File transfer mode. It can be Tentacle or local (by default Tentacle).
1.5.37 Secondary Server
An special kind of general configuration parameter is the definition of a secondary server. This allows the definition of a server to send data to, in a complementary way to the server defined the standard way. The secondary server mode works in two different ways:
- on_error: Send data to the secondary server only in cases it could not send them to the primary one.
- always: Always send data to the secondary server, no matter if it's able to contact the main server or not.
secondary_server_ip 192.168.1.123 secondary_server_path /var/spool/pandora/data_in secondary_mode on_error secondary_transfer_mode tentacle secondary_server_port 41121
1.5.38 snmp_verify 0|1
Enable (1) or disable (0) the verification of SNMPv1 modules that break braa in realtime. These modules will be discarded and stop being executed.
1.5.39 snmp2_verify 0|1
Enable (1) or disable (0) the verification of SNMPv2 modules that break braa in realtime. These modules will be discarded and stop being executed.
1.5.40 snmp3_verify 0|1
Enable (1) or disable (0) the verification of SNMPv3 modules that break braa in realtime. These modules will be discarded and stop being executed.
1.5.41 startup_delay xxx
Wait startup_delay seconds before sending XML data files for the first time.
1.5.42 temporal /tmp
Temporal directory where XML files are created.
1.5.43 tentacle_client <path to tentacle_client>
Full path to the Tentacle client (/usr/bin/tentacle_client by default).
1.5.44 wmi_client <path to wmic>
Full path to the WMI client binary (/usr/bin/wmic by default).
1.5.45 snmp_blacklist <path to the blacklist>
Path to the SNMP blacklist file (/etc/pandora/satellite_server.blacklist by default).
1.5.46 add_host <IP address> [agent name]
Adds the given host to the list of monitored agents. The name for the agent can be specified after the IP address. Multiple hosts may be added, one per line. For example:
add host 192.168.0.1 add host 192.168.0.2 localhost.localdomain
1.5.47 ignore_host <agent name>
Removes the given host from the list of monitored agents, even if it is found in a network scan by a recon task. The host must be identified by the name of the agent. Multiple hosts may be ignored, one per line.For example:
ignore host 192.168.0.1 ignore host localhost.localdomain
1.5.48 keepalive xxx
Satellite Server reports its status to Pandora Server and checks remote configurations (from agent generated and itself) every keepalive seconds. It is 30 seconds by default.
1.5.49 credential_pass xxx
Password used to encrypt credential box passwords. It must match the one defined in the Pandora FMS Console. The hostname is used by default.
1.5.50 timeout_bin <path to timeout>
If defined, the timeout program (usually /usr/bin/timeout) will be used to call the Tentacle client.
1.5.51 timeout_seconds xxx
Timeout in seconds for the timeout command. timeout_bin must be configured.
1.5.52 proxy_traps_to <address[:port]>
Proxy SNMP traps received by the Satellite Server to the given address (and port). Port 162 is used by default.
1.5.53 proxy_tentacle_from <address[:port]>
The Tentacle server gives permission to the address and the port given. Port 41121 is used by default.
1.5.54 proxy_tentacle_to <address[:port]>
Proxy Tentacle client requests received by the Satellite Server to the given address (and port). Port 41121 is used by default.
This option may be in conflict with remote agent configuration.
This occurs if the Satellite Server is intended to be used as a proxy for some software agents and to monitor them remotely from the Satellite Server itself (ICMP, SNMP, etc.) with remote configuration enabled in both cases.
In this situation it is necessary to either use different agents for the performed checks (i.e. with different agent_name), or leave the remote configuration enabled only on one of the two (Satellite Server or software agents).
1.5.55 dynamic_inc 0|1
Set to 1 to move dynamic auto-discovered modules (SNMP, WMI...) to separate files so that they don't interfere with remote agent configuration.
1.5.56 vlan_cache_enabled 0|1
Enable (1) o Disable(0) the VLAN cache in the self-discovered hosts.
1.5.57 verbosity <0-10> (Version > 7.0OUM204)
Log verbosity level from 0 (less verbose) to 10 (more verbose).
1.5.58 agents_blacklist_icmp (Version > 7.0OUM713)
Blacklist of ICMP checks . This field can be configured with a list of IPs using CIDR notation to prevent ICMP-type modules from running. You can specify multiple subnets by separating them with commas.
1.5.59 agents_blacklist_snmp (Version > 7.0OUM713)
Blacklist of SNMP checks. This field can be configured with a list of IPs using CIDR notation to prevent SNMP-type modules from running. You can specify multiple subnets by separating them with commas.
1.5.60 agents_blacklist_wmi (Version > 7.0OUM713)
Blacklist of WMI Checks. This field can be configured with a list of IPs using the CIDR notation to prevent WMI-type modules from running. You can specify multiple subnets by separating them with commas.
1.5.61 general_gis_exec (Version > 7.0OUM734)
Positioning script for all agents detected by the Satellite Server. The script must be executable and must print on screen the coordinates with the format <longitude>,<latitude>[,<altitude>]. The third parameter, latitude, is optional.
1.6 Agent creation in Satellite Server
There are three ways of creating an agent in the Satellite server: Recon Task, Satellite_hosts.txt file, or manually creating the .conf of the agents we want.
1.6.1 Agent creation through Recon Task
The creation of agents through Recon Task is the most used by PandoraFMS users. To be able to do it, we must go to the Satellite server configuration file and setup the following parameters:
- recon_community: You must specify a list of SNMP communities to use in the discovery of SNMP separated by commas (in the case of performing a recon of snmp type).
- recon_enabled: Must be set to 1 to enable the recon task of the Satellite Server.
- recon_interval: Time interval in which the network we want is scanned, in seconds (604800 seconds by default).
- recon_mode:Recon task mode (snmp,icmp,wmi) separated by commas.
- recon_task: List of networks to which we want to do the recognition, separated by commas.
- recon_timing_template: A value that specifies how aggressive nmap must be, from 1 to 5. 1 means slower but more reliable, 5 means faster but less reliable (3 by default).
An example of Recon Task would be:
recon_community public recon_enabled 1 recon_interval 604800 recon_mode icmp,snmp,wmi recon_task 192.168.0.0/24,192.168.1.0/24 recon_timing_template 3
Once the data has been configured, we run the satellite server using the command:
1.6.2 Agent creation through Satellite_hosts.txt
First, in order to create an agent through the satellite_hosts.txt file, we must go to the configuration file of the satellite server and decomment the line:
In second place we will create the file satellite_hosts.txt with the IP of the host that we want to create by entering IP and name of the agent to create:
192.168.10.5 Server.5 192.168.10.6 Server.6 192.168.10.7 Server.7
In order for these IPs to be created, it is necessary to be able to make the Fping call to each one of the IPs in the list, otherwise it will not be created.
Once the data has been configured, we run the satellite server using the command:
1.6.3 Manual Agent Creation
First we look at the configuration file of the satellite server in the parameter agent_conf_dir, which is where the configuration files of the new agents are created.
Once this path is located, we will only have to create a .conf file of the agents we want to create, taking for example the agent of the server as an example, and manually filling in the following fields:
- agent_name: We'll set the name of the agent.
- agent_alias: We'll set the alias of the agent.
- address: We'll set the IP of the element we want to monitor.
- group: Group to which we want to assign the agent.
- gis_exec: Sctipt de posicionamiento. Sobreescribe el comportamiendo de general_gis_exec.
- modules: Modules that we want to be created when performing the recon.
An example would be:
agent_name Ejemplo1 agent_alias Es un ejemplo address X.X.X.X group Servers module_begin module_name Ping module_ping module_end module_begin module_name Latency module_latency module_end
Once the data has been configured, we run the satellite server using the command:
1.7 Agent removal in Satellite Server
There are several cases regarding the removal of agents from the Satellite server: total removal of agents or partial removal of agents.
For the total removal of agents we must take into account the method used in the creation of agents.
- Manual: First you will have to remove the .conf files from the agents created in the /etc/pandora/conf folder and then remove the agents in the console.
- Satellite_hosts.txt file: HIt will be necessary to eliminate the file.txt, as well as the conf that have been created in the folder /etc/pandora/conf and later to eliminate the agents in the console.
- Recon_task: The recon_task will have to be deconfigured in the conf file of the satellite server, then remove the conf created in the folder /etc/pandora/conf and then remove the agents from the console.
For the partial removal we must also take into account the method used in the creation of agents.
- Manual: First of all, you will have to remove the .conf files from the agents you create delete in the /etc/pandora/conf folder and then remove the agents from the console.
- Satellite_hosts.txt file: The lines of the IPs to be deleted will have to be deleted from the file.txt, as well as the conf that have been created in the folder /etc/pandora/conf with those IPs and then delete the agents in the console.
- Recon_task: You will have to configure the blacklist of the recon_task in the conf file of the satellite server, then remove the conf created in the folder /etc/pandora/conf with those IPs and then remove the agents in the console.
1.8 Specific Agent Configurations
In addition to autodiscovered modules, all kinds of TCP, SNMP or WMI tests can be added, using a similar syntax to the local modules in software agents.
Status of the Interface (SNMP). The Satellite Server detects automatically each interface.
module_begin module_name if eth1 OperStatus module_description IP address N/A. Description: The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. module_type generic_data_string module_snmp 192.168.70.225 module_oid .18.104.22.168.22.214.171.124.1.8.3 module_community artica06 module_end
To force the module to use SNMP version 2c add the line:
To force the module to use SNMP version 1 add the line:
module_begin module_name if eth1 OperStatus module_description IP address N/A. Description: The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. module_type generic_data_string module_snmp 192.168.70.225 module_version 2c module_oid .126.96.36.199.188.8.131.52.1.8.3 module_community artica06 module_end
Conectivity to a machine (using PING)
module_begin module_name ping module_type generic_data module_ping 192.168.70.225 module_end
Port check (using TCP)
module_begin module_name Port 80 module_type generic_proc module_tcp module_port 80 module_end
General SNMP check. In this case the server extracts automatically the traffic for each interface with it's descriptive name.
module_name if eth0 OutOctets module_description The total number of octets transmitted out of the interface, including framing characters. module_type generic_data_inc module_snmp 192.168.70.225 module_oid .184.108.40.206.220.127.116.11.1.16.2 module_community artica06 module_end
CPU WMI usage check (percentage).
module_begin module_name CPU module_type generic_data module_wmicpu 192.168.30.3 module_wmiauth admin%none module_end
Memory free wmi check (percentage).
module_begin module_name FreeMemory module_type generic_data module_wmimem 192.168.30.3 module_wmiauth admin%none module_end
General WMI Querry
module_begin module_name GenericWMI module_type generic_data_string module_wmi 192.168.30.3 module_wmiquery SELECT Name FROM Win32_ComputerSystem module_wmiauth admin%none module_end
Generic SSH command (version > 6.0)
module_begin module_name GenericSSH module_type generic_data module_ssh 192.168.30.3 module_command ls /tmp | wc -l module_end
To introduce a threshold we must do it in the text definition of the module and the definition in the console for each module (module_min_warning, module_min_critical):
module_begin module_name latency module_type generic_data module_latency 192.168.70.225 module_min_warning 80 module_min_critical 120 module_end
Manually we can create execution modules. The scripts or commands that the satellite server executes must be previously established and available for the server to use. The use of module_exec can make the performance speed of the satellite server to shrink.
module_begin module_name Sample_Remote_Exec module_type generic_data module_exec /usr/share/test/test.sh 192.168.50.20 module_min_warning 90 module_min_critical 95 module_end
From version 7, in the same way as the module_exec, plugins can be added. Like these, note that the plugins will run on the machine where the satellite server is running. Therefore, it will be necessary to implement in these plugins some method to connect to the remote computer you want to monitor. The advantage over the previous ones is their great flexibility. In this way, preconditions and other mechanisms for which a module_exec falls short can be implemented. The syntax is the same as that of the agents. An example of using a plugin might be as follows:
module_plugin /usr/share/pandora/remote_advanced_checks.sh 192.168.0.1
To configure an SNMPv3 module, set module_version to 3 and specify the security level (noauth, authnopriv or authpriv), security name, authentication protocol (md5 or sha), authentication passphrase, privacy protocol (aes or des) and privacy passphrase as required. For example:
module_begin module_name snmp_noauth module_type generic_data_string module_snmp 127.0.0.1 module_version 3 module_oid .18.104.22.168.22.214.171.124.0 module_seclevel noauth module_secname snmpuser module_end
module_begin module_name snmp_authnopriv module_type generic_data_string module_snmp 127.0.0.1 module_version 3 module_oid .126.96.36.199.188.8.131.52.0 module_seclevel authnopriv module_secname snmpuser module_authproto md5 module_authpass 12345678 module_end
module_begin module_name snmp_authpriv module_type generic_data_string module_snmp 127.0.0.1 module_version 3 module_oid .184.108.40.206.220.127.116.11.0 module_seclevel authpriv module_secname snmpuser module_authproto sha module_authpass 12345678 module_privproto aes module_privpass 12345678 module_end
SNMPv3 specific configuration can be shared between modules by placing it outside the module declaration (it can also be shared between agents by moving it to the Satellite's configuration file):
agent_name snmp address 127.0.0.1 seclevel authpriv secname snmpuser authproto md5 authpass 12345678 privproto des privpass 12345678 module_begin module_name snmp_authpriv_1 module_type generic_data_string module_snmp module_version 3 module_oid .18.104.22.168.22.214.171.124.0 module_end module_begin module_name snmp_authpriv_2 module_type generic_data_string module_snmp module_version 3 module_oid .126.96.36.199.188.8.131.52.0 module_end
1.9 Credential boxes
Unless key-based authentication is properly configured, SSH modules require a username and a password in order to work. These are configured in the main configuration file, satellite_server.conf, using credential boxes with the following format:
credential_box network/mask,username,password credential_box network/mask,username,[[encrypted password]]
credential_box 192.168.1.1/32,user,pass1 credential_box 192.168.1.0/24,user,pass2
Credential boxes are searched from more restrictive to less restrictive masks.
Passwords can be encrypted using Blowfish in ECB mode. Make sure credential_pass is defined, otherwise the hostname will be used as the default encryption password. The hexadecimal representation of the ciphertext should be enclosed in double brackets:
1.10 General view of all agents in the console
If the configuration of the satellite server is correct we should be able to see the following in Agent Detail:
Generally in all machines ICMP (Ping and Latency) modules would be created but in some machines SNMP and WMI modules can be created.
In machines witch have enabled WMI the following modules can generate.
In machines with enabled SNMP the following modules will generate:
In the massive operations menu of the pandora console there is a specific section for the satellite server where different edition, deletion actions can be performed on agents and modules massively.
1.11 SNMP blacklist
When monitoring big networks SNMP modules that return invalid data can affect the performance of the Satellite Server and many modules may become unknown. The Satellite Server can read a blacklist of SNMP modules that will be discarded at startup before execution.
To create a new blacklist edit the /etc/pandora/satellite_server.conf configuration file and make sure snmp_blacklist if configured. Then run:
satellite_server -v /etc/pandora/satellite_server.conf
And restart the Satellite Server. The blacklist can be regenerated as many times as needed.
The format of the blacklist file is:
agent:OID agent:OID ...