Changeset 13264 in genesis
- Timestamp:
- May 19, 2015, 7:01:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r13263 r13264 1707 1707 1708 1708 # Please make sure to install: 1709 # make -C /usr/ports/net-mgmt/nagios-check_netsnmp install clean 1709 # make -C /usr/ports/net-mgmt/nagios-check_netsnmp install clean 1710 # 1711 # Recompile net-mgmt/nagios-plugins to support check_snmp 1712 # make -C /usr/ports/net-mgmt/nagios-plugins 1713 # 1714 # Install net/bind-tools to allow v2/check_dns_wl to work: 1715 # pkg install bind-tools 1710 1716 # 1711 1717 define command{ 1712 command_name check_ netsnmp_disk1713 command_line $USER1$/check_ netsnmp -H $HOSTADDRESS$ -o disk1718 command_name check_snmp_disk 1719 command_line $USER1$/check_snmp_disk -H $HOSTADDRESS$ -C public 1714 1720 } 1715 1721 1716 1722 define command{ 1717 1723 command_name check_netsnmp_load 1718 command_line $USER1$/check_ netsnmp -H $HOSTADDRESS$ -o load1724 command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C public -w 80 -c 90 1719 1725 } 1720 1726 1721 1727 define command{ 1722 1728 command_name check_netsnmp_proc 1723 command_line $USER1$/check_netsnmp -H $HOSTADDRESS$ -o proc 1724 } 1725 1726 define command{ 1727 command_name check_disk_snmp 1728 command_line /usr/local/libexec/nagios/check_disk_snmp.pl -H $HOSTADDRESS$ -d $ARG1$ 1729 command_line $USER1$/check_snmp_proc -H $HOSTADDRESS$ -C public 1729 1730 } 1730 1731 … … 1737 1738 command_name check_dns_wl 1738 1739 command_line $USER1$/v2/check_dns_wl $HOSTADDRESS$ $ARG1$ 1740 } 1741 1742 define command{ 1743 command_name check_snmp_uptime 1744 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.3.0 1739 1745 } 1740 1746 … … 1778 1784 check_command check_dns_wl!"www.wirelessleiden.nl" 1779 1785 } 1780 1781 1782 define service {1783 use wleiden-service1784 hostgroup_name srv_hybrid1785 service_description VAR space1786 check_command check_disk_snmp!/var1787 }1788 1786 ''' 1789 1787 … … 1793 1791 use wleiden-service 1794 1792 hostgroup_name srv_hybrid 1795 service_description SNMP1796 check_command check_snmp 1793 service_description UPTIME 1794 check_command check_snmp_uptime 1797 1795 } 1798 1796 … … 1822 1820 hostgroup_name srv_hybrid 1823 1821 service_description DISK 1824 check_command check_ netsnmp_disk1822 check_command check_snmp_disk 1825 1823 } 1826 1824 '''
Note:
See TracChangeset
for help on using the changeset viewer.