- Timestamp:
- May 18, 2014, 4:07:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r12570 r12787 1663 1663 1664 1664 params = { 1665 'check_interval' : 5 if heavy_load else 60,1666 'retry_interval' : 1 if heavy_load else 5,1667 'max_check_attempts' : 10 if heavy_load else 3,1665 'check_interval' : 5 if heavy_load else 120, 1666 'retry_interval' : 1 if heavy_load else 10, 1667 'max_check_attempts' : 10 if heavy_load else 6, 1668 1668 } 1669 1669 … … 1708 1708 } 1709 1709 1710 define command{ 1711 command_name check_disk_snmp 1712 command_line /usr/local/libexec/nagios/check_disk_snmp.pl -H $HOSTADDRESS$ -d $ARG1$ 1713 } 1714 1715 define command{ 1716 command_name check_by_ssh 1717 command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -p $ARG1$ -C "$ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$" 1718 } 1719 1720 define command{ 1721 command_name check_dns_wl 1722 command_line $USER1$/v2/check_dns_wl $HOSTADDRESS$ $ARG1$ 1723 } 1724 1725 1710 1726 # TDB: dhcp leases 1711 1727 # /usr/local/libexec/nagios/check_netsnmp -H 192.168.178.47 --oid 1 exec … … 1740 1756 } 1741 1757 1742 # Little bit broken from standard install 1743 #define service { 1744 # use wleiden-service 1745 # hostgroup_name srv_hybrid 1746 # service_description DNS 1747 # check_command check_dns 1748 #} 1749 1750 # TDB: Can only test this if we have the proxy listening to all addresses. 1751 # define service { 1752 # use wleiden-service 1753 # hostgroup_name srv_hybrid 1754 # service_description PROXY 1755 # check_command check_tcp!3128 1756 # } 1758 define service { 1759 use wleiden-service 1760 hostgroup_name srv_hybrid 1761 service_description DNS 1762 check_command check_dns_wl!"www.wirelessleiden.nl" 1763 } 1764 1765 1766 define service { 1767 use wleiden-service 1768 hostgroup_name srv_hybrid 1769 service_description VAR space 1770 check_command check_disk_snmp!/var 1771 } 1757 1772 ''' 1758 1773
Note:
See TracChangeset
for help on using the changeset viewer.