User Tools

Site Tools


installationagent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installationagent [2018/03/22 10:52] glinstallationagent [2018/03/29 10:54] (current) – [indexfmap.com] gl
Line 33: Line 33:
  
 </code> </code>
 +
  
 Copy the zabbix_logicals.template as a.com file Copy the zabbix_logicals.template as a.com file
Line 73: Line 74:
  
 </code> </code>
 +
 +Review the .JSON files and update them if needed
 +
 +Example 1
 +
 +The file ZABBIX_SHAD_DISKS_DISCOVERY.JSON
 +
 +may contain
 + 
 +<code>
 +{
 +"data":[
 +{"{#DSNAME}":"DSA0:", "{#MCOUNT}":"2", "{#DSPCFREE}":10},
 +{"{#DSNAME}":"DSA1:", "{#MCOUNT}":"1", "{#DSPCFREE}":10}]
 +}
 +</code>
 +
 +This means that the device DSA0 has 2 members in its shadow, and an alarm is sent when 
 +
 +  * the shadow has less than 2 members 
 +  * the free space is under 10%.
 +
 +Example 2
 +
 +The file ZABBIX_BQUEUES_DISCOVERY.JSON
 +
 +may contain
 +
 +<code>
 +{
 +"data":[
 +"{#QBNAME}":"SYS$BATCH_ITA123", "{#QBJOBPEND}":"2"},
 +"{#QBNAME}":"T4$BATCH_ITA123", "{#QBJOBPEND}":"2"},
 +"{#QBNAME}":"TEST", "{#QBJOBPEND}":"2"}]
 +}
 +</code>
 +
 +this means that any batch queue will trigger an alarm if it has 2 jobs or more in pending state, you may want to modify this value.
 +
  
 Then launch ZABBIX_STARTUP Then launch ZABBIX_STARTUP
Line 80: Line 120:
 </code> </code>
  
-This will create a process **ZABBIX_AGENT**, which communicates with the zabbix server using the ports 10050 and 10051.+This will create a process **ZABBIX_AGENT**, which can communicate with the zabbix server using the ports 10050 and 10051. 
 + 
 +Example 
 +<code> 
 +> sh sys/proc=zabb* 
 +OpenVMS V8.3  on node ITA123  22-MAR-2018 11:19:48.18  Uptime  231 12:24:09 
 +  Pid    Process Name    State  Pri      I/O       CPU       Page flts  Pages 
 +0001FD59 ZABBIX_AGENT    HIB      4      111   0 00:00:00.01       314    346    
 +</code>
  
 To stop Zabbix Agent, just  To stop Zabbix Agent, just 
Line 92: Line 140:
 $ stop/id=pid_of_zabbix_agent_process $ stop/id=pid_of_zabbix_agent_process
 </code> </code>
 +
 +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
 +
 +===== What is included in the kit =====
 +
 +==== freeheaders.com ====
 +
 +needs the tool DFU that you can download at
 +
 +https://www.digiater.nl/dfu.html
 +
 +For each disk, it calculates the number of used headers and free headers, and sends it to the Zabbix server.
 +
 +The last lines
 +<code>
 +$ ZABBIX_SENDER/key="trap[FREEHEADERS_''P1']"/host="''nodename'"/value='freeheaders'
 +$ ZABBIX_SENDER/key="trap[COUNTHEADERS_''P1']"/host="''nodename'"/value='headercount'
 +</code>
 +
 +
 +==== indexfmap.com ====
 +
 +does for each disk
 +<code>
 +DUMP/HEADER/BLOCK=COUNT=0  'disk'[000000]INDEXF.SYS
 +</code>
 +
 +and checks the value for
 +  * Map area words in use  
 +  * Maximum value is 155
installationagent.1521712378.txt.gz · Last modified: 2018/03/22 10:52 by gl