aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2017-07-28 02:24:15 +0800
committerlme <lme@FreeBSD.org>2017-07-28 02:24:15 +0800
commit238f5703fb44a561b434dcda3a54e556f7f672b2 (patch)
tree2905c097b2ba4a37959ee4c2c01c66f3a484c646 /net-mgmt
parent1c6c97efde92154baeff3f0655f33fa00cea60eb (diff)
downloadfreebsd-ports-gnome-238f5703fb44a561b434dcda3a54e556f7f672b2.tar.gz
freebsd-ports-gnome-238f5703fb44a561b434dcda3a54e556f7f672b2.tar.zst
freebsd-ports-gnome-238f5703fb44a561b434dcda3a54e556f7f672b2.zip
Add new port net-mgmt/icingaweb2-module-vsphere:
In case you want to have an automated import of your Virtual Machines and/or Physical Host from VMware Sphere (vCenter) into your Icinga monitoring system this module might be what you have been looking for. At the time of this writing, the main purpose of this module is being a Import Source provider for the Icinga Director. WWW: https://github.com/Icinga/icingaweb2-module-vsphere
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/icingaweb2-module-vsphere/Makefile29
-rw-r--r--net-mgmt/icingaweb2-module-vsphere/distinfo3
-rw-r--r--net-mgmt/icingaweb2-module-vsphere/pkg-descr8
-rw-r--r--net-mgmt/icingaweb2-module-vsphere/pkg-plist36
5 files changed, 77 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index b965c702b9d7..d832e8ad359f 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -91,6 +91,7 @@
SUBDIR += icingaweb2-module-generictts
SUBDIR += icingaweb2-module-grafana
SUBDIR += icingaweb2-module-map
+ SUBDIR += icingaweb2-module-vsphere
SUBDIR += icli
SUBDIR += icmpmonitor
SUBDIR += icmpquery
diff --git a/net-mgmt/icingaweb2-module-vsphere/Makefile b/net-mgmt/icingaweb2-module-vsphere/Makefile
new file mode 100644
index 000000000000..e18af2d3eda3
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-vsphere/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= icingaweb2-module-vsphere
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.0
+CATEGORIES= net-mgmt www
+
+MAINTAINER= lme@FreeBSD.org
+COMMENT= Automated import of your VMs and Physical Host from VMware Sphere
+
+RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2 \
+ ${LOCALBASE}/www/icingaweb2/modules/director/run.php:net-mgmt/icingaweb2-module-director
+
+USE_GITHUB= yes
+GH_ACCOUNT= icinga
+
+USES_PHP= posix soap
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/icingaweb2-module-vsphere/distinfo b/net-mgmt/icingaweb2-module-vsphere/distinfo
new file mode 100644
index 000000000000..bbab3d389271
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-vsphere/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501178897
+SHA256 (icinga-icingaweb2-module-vsphere-v1.1.0_GH0.tar.gz) = 276a8f4c36412ff17ae370e0a912af7fe7df9c5aefef3beb2cbcf2c9fb60b051
+SIZE (icinga-icingaweb2-module-vsphere-v1.1.0_GH0.tar.gz) = 323449
diff --git a/net-mgmt/icingaweb2-module-vsphere/pkg-descr b/net-mgmt/icingaweb2-module-vsphere/pkg-descr
new file mode 100644
index 000000000000..efb4f5423644
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-vsphere/pkg-descr
@@ -0,0 +1,8 @@
+In case you want to have an automated import of your Virtual Machines and/or
+Physical Host from VMware Sphere (vCenter) into your Icinga monitoring system
+this module might be what you have been looking for.
+
+At the time of this writing, the main purpose of this module is being a Import
+Source provider for the Icinga Director.
+
+WWW: https://github.com/Icinga/icingaweb2-module-vsphere
diff --git a/net-mgmt/icingaweb2-module-vsphere/pkg-plist b/net-mgmt/icingaweb2-module-vsphere/pkg-plist
new file mode 100644
index 000000000000..102584c9ae54
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-vsphere/pkg-plist
@@ -0,0 +1,36 @@
+%%WWWDIR%%/.gitignore
+%%WWWDIR%%/README.md
+%%WWWDIR%%/application/clicommands/CommandBase.php
+%%WWWDIR%%/application/clicommands/FetchCommand.php
+%%WWWDIR%%/doc/01-Installation.md
+%%WWWDIR%%/doc/03-Import-Source.md
+%%WWWDIR%%/doc/04-CLI-Commands.md
+%%WWWDIR%%/doc/81-Contributing.md
+%%WWWDIR%%/doc/84-Changelog.md
+%%WWWDIR%%/doc/screenshot/00_preview/000_preview-vmware-vsphere-center-configuration-for-icinga-director.png
+%%WWWDIR%%/doc/screenshot/01_installation/001_enable-module.png
+%%WWWDIR%%/doc/screenshot/03_import-source/031_dashboard.png
+%%WWWDIR%%/doc/screenshot/03_import-source/032_create-new.png
+%%WWWDIR%%/doc/screenshot/03_import-source/033_choose-name.png
+%%WWWDIR%%/doc/screenshot/03_import-source/034_choose-type.png
+%%WWWDIR%%/doc/screenshot/03_import-source/035_configure-connection.png
+%%WWWDIR%%/doc/screenshot/03_import-source/036_vsphere-import-preview.png
+%%WWWDIR%%/library/Vsphere/Api.php
+%%WWWDIR%%/library/Vsphere/CurlLoader.php
+%%WWWDIR%%/library/Vsphere/IdLookup.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/ClusterComputeResource.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/Datacenter.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/Datastore.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/DatastoreHostMount.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/Folder.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/FullTraversal.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/HostMountInfo.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/HostSystem.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/ManagedObject.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/TraversalHelper.php
+%%WWWDIR%%/library/Vsphere/ManagedObject/VirtualMachine.php
+%%WWWDIR%%/library/Vsphere/ProvidedHook/Director/ImportSource.php
+%%WWWDIR%%/library/Vsphere/SoapClient.php
+%%WWWDIR%%/library/Vsphere/Util.php
+%%WWWDIR%%/module.info
+%%WWWDIR%%/run.php