You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

  • x

CommandFragment


Examples

Zabbix

The following is an excerpt from an XML configuration for notification with passive checks for the Zabbix® Monitor using CommandFragment.

Zabbix Example
... 
<!--
zabbix_sender            Zabbix sender utility installed on the JS7 JOC Cockpit host
localhost                Hostname of the Zabbix server
zabbix_server            Hostname of the JS7 Agent that is registered with Zabbix
${MON_OS_JOB_NAME}       Job name for Item key in Zabbix, see Monitor Variables
${MON_OS_ERROR_TEXT}     Error message, see Monitor Variables
-->
<CommandFragment name="zabbix_example">
<![CDATA[zabbix_sender -z localhost -s zabbix_server -k ${MON_OS_JOB_NAME} -o ${MON_OS_ERROR_TEXT}]]>
</CommandFragment>
...





  • No labels