dhcp-server.conf 382 B

12345678910111213141516
  1. #
  2. # Check DHCP pool usage (Salt managed)
  3. #
  4. object CheckCommand "dhcp_pool" {
  5. import "plugin-check-command"
  6. command = [ "/usr/bin/sudo", "/usr/local/sbin/dhcpd-pool", "--nagios" ]
  7. arguments = {
  8. "--config" = "$dhcpd_config_file$"
  9. "--leases" = "$dhcpd_leases_file$"
  10. }
  11. vars.dhcpd_config_file = "/etc/dhcp/dhcpd.conf"
  12. vars.dhcpd_leases_file = "/var/lib/dhcp/dhcpd.leases"
  13. }