This is an old revision of the document!
Agent installation
Download the zabbix agent zip file on the VMS box.
Create a directory for Zabbbix agent, for example
$ create/dir dsa0:[zabbbixagt]
Extract the files from the downloaded .zip into the newly created directory
$ set default dsa0:[zabbbixagt] $ unzip dev:[dir]vms_agent_zabbix.zip
should give
Archive: dev:[dir]vms_agent_zabbix.zip;1 inflating: zabbix_agent_IA64.EXE inflating: zabbix_sender_IA64.EXE inflating: zabbix_sender_shr32.exe inflating: README inflating: ZABBIX_AGENT_STARTUP.COM inflating: zabbix_discover.com inflating: ZABBIX_STARTUP.COM inflating: PAGEF.COM inflating: freeheaders.com inflating: indexfmap.com inflating: zabbix_logicals.template creating: [.log] creating: [.scripts] creating: [.local] $
Copy the zabbix_logicals.template as a.com file
$ copy zabbix_logicals.template .com
Edit it and update it if needed. At least update line
$ define/system/nolog zabbix_server localhost !! "my.zabbix.server" !! or "123.123.123.123"
Launch it, so that the logicals names for zabbix are defined
$ @zabbix_logicals
The logical name table ZABBIX_TABLE_MON is created,
Then launch the zabbix_discover.com
$ @zabbix_discover
This will create JSON files in zabbix_def_dir: with definition for your specific environment (disks, network interfaces,batch and print queues…)
Example
$ @zabbix_discover ZABBIX_DEF_DIR:ZABBIX_SHAD_DISKS_DISCOVERY.JSON created with 2 devices ZABBIX_DEF_DIR:ZABBIX_NOSHAD_DISKS_DISCOVERY.JSON created with 2 devices ZABBIX_DEF_DIR:ZABBIX_IF_DISCOVERY.JSON created with 2 devices ZABBIX_DEF_DIR:ZABBIX_PQUEUES_DISCOVERY.JSON created with 3 Printer Queues ZABBIX_DEF_DIR:ZABBIX_BQUEUES_DISCOVERY.JSON created with 3 Batch Queues ZABBIX_DEF_DIR:ZABBIX_SQUEUES_DISCOVERY.JSON created with 3 Server Queues
Then launch ZABBIX_STARTUP
$ @ZABBIX_STARTUP
This will create a process ZABBIX_AGENT, which communicates with the zabbix server using the ports 10050 and 10051.
To stop Zabbix Agent, just
$ stop ZABBIX_AGENT
or
$ stop/id=pid_of_zabbix_agent_process
You should download the templates and load them on your Zabbix server, in order to save time to configure the various monitored items.
See the link at Latest versions of OpenVMS templates on the start page https://zabbix.sysgroup.fr/doku.php?id=start