Skip to content
Permalink
Browse files

esx

  • Loading branch information
peterhoeg committed Aug 7, 2017
1 parent a7c8f5e commit f9f80066c75f5e8b190c3a25944d64794a1f761c
Showing with 46 additions and 0 deletions.
  1. +28 −0 pkgs/servers/monitoring/plugins/esx.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
  3. +16 −0 pkgs/top-level/python-packages.nix
@@ -0,0 +1,28 @@
{ stdenv, fetchurl, python2Packages }:

python2Packages.buildPythonApplication rec {
name = "check-esx-wbem-${version}";
version = "20161013";

src = fetchurl {
url = "https://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.py";
sha256 = "0zrlwff16b33kawnwgzv0i6hax3xsb99nfyjfjs72aa60rrrp41v";
};

phases = [ "installPhase" "fixupPhase" ];

installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -m755 $src $out/bin/check_esxi_hardware.py
runHook postInstall
'';

propagatedBuildInputs = with python2Packages; [ pywbem ];

meta = with stdenv.lib; {

};
}
@@ -11343,6 +11343,8 @@ with pkgs;

neo4j = callPackage ../servers/nosql/neo4j { };

check-esx-wbem = callPackage ../servers/monitoring/plugins/esx.nix {};

net_snmp = callPackage ../servers/monitoring/net-snmp {
# https://sourceforge.net/p/net-snmp/bugs/2712/
# remove after net-snmp > 5.7.3
};
};

pywbem = buildPythonPackage rec {
name = "pywbem-${version}";
version = "0.10.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pywbem/${name}.tar.gz";
sha256 = "0if8bjyh6bzc1qx8kddprg3sfw1j361wb2gdsshiy14rfl464fiq";
};
propagatedBuildInputs = with self; [ m2crypto ply pyyaml six ];
meta = with pkgs.stdenv.lib; {
description = "Support for the WBEM standard for systems management.";
homepage = http://pywbem.github.io/pywbem/;
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
};

unicorn = buildPythonPackage rec {
name = "unicorn-${version}";
version = "1.0.1";

0 comments on commit f9f8006

Please sign in to comment.
You can’t perform that action at this time.