Suppose you’re using lots of maps to make the navigation of your IT infrastructure more user friendly for your (management) user who’s not at all technically minded. That person wants to see the IT status of their systems in graphical form, but there’s a problem in that the IT assets change over time, and it gets harder and harder to keep your maps in sync with Monitoring.
It’s normal that when the monitoring admin(s) make changes to monitoring assets, sometimes the maps are the things that have to be adapted. While new assets are only a problem because their information is just plain missing on the map, removed assets are a problem in so far as they generate UNKNOWN objects in your maps, which isn’t really nice to show your manager.
What you should of course do is regularly check all your map config files for objects that are no longer present in your monitoring environment. To do this I created a script (which can also be used in active monitoring) to check your maps and send problem reports if objects change to status UNKNOWN.
You can download this script from here, and then call it inside your monitoring setup. Please notice that the PATHs in the plugins are adapted to the NetEye Unified Monitoring Product. This also means that monitoring is based on Icinga 2, and you need “icingacli” for this plugin to work.
So after downloading it have a look at this 2 settings:
CLICMD=”/usr/bin/icingacli”
MAPDIR=”/neteye/shared/nagvis/conf/maps”
In your monitoring environment you just have to call the plugin without using any parameters. It will return CRITICAL status if any elements within a NagVis Map are not present, and an OK if all objects are also present in Icinga 2 Monitoring. You’ll then see in the “extended” Plugin Output all maps with problems: which objects are missing, and the type of object. For the time being these NagVis Objects are checked:
Hosts
Services
Hostgroups
NagVis Maps
This plugin should help you to keep your NagVis Maps more Up2Date.
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
Author
Juergen Vigna
I have over 20 years of experience in the IT branch. After first experiences in the field of software development for public transport companies, I finally decided to join the young and growing team of Würth Phoenix. Initially, I was responsible for the internal Linux/Unix infrastructure and the management of CVS software. Afterwards, my main challenge was to establish the meanwhile well-known IT System Management Solution WÜRTHPHOENIX NetEye. As a Product Manager I started building NetEye from scratch, analyzing existing open source models, extending and finally joining them into one single powerful solution. After that, my job turned into a passion: Constant developments, customer installations and support became a matter of personal. Today I use my knowledge as a NetEye Senior Consultant as well as NetEye Solution Architect at Würth Phoenix.
One feature that's widely used by customers for the enrichment of entities (hosts/services) within Icinga is custom_var. These can be used for a variety of reasons: to provide more information to end users about a device, faster classification, to integrate Read More
What's What NetEye is a comprehensive IT Monitoring and Observability platform developed by Würth Phoenix. It's based on open-source tools like Icinga, NagVis, Grafana, Elastic Stack, among others, and is tailored for enterprise IT infrastructure monitoring, IT Operations Analytics (ITOA), Read More
Our older customers surely know that, in its earliest releases, NetEye 4 had no support for multitenancy. From a data perspective, there's just one big bin we throw everything into to be used later. Then, a debate about multitenancy began. Read More
NagVis, which in NetEye 4 is called the "Maps" Application, is a visualization add-on for the well-known network management system Nagios® and Icinga. NagVis can visualize monitoring status data as objects overlaid on maps to display them in different layouts: Read More
This article stems from a project on the remote control of devices using NagVis maps. The main purpose is to find an easy way to actuate a remote device through a click on an interface. To do this, we implemented Read More