93 lines
3.3 KiB
Plaintext
93 lines
3.3 KiB
Plaintext
|
########################################################################################################################
|
||
|
#
|
||
|
# configuration file for Nagios Business Processes
|
||
|
# Syntax description see README
|
||
|
# THIS IS AN EXAMPLE
|
||
|
# You have to define Your own processes using services defined in Your Nagios configuration
|
||
|
#
|
||
|
########################################################################################################################
|
||
|
|
||
|
#
|
||
|
# base components
|
||
|
#
|
||
|
internetconnection = internetconnection;Provider 1 | internetconnection;Provider 2
|
||
|
display 0;internetconnection;Internet Connection
|
||
|
|
||
|
loadbalancers = loadbalancer1;System Health | loadbalancer2;System Health
|
||
|
display 0;loadbalancers;Loadbalancer Cluster
|
||
|
|
||
|
#dns = dns1;DNS | dns2;DNS | dns3;DNS
|
||
|
dns = 2 of: dns1;DNS + dns2;DNS + dns3;DNS
|
||
|
display 0;dns;DNS Cluster
|
||
|
|
||
|
#
|
||
|
# ERP System
|
||
|
#
|
||
|
erp_system = erp;System Check & db;Select & dns
|
||
|
display 3;erp_system;ERP System
|
||
|
info_url erp_system;/handlungsanweisungen/erp.html
|
||
|
external_info erp_system;echo "system resource usage 34%"
|
||
|
|
||
|
#
|
||
|
# BP Webshop
|
||
|
#
|
||
|
webshop_frontend_line1 = webserver1;HTTPS & webserver1;HTTPD Slots & appserver1;HTTP
|
||
|
webshop_frontend_line2 = webserver2;HTTPS & webserver2;HTTPD Slots & appserver2;HTTP
|
||
|
webshop_frontend = webshop_frontend_line1 | webshop_frontend_line2
|
||
|
webshop = internetconnection & loadbalancers & dns & webshop_frontend & erp_system
|
||
|
|
||
|
display 0;webshop_frontend_line1;WebShop Frontend Servers Line1
|
||
|
display 0;webshop_frontend_line2;WebShop Frontend Servers Line2
|
||
|
display 0;webshop_frontend;WebShop Frontend Servers
|
||
|
display 1;webshop;WebShop
|
||
|
#template webshop_frontend_line1;webshop-bp-service
|
||
|
#template webshop_frontend_line2;webshop-bp-service
|
||
|
#template webshop_frontend;webshop-bp-service
|
||
|
#template webshop;webshop-bp-service
|
||
|
info_url webshop;/handlungsanweisungen/webshop.html
|
||
|
external_info webshop;echo "currently 48 user sessions, 17 anonymous sessions"
|
||
|
|
||
|
#
|
||
|
# BP WebSite
|
||
|
#
|
||
|
website_webserver1 = webserver1;HTTP & webserver1;HTTPD Slots
|
||
|
website_webserver2 = webserver2;HTTP & webserver2;HTTPD Slots
|
||
|
website_webservers = website_webserver1 | website_webserver2
|
||
|
website = internetconnection & loadbalancers & dns & website_webservers
|
||
|
|
||
|
display 0;website_webserver1;WebServer 1
|
||
|
display 0;website_webserver2;WebServer 2
|
||
|
display 0;website_webservers;WebServer Cluster
|
||
|
display 1;website;WebSite
|
||
|
external_info website;echo '<b>Please note:</b> This afternoon maintainance on WebServer1,<br>Production only on WebServer2'
|
||
|
info_url website;/handlungsanweisungen/website.html
|
||
|
|
||
|
#
|
||
|
# BP eMail
|
||
|
#
|
||
|
mailgateways = mailgateway1;SMTP | mailgateway2;SMTP
|
||
|
mail = internetconnection & dns & mailgateways & groupwareserver;SMTP & groupwareserver;IMAP & groupwareserver;GroupDAV & groupwareserver;HTTPS
|
||
|
|
||
|
display 0;mailgateways;Mail Gateways
|
||
|
display 2;mail;eMail
|
||
|
info_url mail;/handlungsanweisungen/mail.html
|
||
|
|
||
|
#
|
||
|
# BP Intranet Portal
|
||
|
#
|
||
|
intranetportal = intranetwebserver;HTTPS & intranetwebserver;HTTPD Slots & intranetportalserver;HTTP & erp_system
|
||
|
display 3;intranetportal;Intranet Portal
|
||
|
external_info intranetportal;echo "currently 61 user sessions"
|
||
|
info_url intranetportal;/handlungsanweisungen/intranet-portal.html
|
||
|
|
||
|
#
|
||
|
# Test Systems
|
||
|
#
|
||
|
testsystem1 = dummyhost;dummyservice
|
||
|
testsystem2 = dummyhost;dummyservice
|
||
|
testsystem3 = dummyhost;dummyservice
|
||
|
|
||
|
display 4;testsystem1;Testsystem 1
|
||
|
display 4;testsystem2;Testsystem 2
|
||
|
display 4;testsystem3;Testsystem 3
|