![]() ![]() ![]() ![]() |
![]() |
DGE Management
6.1 Configuring Data Gathering Elements (DGEs)
NetVigil uses a distributed, tiered architecture where the data collection and storage is handled by the DGE component. Each DGE polls data from the network devices, servers and applications and performs real-time aggregation and storage of this performance data in a local relational database. The DGE also triggers actions and notifications when it detects that the threshold conditions are exceeded or crossed.
6.1.1 Adding a New DGE
If you would like to expand your NetVigil system to monitor additional devices in remote geographical or logical locations, you can install the software on another physical machine and integrate it seamlessly into your existing setup. You can add multiple DGEs in the same location for load balancing or increasing monitoring capacity, and also distribute DGEs in multiple locations as needed.
- To set the name of a new DGE:
- Install the DGE software on a new DGE host.
- On the DGE host, edit
NETVIGIL_HOME/etc/dge.xml
to set the unique name of this DGE.- On the DGE host, edit
NETVIGIL_HOME/etc/netvigil.xml
to set the Fully Qualified Domain Name (FQDN) or IP address of the host that runs the provisioning database. Before starting up the DGE process, you must create an entry for this DGE in the provisioning database as described in "Step 2: Create a New DGE Host" on page 6-5.You will need to pick a location name so that all devices for this location will be automatically assigned to this new DGE (you can pick any name, e.g., New York or datacenter3 or finance).
6.1.2 Changing DGE Database Type
By default, the DGE database is set to MySQL (licensed and shipped with NetVigil). However, you can use Oracle version 8.1 or higher instead.
NetVigil includes the appropriate Oracle JDBC drivers.
If the auto increment script doesn't run successfully, then execute each of the statement in the script individually at the SQL prompt.
with:
<dge vendor="jdbc:oracle:thin" port="1521" user="insert_username_here" password="insert_password_here" name="insert_database_name_here" driver="oracle.jdbc.driver.OracleDriver" minConnections="4" maxConnections="10" debugging="false" url="jdbc:oracle:thin:$USER/$PASSWORD@$DEVICE:$PORT:$DATABASE"/>Note: Remember to place correct parameter values within the quotation marks.6.1.3 Changing DGE Aggregation Scheme
You can change the DGE data aggregation scheme by updating
NETVIGIL_HOME/etc/aggregation.xml
. However, you MUST change this prior to the installation process and not after installation. When you change the aggregation scheme, all existing performance data will be deleted and fresh databases for the data aggregation will be used.Increasing the time interval that the data is stored directly impacts the size of the DGE database.
6.1.4 Disk Space Requirements for DGE Aggregation
Note A DGE Disk Space Requirements calculator is available at http://support.fidelia.com/resources/dbsize/
The DGE database stores three main data types:
- Aggregated performance data
- Event data (threshold violations)
- Syslog and Trap text messages
Each aggregated data value is 30 bytes in size (including the size of its index). For the default aggregation scheme:
5 minute samples for 1 day = 60/5*24 = 288 samples 15 minute samples for 7 days = 60/15*24*7 = 672 samples 60 minute samples for 90 days = 60/60*24*90 = 2160 samples 1 day samples for 3 years = 1*365*3 = 1095 samples TOTAL size per test = (288+672+2160+1095) * 30 bytes = 126 KB per testFor 10,000 tests DGE database = 1.26GB
The database size for 10,000 tests using some alternate aggregation schemes are described in the table below:
Oracle also requires space for transaction logs. The transaction log size must be set to a minimum of 32MB.
6.2 DGE Management Using the Web Interface
In order for NetVigil to provide network management analysis for your organization, the monitoring infrastructure must first be established by the superuser.
6.2.1 Locations and Hosts in the Web Application
Once the hardware for the DGE monitoring devices has been installed and configured (see the NetVigil Install & Upgrade Guide), the superuser can establish the DGE locations and define the DGE hosts for use by the web application.
- Step 1: Create a DGE Location
- Login to NetVigil as
superuser
.- Click on the SUPERUSER tab on the main navigation bar to go to the DGE Locations page (see Figure 6.1 below.)
- Select the Create New Location link in the information window to go to the Create Location page.
- Fill in the Name field with a unique name to identify the DGE host location (required). This can be any text, typically the name of a geographic location, department, building, etc.
- Fill in the optional fields if desired to clarify the geographical location of the DGE host and any comments.
- Click the Create Location button to save your changes.
DGE Locations Page
- Step 2: Create a New DGE Host
- Click on the SUPERUSER tab on the main navigation bar.
- Click on the DGE Mgmt link on the secondary navigation bar to go to the DGE Management page (see Figure 6.2 below.)
- Select the Create a New DGE link in the information window to go to the Create New Data Gathering Element page (see Figure 6.3 below.)
- Fill in the Name field with a unique name to identify the DGE host (this name can be arbitrary, but should be descriptive.)
- Fill in the Host field with the fully qualified domain name or IP address of the DGE host (it is important that this name be unique as it is used by the DGE at startup time to get the list of tasks, and checks the hostname against its IP address to ensure the IP is not already assigned to some other DGE's tasks.)
- Select the DGE location from the dropdown list (there may often be multiple DGEs assigned to a single geographic location.)
- Set the Soft Limit and Hard Limit values according to Fidelia's recommended limits. See Section 6.2.2, "Setting DGE Device Limits" on page 6-7 for additional information.
- Click the Create DGE button to save your changes.
- The DGE process must be started after the provisioning database has been started, since the DGE connects to the provisioning database. Typically this is done using the Windows Control Panel on Windows systems, or
NETVIGIL_HOME/etc/dge.init
on Unix systems.
DGE Management page
Create a New Data Gathering Element page6.2.2 Setting DGE Device Limits
For multiple DGEs in a single geographical location, NetVigil uses a load balancing mechanism based on configurable device limits to ensure that DGE hosts are not overloaded. There are two limits, soft and hard, which are used to determine whether the DGE has the capacity to take on a newly-provisioned device (see the algorithm below for details). When a device is created, it is provisioned to a DGE based on the following algorithm:
ELSE if there are many DGEs where the user already has devices, choose the one that's the least loaded.
ELSE if there is no DGE on which the user already has a device, pick the least loaded DGE that services the new device's location.
ELSE select another DGE.
6.3 Using the DGE Controller
6.3.1 Monitoring DGE operation/capacity
The DGE component keeps track of different types of monitors that are running, number of objects processed and number of items in various queues waiting to be processed. You can telnet into port
7655
(default, or use the port that you have configured) on the server the DGE component is running:% telnet my_dge 7655 Trying n.n.n.n... Connected to my_dge Escape character is '^]'. NetVigil device monitor password: ***** <<welcome>>Once logged in, you can use the status command to view the health of each monitor, as well as the number of times they have performed a health check of configured elements:
controller> status <<begin>> Monitor[sql] - com.fidelia.emerald.monitor.SqlQueryMonitor Number of passes: 0 Work Units processed: 0 Thread Status: alive Monitor[radius] - com.fidelia.emerald.monitor.RadiusMonitor Number of passes: 993 Work Units processed: 993 Thread Status: alive Monitor[ldap] - com.fidelia.emerald.monitor.LdapMonitor Number of passes: 0 Work Units processed: 0 Thread Status: alive [additional status lines removed] <<end>>On a healthy DGE, Thread Status for all the monitors should indicate
alive
and the number of passes and number of work units processed should be increasing, provided there are one or more tests of that particular type configured (and not suspended) in the system.The DGE status server also provides important information regarding capacity planning. The Schedule Queue section of the
status
command output indicates how many tests are waiting to be performed:MonitorServer Schedule Queue [Monitor[sql]] Size: 0 Schedule Queue [Monitor[ldap]] Size: 0 Schedule Queue [Monitor[radius]] Size: 0 Schedule Queue [Monitor[port]] Size: 0 Schedule Queue [Monitor[ntp]] Size: 0 Schedule Queue [Monitor[poet]] Size: 0 Schedule Queue [Monitor[ping]] Size: 0 Schedule Queue [Monitor[snmp]] Size: 2 Schedule Queue [Monitor[dns]] Size: 0 Schedule Queue [Monitor[external]] Size: 0 Result Queue Size: 0 Aggregation Writer Queue Size: 0 Result Writer Queue Size: 0 Event Writer Queue Size: 0In the event of a network outage, the size of different queues may grow to a large number depending on the network topology and reachability of each device. Once the outage has been resolved, the queues should start to decrease. However, if under normal operating conditions the queue continues to grow, it would indicate that new tests are being added to the queue before existing tests can be performed, and your DGE capacity has been exceeded. At this point you need to either add another DGE at the same location, move some tests/devices to a different DGE (either at same location or a different location), reduce the frequency of the tests or suspend some tests until capacity on the DGE can be increased.
Once completed, you can use quit command to log out of the DGE status server:
Fidelia Technology, Inc. Contact Us |
![]() ![]() ![]() ![]() |