11 Recipes for monitoring

    General

    Monitoring server availability
    • ICMP ping (“icmpping” key)
    • “zabbix[host,agent,available]“ item
    Sending alerts via WinPopUps

    WinPopUps maybe very useful if you’re running Windows OS and want to get quick notification from Zabbix. It could be good addition for email-based alert messages. Details about enabling of WinPopUps can be found at .

    Monitoring specific applications

    AS/400

    IBM AS/400 platform can be monitored using SNMP. More information is available at http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg244504.html?Open.

    MySQL

    Several user parameters can be used for the monitoring of MySQL in the agent configuration file: /usr/local/etc/zabbix_agentd.conf

    • mysql.ping

    Check whether MySQL is alive.

    • mysql.uptime

    Number of seconds MySQL is running.

    • mysql.threads

    Number of MySQL threads.

    • mysql.questions

    Number of processed queries.

    • mysql.slowqueries
    • mysql.qps

    Queries per second.

    • mysql.version

    Version of MySQL. For example: mysql Ver 14.14 Distrib 5.1.53, for pc-linux-gnu (i686)

    For additional information see also the userparameter_mysql.conf file in conf/zabbix_agentd directory.

    Mikrotik routers

    Use SNMP agent provided by Mikrotik. See for more information.

    Windows

    Use Zabbix Windows agent included (pre-compiled) into Zabbix distribution.

    Tuxedo

    Tuxedo command line utilities tmadmin and qmadmin can be used in definition of a UserParameter in order to return per server/service/queue performance counters and availability of Tuxedo resources.

    Informix

    Standard Informix utility onstat can be used for monitoring of virtually every aspect of Informix database. Also, Zabbix can retrieve information provided by Informix SNMP agent.

    HP OpenView

    Step 1

    Define new media.

    The media will execute a script which will send required information to OpenView.

    Step 2

    Define new user.

    The user has to be linked with the media.

    Step 3

    Configure actions.

    Configure actions to send all (or selected) trigger status changes to the user.

    Step 4

    Write media script.

    Refer to OpenView official documentation for more details about opcmsg and opcmack. The media script is not given here.