Pandora: Documentation en: IPAM

From Pandora FMS Wiki
Jump to: navigation, search

1 IPAM Extension

This is an Enterprise feature. With the IPAM extension we can manage the IP of our networks, discover the hosts of a subnet and detect their availability changes (whether they respond to ping or not) or hostname (obtained through dns). We can also detect their operating system. The IPAM extension uses a recon script (dependent on the recon server) to perform all the logic underneath. The management of IP's is independent of whether or not it has agents installed on those machines or an agent with remote monitors on that IP. You can optionally "associate" an agent to the IP and manage that IP, but it does not affect the monitoring you are doing.

1.1 IPs Detection

We can configure a network (via a network and a network mask) so that the recognition of your addresses is executed automatically from time to time or only manually. This mechanism uses the recon server, but manages it automatically. For its correct operation it is important to make sure that you have the xprobe and fping packages installed. In case of having any doubt, you can check the documentation about installing Pandora FMS for more details about that aspect.

1.2 IPs with installed agents

The first time you detect the network, after creating it in the IPAM control panel, Pandora will look for the IPs of that network. If it detects that the IP is operational, it will manage it. If it doesn't respond to ping, it'll leave it unmanaged. Any managed IP that changes state (stop responding to ping) will generate an event in the system. You can manually manage as many IPs as you want, editing them to give you an alias/hostname, a description or even force their operating system.

Special mention should be made of the fact that when IPAM detects an IP that has a software agent installed and has that IP assigned to it, it makes it possible to identify it explicitly, as in the case of ip 70.125 of this screenshot:

IPAM agente.jpg

And if we click on the detail view of the agent:

Ipam agent detail.jpg

1.3 Views

Network IP addresses administration and operation are splitted in two views: icon views and edition view.

1.3.1 Icon view

IPAM icons.png

This view reports information on the network, including stats on the percentage and number of occupied IP addresses (only for 'managed' addresses). We can also export to Excel/CSV the filtered list.

Addresses will be shown as icons, large or small. This icons will render the following information:

Managed
Setup Alive host Unresponsive host
No assigned agent

Disabled events
Green host.png Red host.png
With assigned agent

Disabled events
Green host agent.png Red host agent.png
No assigned agent

Enabled events
Green host alert.png Red host alert.png
With assigned agent

Enabled events
Green host agent alert.png Red host agent alert.png
Not managed
Setup Alive host Unresponsive host
If an IP address is not managed, you can only view if is responding or not. Green host dotted.png Not host.png


From version 5.1 SP1, if the IP is reserved it will have a light blue background, and if it's not, the background color will be white.

Each IP address has in the bottom right position a link to edit it (with administration rights). In the bottom left position, there is a small icon showing the detected OS. On disabled addresses, instead the OS icon, you will see this icon:


Disabled.png


When you click on the main icon, a modal window will be opened showing all the IP information, including associated agent and OS, setup for that IP and other information, like creation date, last user edition or last time it was checked by server. In this view you can also do a manual, realtime check to see if that IP respond to ping.


IPAM Details.png



Template warning.png

This ping is done from the machine where the Pandora FMS Console is installed.

 


From 5.1 SP1 version

Also, for the easy management of the free IP's, there is a button that will show a dialogue box with the next free IP to reserve or manage.


Next free ipam.png


1.3.2 Edit view

If you have enough permission, you will have access to setup view, where IP address are shown as a list. You can filter to show only the IP's you are interested into, make changes on them and update all of them at once.

Some fields, are automatically filled by the recon script, like hostname, if it have a Pandora FMS agent and the operating system. You can mark that fields as "manual" and edit them.

Switching between manual and automatic
Manual.png Manual mode: With this symbol, the field will not be updated by the recon system and you can edit manually. By clicking on it, you will switch to automated mode.
Automatic.png Automated mode: With this icon, the field will be updated automatically from the recon script. By clicking on it, it will switch to manual mode.


Template warning.png

Fields marked as "manual" will not be updated by the recon script.

 


Other fields you can modify are: - Activate events on an IP address. When availability on this address change (answer or stop to answer) or the hostname change, a new event will be generated.

When an address is created, it always will generate an event.

  • Mark as managed an IP Address. This address are those we will acknowledge as assigned in our network and managed in the system. We will be able to filter the IPs to show only those that we have marked as managed.
  • Disable. Disabled IP addresses are not checked by the recon script.
  • Comments. A free field to add comments on each address.


IPAM edition.png


1.4 Massive operations view

There is another tab to manage the IPs in a massive way, helping the user with the management of big groups of IPs.

Massive ipam.png

1.5 Filters

On both views you can sort by IP, Hostname and by the last update.

You can filter by a text substring, which will match in IP, hostname or comments of each IP in the system. Enabling the checkbox near to search box, it will force an exact match by IP.

By default, not responding hosts are not shown, but you can change the filter.

You can also show only the managed IP addresses.

1.6 Subnetwork calculator

IPAM includes a tool to calculate IPv4 and IPv6 subnetworks.

In this tool, you can, using an IP address and a netmask, obtain the information of that network:

  • Network (Address/Bitmask)
  • Netmask
  • The Wildcard mask
  • The network Address
  • Broadcast Address
  • First valid IP
  • Last valid IP
  • Number of IPs in the network

Info.png

These fields are given in address format (decimal for IPv4 and hexadecimal for IPv6) and binary format.

 


IMAP Calculator IPV4.png IPv4

IMAP Calculator IPV6.png IPv6

1.7 Users ACL

When configuring any network, by default in previous installations of the system, all the users will have total access to the IPAM tool, but now, you can define a list of users who can manage the network. All the users with administrator permissions can access all the networks.

1.8 Recon task creation

The IPAM module uses the Recon Server subsystem underneath. The IPAM-type tasks that we can see on the recon server are created by the IPAM module and should not be "manually" created or deleted.


1.9 VLAN IPAM

The VLAN administration view allows us to easily create or update VLANs. To create a new VLAN, a unique name and optional description must be entered.



IPAM 1.png


Once created, it can be consulted from the list of created VLANs, where 'the following information is shown:.

  • VLAN name.
  • VLAN description.
  • Networks assigned to VLANs. If no network is assigned, a message is displayed indicating so.
  • Operations:
    • Update VLAN data.
    • Add networks to VLAN.
    • Delete VLAN. If a VLAN is deleted, a confirmation message will be displayed.
    • Stats: link to VLAN statistics view.


IPAM 2.png


To add networks to a VLAN, we select the icon “+” which will show a popup window:

If there are available networks: A selector like the one shown below will appear where you can select one or more networks.

Info.png

NOTE: It is important to know that a network cannot belong to two different VLANs.

 



IPAM 3.png


From the selector it will be possible to create a new network to add to the list by means of the create network option.

If there are no available networks: An informative message will appear.


IPAM 3 1.png


1.10 IPAM VLAN Stats

To get information from a VLAN we have a view that shows the statistics.

  • Name and description.
  • Statistical data:
    • Total available IPs.
    • Occupation and availability of IPs.
    • Managed IPs.
    • Reserved IPs.


IPAM 4.png


Additionally, for each of the networks that are part of the VLAN, the following statistics and information will be displayed:

  • Name.
  • Recon Interval.
  • Localization.
  • Description.
  • Network scan progress.


IPAM 5.png


These stats can be exported to Excel selecting the button in the upper part:


IPAM 6.png


1.11 IPAM VLAN Wizard:

This view will allow us to create a VLAN easily and quickly via SNMP.


IPAM 7.png


In order to perform the SNMP query it is required to enter address, community and version. Once entered, it will show a list with all the VLANs available for that address, detailing the following data:

  • Name of the VLAN. When there are interfaces not assigned to a VLAN, the default name is 'default'.
  • Interfaces.
  • Description.
  • Status. If the status is 'default' this field will be empty. If the VLAN is not created, a checkbox will appear to select it for later creation, adding as description the address and its interfaces as shown in the example:


IPAM 8.png


1.12 IPAM Supernet

The SuperNet Administration view allows us to create or update a supernet in a simple way.

To create a new supernet you must enter:

  • Name of the supernet. This field is required and must be unique.
  • Network: address and mask. These fields are required.
  • Subneting mask. This field is optional.
  • Description. Optional.


IPAM 9.png


Once created, it will be possible to consult from the list of created supernets, where the following information is shown:

  • Supernet name.
  • Supernet address and mask
  • Supernet description.
  • Subnetting mask.
  • Networks assigned to Supernet. In the case of not having any network assigned, a message is shown indicating so.
  • Operations:
    • Update Supernet data.
    • Add networks to Supernet.
    • Delete Supernet. In case of deleting a supernet, a confirmation message will be displayed.
    • Statistics: link to the Supernet statistics view.


IPAM 10.png


To add networks to a Supernet, we select the icon “+”, which will show a popup window:

If there are available networks: A selector like the one shown below will appear where you can select one or more networks.

Info.png

NOTE: It is important to know that a network cannot belong to two different Supernets.

 



IPAM 10 1.png


A new network can be created from the selector by selecting 'next network. If a subneting mask has been added, the next available network will be selected by default.

If there are no available networks: An informative message will appear.



IPAM 10 2.png


1.13 IPAM Supernet Stats

To get information from a Supernet, we have a view that shows the statistics.

  • Name and description.
  • Statistical data:
    • Total available IPs.
    • Occupation and availability of IPs.
    • Managed IPs.
    • Reserved IPs.


IPAM 11.png


Additionally, for each of the networks that are part of the Supernet, the following statistics and information will be displayed:

  • Name.
  • Recon Interval.
  • Localization.
  • Description.
  • Network scan progress.


IPAM 12.png


These stats can be exported to Excel selecting the button in the upper part:


IPAM 13.png


1.14 IPAM Supernet Map

A map with all the created Supernets will be shown:


IPAM 14.png


Networks and Supernets will be represented as nodes. The difference between the two is that the Supernets have a thicker edge.

The following information will be displayed inside each node:

  • Net or Supernet name.
  • Occupation percentage.
  • Number of available IPs.


IPAM 15.png


In the Pandora setup in the enterprise part the critical and warning thresholds can be configured, showing the nodes in red for critical and orange for warning:



IPAM 16.png



IPAM 17.png


Stats will be shown by clicking on a node:


IPAM 18.png


1.15 IPAM Network Use Monitoring

IPAM's new system allows the creation of reports, graphs, alerts generation, etc.

In order to do this, the network to be monitored must have the monitoring option activated, as well as the group assignment option.

IPAM 19 2.png


This will create an agent in Pandora whose name will be IPAM_<nombre de la red>, and whose modules will have the following info:

  • Total number of available IPs.
  • Total number of free (unassigned) IPs.
  • Total number of occupied IPs (assigned, reserved).
  • Total number of reserved IPs.
  • % of free IPs (free/available).


IPAM 19.png



IPAM 19 1.png


1.16 IPAM Automatic synchronization with DHCP Server (Windows):

The tool Pandora FMS IPAM DHCP provides DHCP monitoring modules for a Windows DHCP server and complements the information shown in the IPAM extension.

This is an agent Plug-in.

First, a collection must be created in Pandora FMS console. For example, a custom short name like IPAM can be used.

Secondly, the IPAM agent tool is uploaded to the collection and the collection is rebuilt.

In third place, the collection is assigned to the Pandora FMS agent of the Windows DHCP server.

Finally, the execution is registered in the Complements tab in the Pandora FMS agent administration:

Info.png

“C: \ Program Files \ pandora_agent \ collections \ ipam \ ipam_agent_tool.exe”

 


After a while, the file will be transferred to the agent and executed, providing the following modules:

  • [network] DHCP usage.
  • [network] available DHCP IPs.
  • [network] free DHCP IPs.
  • [network] Assigned DHCP IPs.
  • [network] Reserved IPs DHCP.

The information provided in the IPAM extension is not overwritten if the destination IP addresses are in the "managed" status.


IPAM 22.png



IPAM 23.png


Go back to Pandora FMS documentation index