How to use libraries in PRTG
in 4 steps
What is a Library in PRTG?
- Libraries are a method for you to build additional customized views of your device tree, arranged in the way you prefer.
- The libraries show the same monitoring data as your device tree and are updated with the same scanning intervals but with the sensors organized in different groups.
- For example, you can build libraries for specific target groups: individual departments, specific services like email or your web shop.
- Using a library, you can mix and match different devices, sensors, and groups from different probes and different branches into the logical view you need.
- PRTG comes with predefined libraries, for example Sensors grouped by priority.
Why should I use the Libraries feature?
In the device tree view as mentioned above, you can see a treelike hierarchy:
Probe -> Group -> Device -> Sensor
You can insert more groups or delete them if needed, but basically you cannot group objects
in a different way.
A library makes this possible. You can bring different objects together in one view:
For example, in a larger organization, Windows Active Directory domain controllers can be placed in different sites of a data center and thus can be managed by more than one probe.
In an e-commerce organization, you want to view the web server, the related network component, and the database server in one single view.
You might as well need:
A group of sensors across several probes (in the device tree view, a device can always be found under its probe).
Set up a notification method other than the notifications you have previously created for specific sensors.
Use a filtered view based on sensor type, status, tags, or priority.
Add the Library
- Hover over the plus button on the right side of the Libraries overview list and select Add Library.
- The Add Library dialog appears.
- Enter a meaningful Library Node Name, for example “Database Server Library”.
- Define the Security Context, Tags, and Access Rights if you like.
- Click Create.
- The library is created and opens to the Management tab.
Add Library nodes
- On the left side, place the objects you want to add to the library; on the right side, you see your device tree.
- Drag either a group, a server, or a sensor from the right side to the left where it says Drop objects here. You need to see a red symbol on the library node “Database Server Library” before you can drop it.
- Notice that PRTG created a ‘node’ object in the library with the name Node; with a right-click, you can rename it using Edit | Rename.
- Add as many objects as you need (there is a maximum of 1000 objects). Remember to drop the object on the top node.
Set Library node display settings
- To make them more readable, give the Node objects more meaningful names:
- Select Edit | Rename from the context menu.
- Change the order in which your objects are shown by right-clicking on the node object and using the Move option.
In this example, both servers have been added to the library. Now, you can exclude sensors using filtering.
For filtering: Right-click on a node and select Details.
- Under Node Display Settings, select Show a collection of filtered sensors in the library (max. 1000).
- You now have 4 extra options.
- Depending on your needs, select an option, for example Show specific sensor types only.
- Here only MS SQL related sensors have been selected, which is useful if this library is given to a DBA.
- The MS SQL Server information has now been reduced to SQL information only.
- After filtering, the library now looks like this.
- This view does not show any information regarding the probes.
- In just 4 steps, you created a view that gives a clear overview of a subset of your configuration – either for yourself or for a team in your organization. You can assign read-only settings to either the account or the library for a specific user or group.
Remember that you can set your library as your homepage by entering the URL of the library by going to Setup | Account Settings | My Account | Web Interface | Homepage URL as shown here.
Now you will see the content of this library directly when you log in and click the Home button in the main menu. The library ID is probably different on your system. This ID is shown at the top-right of the library on the Overview and the Management tab.