Asset Tools for JSM
Improve Insight possibilities using this add-on based on customization for several enterprise customers:
provide notifications to e-mail addresses loaded from Jinsight customfields
provide importer of Assets from Zabbix Monitoring tool - selectable by templates
Coming soon:
provide importer from XLS file
no more is manual conversion to CSV needed
use more sheets specified in selector to read more data sources
provide importer for paged JSON resource
Add 1.:
Add 2.: Zabbix importer from JSM
Zabbix is monitoring tool with strong support for discovery in templates definition. Templates provides possibility to create multiple items based on discovered configuration - e.g. network interfaces, filesystems, applications.
This importer allows to import such items and distinguish them based on item key. Importer is flexible and can import any template.
Importer uses Zabbix API accessible over HTTP so in the second configuration screen you have to enter URL of Zabbix server, login and password of Zabbix user with access to imported assets.
After testing configuration you can continue with object types import where most important parameter is Selector.
In selector you will have fill in retrieved template names and all items bound to template are available as data locators. Along with any template data are following common locators available:
Data locator | Zabbix value description |
HOST.HOST | Host name |
Unique ID - integer | |
HOST.DNS | Fully quilified domain name |
HOST.IP | ZHost agent IP |
HOST.DESCRIPTION | Host description |
HOST.SCREEN_URL | Host screen URL |
HOST.STATUS | Host attribute available mapped as 0 → Closed, 1→ Active, 2 → Paused |
Example: OS Linux hosts
Example: OS Linux filesystems
Template OS Linux contains discovery for filesystems. This discovery creates in host several items distinguished by #FSNAME
. For our example we will use item Total disk space on $1 with vfs.fs.size[{#FSNAME},total]
.
For providing filesystems as separate objects you have to specify selector in form Template OS Linux:FSNAME
By default is size of filesystem returned from Zabbix in bytes, which is results into number not storable in integer. There are several solutions:
use Float type
strip last nine digits from number using regular expression
(.+).........
, so the size will be in GBscreate dependent item in Zabbix to provide size in GBs (or in GiBs as in example below).