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 11:21] 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 110: Line 150:
  
 https://zabbix.sysgroup.fr/doku.php?id=start 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.1521714084.txt.gz · Last modified: 2018/03/22 11:21 by gl