Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile (revision 446120) +++ head/net-mgmt/Makefile (revision 446121) @@ -1,381 +1,382 @@ # $FreeBSD$ # COMMENT = Network management tools SUBDIR += 2ping SUBDIR += TkTopNetFlows SUBDIR += adcli SUBDIR += aggregate SUBDIR += aircrack-ng SUBDIR += alertmanager SUBDIR += ap-utils SUBDIR += argus3 SUBDIR += argus3-clients SUBDIR += arpalert SUBDIR += arpscan SUBDIR += arpwatch SUBDIR += arts++ SUBDIR += bandwidthd SUBDIR += bgpq SUBDIR += bgpq3 SUBDIR += bgpuma SUBDIR += blackbox_exporter SUBDIR += bpft SUBDIR += braa SUBDIR += bsnmp-jails SUBDIR += bsnmp-regex SUBDIR += bsnmp-ucd SUBDIR += bwm-ng SUBDIR += cacti SUBDIR += cacti-spine SUBDIR += cacti88 SUBDIR += cacti88-spine SUBDIR += ccnet-client SUBDIR += ccnet-server SUBDIR += cdpd SUBDIR += cdpr SUBDIR += cdpsnarf SUBDIR += centreon-clib SUBDIR += check_ipmi_sensor SUBDIR += check_logfiles SUBDIR += check_multi SUBDIR += check_mysql_health SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr SUBDIR += ciscoconf SUBDIR += clog SUBDIR += cnagios SUBDIR += collectd5 SUBDIR += confregdecode SUBDIR += coovachilli SUBDIR += cowpatty SUBDIR += cricket SUBDIR += crmsh SUBDIR += darkstat SUBDIR += devmon SUBDIR += devmon-templates SUBDIR += dhcdrop SUBDIR += dhcp_probe SUBDIR += disco SUBDIR += dnsmap SUBDIR += docsis SUBDIR += driftnet SUBDIR += ehnt SUBDIR += etherape SUBDIR += ettercap SUBDIR += fastnetmon SUBDIR += fetchconfig SUBDIR += flow-extract SUBDIR += flow-tools SUBDIR += flowd SUBDIR += flowviewer SUBDIR += fprobe SUBDIR += glpi-plugins-fusioninventory-server SUBDIR += gnu-ipcalc SUBDIR += grepcidr SUBDIR += grepip SUBDIR += gsnmp SUBDIR += guifi-snpservices SUBDIR += hastmon SUBDIR += hawk SUBDIR += icinga SUBDIR += icinga-classicweb SUBDIR += icinga-core SUBDIR += icinga2 SUBDIR += icingaweb2 SUBDIR += icingaweb2-module-businessprocess SUBDIR += icingaweb2-module-cube SUBDIR += icingaweb2-module-director SUBDIR += icingaweb2-module-generictts SUBDIR += icli SUBDIR += icmpmonitor SUBDIR += icmpquery SUBDIR += iftop SUBDIR += intel-snap SUBDIR += iog SUBDIR += ipacctd SUBDIR += ipaudit SUBDIR += ipcad SUBDIR += ipcalc SUBDIR += ipplan SUBDIR += iprange SUBDIR += ipv6calc SUBDIR += ipv6gen SUBDIR += ipv6mon SUBDIR += irrtoolset SUBDIR += isic SUBDIR += jnettop SUBDIR += kapacitor SUBDIR += kismet SUBDIR += klg SUBDIR += lanmap SUBDIR += lg SUBDIR += librenms SUBDIR += librenms-agent SUBDIR += libsmi SUBDIR += lldpd SUBDIR += mbrowse SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg SUBDIR += mrtg-ping-probe SUBDIR += mtrace SUBDIR += mysqld_exporter SUBDIR += nagcon SUBDIR += nagios SUBDIR += nagios-certexp-plugin SUBDIR += nagios-check_bacula SUBDIR += nagios-check_bacula5 SUBDIR += nagios-check_clamav SUBDIR += nagios-check_cpu_usage SUBDIR += nagios-check_dhcp.pl SUBDIR += nagios-check_email_delivery SUBDIR += nagios-check_hdd_health SUBDIR += nagios-check_hp_bladechassis SUBDIR += nagios-check_memcached_paranoid SUBDIR += nagios-check_mysql_slave SUBDIR += nagios-check_netsnmp SUBDIR += nagios-check_ports SUBDIR += nagios-check_postgres SUBDIR += nagios-check_puppet SUBDIR += nagios-check_relayd_status SUBDIR += nagios-check_smartmon SUBDIR += nagios-check_tftp SUBDIR += nagios-check_zpools SUBDIR += nagios-geom SUBDIR += nagios-openldap-plugins SUBDIR += nagios-pf-plugin SUBDIR += nagios-plugins SUBDIR += nagios-snmp-plugins SUBDIR += nagios-snmp-plugins-extras SUBDIR += nagios-spamd-plugin SUBDIR += nagios4 SUBDIR += nagiosagent SUBDIR += nagiosgraph SUBDIR += nagiosql SUBDIR += nagircbot SUBDIR += nagnu SUBDIR += nagstamon SUBDIR += nagtail SUBDIR += nagvis SUBDIR += nbtscan SUBDIR += ndoutils SUBDIR += ndpmon SUBDIR += nedi SUBDIR += nefu SUBDIR += net-snmp SUBDIR += netdata SUBDIR += netdisco SUBDIR += netdisco-mibs SUBDIR += netdot SUBDIR += netleak SUBDIR += netmagis-common SUBDIR += netmagis-database SUBDIR += netmagis-detecteq SUBDIR += netmagis-metro SUBDIR += netmagis-servers SUBDIR += netmagis-topo SUBDIR += netmagis-utils SUBDIR += netmagis-www SUBDIR += netmask SUBDIR += netspoc SUBDIR += netustad SUBDIR += netwag SUBDIR += networkmgr SUBDIR += netwox SUBDIR += netxms SUBDIR += nfdump SUBDIR += nfsen SUBDIR += ng_ipacct SUBDIR += nitpicker SUBDIR += nrpe SUBDIR += nrpe3 SUBDIR += nrpe-ssl SUBDIR += nsca SUBDIR += nsca-client SUBDIR += nsca-ng SUBDIR += nsca-ng-client SUBDIR += nsca27 SUBDIR += nsca27-client SUBDIR += nstreams SUBDIR += observium SUBDIR += ocsinventory-agent SUBDIR += ocsinventory-ng SUBDIR += omping SUBDIR += onionlauncher SUBDIR += openlldp SUBDIR += openvmps SUBDIR += p0f SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-BigIP-iControl SUBDIR += p5-Cflow SUBDIR += p5-Cisco-CopyConfig SUBDIR += p5-Cisco-Reconfig SUBDIR += p5-Data-Validate-IP SUBDIR += p5-FusionInventory-Agent SUBDIR += p5-FusionInventory-Agent-Task-NetDiscovery SUBDIR += p5-FusionInventory-Agent-Task-SNMPQuery SUBDIR += p5-GRNOC-Config SUBDIR += p5-GRNOC-TL1 SUBDIR += p5-MRTG-Parse SUBDIR += p5-Mon SUBDIR += p5-Monitoring-Plugin SUBDIR += p5-NSNMP SUBDIR += p5-Nagios-Object SUBDIR += p5-Nagios-Plugin SUBDIR += p5-Nagios-Plugin-Beanstalk SUBDIR += p5-Nagios-Plugin-LDAP SUBDIR += p5-Nagios-Plugins-Memcached SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-Abuse-Utils-Spamhaus SUBDIR += p5-Net-CIDR SUBDIR += p5-Net-ILO SUBDIR += p5-Net-IP SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-NSCA-Client SUBDIR += p5-Net-Netmask SUBDIR += p5-Net-OpenVPN-Manage SUBDIR += p5-Net-SNMP SUBDIR += p5-Net-SNMP-Util SUBDIR += p5-Net-SNMPTrapd SUBDIR += p5-Net-Telnet-Cisco-IOS SUBDIR += p5-NetAddr-IP SUBDIR += p5-NetAddr-IP-Lite SUBDIR += p5-NetApp SUBDIR += p5-POE-Component-SNMP SUBDIR += p5-SNMP-Info SUBDIR += p5-SNMP-MIB-Compiler SUBDIR += p5-SNMP-Simple SUBDIR += p5-SNMP-Trapinfo SUBDIR += p5-SNMP-Util SUBDIR += p5-SNMP_Session SUBDIR += p5-Telnet-Cisco SUBDIR += p5-Tie-NetAddr-IP SUBDIR += p5-Xymon SUBDIR += p5-Xymon-Client SUBDIR += p5-Xymon-Server SUBDIR += p5-Zenoss SUBDIR += p5-jmx4perl SUBDIR += packit SUBDIR += pads SUBDIR += pancho SUBDIR += pandorafms_agent SUBDIR += pandorafms_console SUBDIR += pandorafms_server SUBDIR += percona-monitoring-plugins SUBDIR += pftabled SUBDIR += php56-snmp SUBDIR += php70-snmp SUBDIR += php71-snmp SUBDIR += phpip SUBDIR += phpipam SUBDIR += phpweathermap SUBDIR += pixilate SUBDIR += pktstat SUBDIR += pmacct SUBDIR += pnp SUBDIR += pnp-icinga SUBDIR += pnp-icinga2 SUBDIR += portmon SUBDIR += prometheus SUBDIR += pushgateway SUBDIR += py-ipcalc SUBDIR += py-ipy SUBDIR += py-pyang SUBDIR += py-pysmi SUBDIR += py-pyzabbix SUBDIR += py-snmp4 SUBDIR += py-snmp4-apps SUBDIR += py-snmp4-mibs SUBDIR += py-snmp_passpersist SUBDIR += py-yapsnmp SUBDIR += py3-dnsdiag SUBDIR += qkismet SUBDIR += rackmonkey SUBDIR += rancid3 SUBDIR += rate SUBDIR += rcpd SUBDIR += remarp SUBDIR += resource-agents SUBDIR += riemann SUBDIR += riemann-c-client SUBDIR += rotorouter SUBDIR += routers2 SUBDIR += routers2-extensions SUBDIR += routers2-extras SUBDIR += rrdbot SUBDIR += rubygem-blimpy SUBDIR += rubygem-oxidized SUBDIR += rubygem-oxidized-script SUBDIR += rubygem-oxidized-web SUBDIR += rubygem-snmp SUBDIR += rubygem-visage-app SUBDIR += sblim-wbemcli SUBDIR += scli SUBDIR += sdig SUBDIR += seafile-client SUBDIR += seafile-gui SUBDIR += seafile-server SUBDIR += semaphore SUBDIR += send SUBDIR += sendip SUBDIR += sipcalc SUBDIR += sjitter SUBDIR += slate SUBDIR += smokeping SUBDIR += snmp++ SUBDIR += snmp4nagios SUBDIR += snmptt SUBDIR += softflowd SUBDIR += spectools SUBDIR += ssgless SUBDIR += statsd SUBDIR += statsite SUBDIR += subcalc SUBDIR += super_mediator SUBDIR += sx SUBDIR += sysmon SUBDIR += tcpreplay SUBDIR += tcptrack SUBDIR += telegraf SUBDIR += tornova SUBDIR += torrus + SUBDIR += unbound_exporter SUBDIR += unifi5 SUBDIR += victorops-nagios SUBDIR += vidalia SUBDIR += virt-viewer SUBDIR += wdiag SUBDIR += weplab SUBDIR += whatmask SUBDIR += wifimgr SUBDIR += wmi-client SUBDIR += xymon-client SUBDIR += xymon-server SUBDIR += yaf SUBDIR += zabbix2-agent SUBDIR += zabbix2-frontend SUBDIR += zabbix2-proxy SUBDIR += zabbix2-server SUBDIR += zabbix22-agent SUBDIR += zabbix22-frontend SUBDIR += zabbix22-proxy SUBDIR += zabbix22-server SUBDIR += zabbix3-agent SUBDIR += zabbix3-frontend SUBDIR += zabbix3-proxy SUBDIR += zabbix3-server SUBDIR += zabbix32-agent SUBDIR += zabbix32-frontend SUBDIR += zabbix32-proxy SUBDIR += zabbix32-server .include Index: head/net-mgmt/unbound_exporter/Makefile =================================================================== --- head/net-mgmt/unbound_exporter/Makefile (nonexistent) +++ head/net-mgmt/unbound_exporter/Makefile (revision 446121) @@ -0,0 +1,53 @@ +# Created by: Athanasios Douitsis +# $FreeBSD$ + +PORTNAME= unbound_exporter +PORTVERSION= 0.1 +DISTVERSIONPREFIX= v +CATEGORIES= net-mgmt + +MAINTAINER= aduitsis@cpan.org +COMMENT= Prometheus metrics exporter for the Unbound DNS resolver + +LICENSE= APACHE20 + +USES= go +GH_ACCOUNT= kumina +USE_GITHUB= yes +GH_TUPLE= prometheus:client_golang:08fd2e1:client_golang \ + prometheus:client_model:6f38060:client_model \ + prometheus:common:49fee29:common \ + prometheus:procfs:a1dba9c:procfs \ + beorn7:perks:4c0e845:perks \ + golang:protobuf:2bba060:protobuf \ + matttproud:golang_protobuf_extensions:c12348c:extensions + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} + +USE_RC_SUBR= unbound_exporter + +USERS= unbound +GROUPS= unbound + +STRIP= + +PLIST_FILES= bin/unbound_exporter + +pre-build: + echo ${WRKSRC_client_golang} + ${MKDIR} ${GO_WRKDIR_SRC}/github.com/prometheus + ${MKDIR} ${GO_WRKDIR_SRC}/github.com/beorn7 + ${MKDIR} ${GO_WRKDIR_SRC}/github.com/golang + ${MKDIR} ${GO_WRKDIR_SRC}/github.com/matttproud + ${MV} ${WRKSRC_client_golang} ${GO_WRKDIR_SRC}/github.com/prometheus/client_golang + ${MV} ${WRKSRC_client_model} ${GO_WRKDIR_SRC}/github.com/prometheus/client_model + ${MV} ${WRKSRC_common} ${GO_WRKDIR_SRC}/github.com/prometheus/common + ${MV} ${WRKSRC_procfs} ${GO_WRKDIR_SRC}/github.com/prometheus/procfs + ${MV} ${WRKSRC_perks} ${GO_WRKDIR_SRC}/github.com/beorn7/perks + ${MV} ${WRKSRC_protobuf} ${GO_WRKDIR_SRC}/github.com/golang/protobuf + ${MV} ${WRKSRC_extensions} ${GO_WRKDIR_SRC}/github.com/matttproud/golang_protobuf_extensions + +do-install: + ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/unbound_exporter ${STAGEDIR}${PREFIX}/bin + +.include Property changes on: head/net-mgmt/unbound_exporter/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/unbound_exporter/distinfo =================================================================== --- head/net-mgmt/unbound_exporter/distinfo (nonexistent) +++ head/net-mgmt/unbound_exporter/distinfo (revision 446121) @@ -0,0 +1,17 @@ +TIMESTAMP = 1491608926 +SHA256 (kumina-unbound_exporter-v0.1_GH0.tar.gz) = 13e3517cf06dbdea0239ff55193b6ff82f9f279b68ecbd53b889b505c7834386 +SIZE (kumina-unbound_exporter-v0.1_GH0.tar.gz) = 7415 +SHA256 (prometheus-client_golang-08fd2e1_GH0.tar.gz) = e82b53d03a2439b3c645dc9f4fb250a626c5307e41a8ac67b68ee4ade7278c6e +SIZE (prometheus-client_golang-08fd2e1_GH0.tar.gz) = 83314 +SHA256 (prometheus-client_model-6f38060_GH0.tar.gz) = 6b4cc049a4588d8e93b7acf6cffa6a53034d5410128ae3752263f2bacf9e606c +SIZE (prometheus-client_model-6f38060_GH0.tar.gz) = 54645 +SHA256 (prometheus-common-49fee29_GH0.tar.gz) = c38dd9ce34f65921f8e7604e6be471f4a49626b63e7312db21f98d65085a7be6 +SIZE (prometheus-common-49fee29_GH0.tar.gz) = 59151 +SHA256 (prometheus-procfs-a1dba9c_GH0.tar.gz) = 1702ef1142513b687bd544962828432f88195e12bbb079cbd68670b00c3e2d18 +SIZE (prometheus-procfs-a1dba9c_GH0.tar.gz) = 31615 +SHA256 (beorn7-perks-4c0e845_GH0.tar.gz) = 2d0c7784d2695b09c87710bc8c3c3d5b88ffeece31a650ed901763d215615478 +SIZE (beorn7-perks-4c0e845_GH0.tar.gz) = 10593 +SHA256 (golang-protobuf-2bba060_GH0.tar.gz) = ae917f15fd7de724cdce087b451326e6f364a898f03dc453a912ed7918e87742 +SIZE (golang-protobuf-2bba060_GH0.tar.gz) = 245284 +SHA256 (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = da165c9275b77a0994b815bc7d761dcb2e4799a90fe49eec08d8bdff3a683f48 +SIZE (matttproud-golang_protobuf_extensions-c12348c_GH0.tar.gz) = 37200 Property changes on: head/net-mgmt/unbound_exporter/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/unbound_exporter/files/unbound_exporter.in =================================================================== --- head/net-mgmt/unbound_exporter/files/unbound_exporter.in (nonexistent) +++ head/net-mgmt/unbound_exporter/files/unbound_exporter.in (revision 446121) @@ -0,0 +1,69 @@ +#!/bin/sh +# +# $FreeBSD$ + +# PROVIDE: unbound_exporter +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# unbound_exporter_enable (bool): Set to NO by default +# Set it to YES to enable unbound_exporter +# unbound_exporter_user (string): Set user to run unbound_exporter +# Default is "%%USERS%%" +# unbound_exporter_group (string): Set group to run unbound_exporter +# Default is "%%GROUPS%%" +# unbound_exporter_log_file (string): Set file that unbound_exporter will log to +# Default is "/var/log/unbound_exporter.log" +# unbound_exporter_ca (string): Set unbound ca filename +# Default is /usr/local/etc/unbound/unbound_server.pem +# unbound_exporter_cert (string): Set unbound control cert filename +# Default is /usr/local/etc/unbound/unbound_control.pem +# unbound_exporter_key (string): Set unbound control key filename +# Default is /usr/local/etc/unbound/unbound_control.key +# unbound_exporter_bind (string): Set address to listen on +# Default is :9167 +# unbound_exporter_args (string): Set additional command line arguments +# Default is "" + +. /etc/rc.subr + +name=unbound_exporter +rcvar=unbound_exporter_enable + +load_rc_config $name + +: ${unbound_exporter_enable:=NO} +: ${unbound_exporter_user:=unbound} +: ${unbound_exporter_group:=unbound} +: ${unbound_exporter_log_file=/var/log/unbound_exporter.log} +: ${unbound_exporter_ca=%%PREFIX%%/etc/unbound/unbound_server.pem} +: ${unbound_exporter_cert=%%PREFIX%%/etc/unbound/unbound_control.pem} +: ${unbound_exporter_key=%%PREFIX%%/etc/unbound/unbound_control.key} +: ${unbound_exporter_bind=:9167} + +pidfile=/var/run/unbound_exporter.pid +command=/usr/sbin/daemon +procname="%%PREFIX%%/bin/unbound_exporter" +command_args="-p ${pidfile} /usr/bin/env ${procname} \ + -unbound.ca ${unbound_exporter_ca} \ + -unbound.cert ${unbound_exporter_cert} \ + -unbound.key ${unbound_exporter_key} \ + -web.listen-address ${unbound_exporter_bind} \ + ${unbound_exporter_args} > ${unbound_exporter_log_file} 2>&1" + +start_precmd=unbound_exporter_startprecmd + +unbound_exporter_startprecmd() +{ + if [ ! -e ${pidfile} ]; then + install -o ${unbound_exporter_user} -g ${unbound_exporter_group} /dev/null ${pidfile}; + fi + if [ ! -f "${unbound_exporter_log_file}" ]; then + install -o ${unbound_exporter_user} -g ${unbound_exporter_group} -m 640 /dev/null ${unbound_exporter_log_file}; + fi +} + +run_rc_command "$1" Property changes on: head/net-mgmt/unbound_exporter/files/unbound_exporter.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/unbound_exporter/pkg-descr =================================================================== --- head/net-mgmt/unbound_exporter/pkg-descr (nonexistent) +++ head/net-mgmt/unbound_exporter/pkg-descr (revision 446121) @@ -0,0 +1,6 @@ +Unbound_exporter connects to Unbounds TLS control socket and sends the +stats_noreset command, causing Unbound to return metrics as key-value +pairs. The metrics exporter converts Unbound metric names to Prometheus +metric names and labels by using a set of regular expressions. + +WWW: https://github.com/kumina/unbound_exporter Property changes on: head/net-mgmt/unbound_exporter/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property