======= Examples ======= **Under construction** This example section is kind of a construction site at the moment. In the next weeks I subsequently will add plenty of examples how check_multi can be used practically.\\ It does not mean that the examples are non functional ^_^ **Call for examples** :!:: If you have an example which you like to share with other people, just provide me all needed information and I will publish it under this section. You don't know how to contact me? Have a look on the [[projects:check_multi:contact|contact page]]. === stable 0.20 === The [[projects:check_multi:download|stable 0.20 and the new development versions (since SVN222)]] contain a new directory structure and some example files under sample-config. Each example published here will also be added to the sample-config directory. ===== Distributed service checks ===== * [[blog:2009:distributed_service_checks_with_check_multi|Details, code, output examples - see here]] This example shows how a particular service could be monitored from several sites, hosts.\\ And all within one generic reusable check where you only have to define: - the service command to be run - the list of hosts - the thresholds for the combined check ===== Nagiostats ===== * [[projects:check_multi:examples:nagiostats|Details, code, output examples - see here.]] [[projects:check_multi:examples:nagiostats|Nagiostats]] is the check_multi version of monitoring Nagios itself. It contains two major parts: alarming and performance data.\\ You will be able to get aware of all short term problems of your Nagios server. And you can identify long term performance issues with the performance graphs provided by [[http://www.pnp4nagios.org/pnp/start|PNP]]. ===== Network interface settings ===== * [[projects:check_multi:examples:network_interface|Details, code, output examples - see here.]] [[projects:check_multi:examples:network_interface|Network interface monitoring]] in this example is not meant as a monitoring of the throughput during runtime. It's instead a monitoring if all hardware settings are correct: - Is the interface speed at least ''100Mbit''? - Is it set to ''full duplex''? - Autonegotiation is also displayed, but not monitored ===== Start process - event handler ===== * [[projects:check_multi:examples:start_process|Details, code, output examples - see here.]] [[projects:check_multi:examples:start_process]] is a very simple event handler to check and restart processes.\\ Note that check_multi will visualize the whole process: - Check if the process is running before: green or red - Restart of the process if necessary: the RC depends on the process startup - Final check of the process again: green or red