Zenoss template proxmox




















The configuration files are simple text files. You can edit them using a normal text editor, for example, vi or nano. This is sometimes useful to do small corrections, but keep in mind that you need to restart the container to apply such changes.

For that reason, it is usually better to use the pct command to generate and modify those files, or do the whole thing using the GUI. Our toolkit is smart enough to instantaneously apply most changes to running containers. In cases where a change cannot be hot-plugged, it will be registered as a pending change shown in red color in the GUI. They will only be applied after rebooting the container. Each line has the following format:.

Blank lines in those files are ignored, and lines starting with a character are treated as comments and are also ignored. When you create a snapshot, pct stores the configuration at snapshot time into a separate snapshot section within the same configuration file. There are a few snapshot related properties like parent and snaptime. Console mode. By default, the console command tries to open a connection to one of the available tty devices.

If you set cmode to shell , it simply invokes a shell inside the container no login. The number of cores assigned to the container. A container can use all available cores by default. CPU weight for a VM. Argument is used in the kernel fair scheduler. Number is relative to the weights of all the other running VMs.

Description for the Container. This is saved as comment inside the configuration file. Allow using fuse file systems in a container. For unprivileged containers only: Allow the use of the keyctl system call. This is required to use docker inside a container. By default unprivileged containers will see this system call as non-existent. This is mostly a workaround for systemd-networkd, as it will treat it as a fatal error when some keyctl operations are denied by the kernel due to lacking permissions.

Essentially, you can choose between running systemd-networkd or docker. Allow unprivileged containers to use mknod to add certain device nodes. This requires a kernel with seccomp trap to user space support 5. This is experimental. Allow mounting file systems of specific types. This should be a list of file system types as used with the mount command. Allow nesting. Best used with unprivileged containers with additional id mapping. Note that this will expose procfs and sysfs contents of the host to the guest.

Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. OS type. Value unmanaged can be used to skip and OS specific setup. Sets the protection flag of the container. Sets DNS search domains for a container. Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering.

Additionally you can set the up or down delay in seconds, which specifies a delay to wait before the next VM is started or stopped. Time zone to use in the container. Container migrations, snapshots and backups vzdump set a lock to prevent incompatible concurrent actions on the affected container.

Sometimes you need to remove such a lock manually e. If you want to run application containers, for example, Docker images, it is recommended that you run them inside a Proxmox Qemu VM. Supported Distributions List of officially supported distributions can be found below.

Alpine Linux Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox. Arch Linux is using a rolling-release model, see its wiki for more details:. Almalinux An Open Source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform.

Debian Debian is a free operating system, developed and maintained by the Debian project. Fedora Fedora creates an innovative, free, and open source platform for hardware, clouds, and containers that enables software developers and community members to build tailored solutions for their users. Gentoo a highly flexible, source-based Linux distribution.

Ubuntu Ubuntu is the modern, open source operating system on Linux for the enterprise server, desktop, cloud, and IoT. Container Settings General Settings General settings of a container include. Unprivileged Containers Unprivileged containers use a new kernel feature called user namespaces.

If the container uses systemd as an init system, please be aware the systemd version running inside the container should be equal to or greater than Privileged Containers Security in containers is achieved by using mandatory access control AppArmor restrictions, seccomp filters and Linux kernel namespaces.

Memory Container memory is controlled using the cgroup memory controller. Mount Points The root mount point is configured with the rootfs property. See below for a detailed description of all options. Must not contain any symlinks for security reasons. This option does not share the mount point automatically, it assumes it is shared already! Typical container rootfs configuration.

Storage Backed Mount Points Storage backed mount points are managed by the Proxmox VE storage subsystem and come in three different flavors:. Image based: these are raw images containing a single ext4 formatted file system. For example, calling. The contents of bind mount points are not backed up when using vzdump.

For security reasons, bind mounts should only be established using source directories especially reserved for this purpose, e. The bind mount source path must not contain any symlinks. Device Mount Points Device mount points allow to mount block devices of the host directly into the container. Device mount points should only be used under special circumstances. In most cases a storage backed mount point offers the same performance and a lot more features.

The contents of device mount points are not backed up when using vzdump. Network You can configure up to 10 network interfaces for a single container. Automatic Start and Shutdown of Containers To automatically start a container when the host system boots, select the option Start at boot in the Options panel of the container in the web interface or run the following command:.

Start and Shutdown Order. We use the reverse startup order for shutdown, so a container with a start order of 1 would be the last to be shut down Startup delay : Defines the interval between this container start and subsequent containers starts.

Hookscripts You can add a hook script to CTs with the config property hookscript. Security Considerations Containers use the kernel of the host system. AppArmor AppArmor profiles are used to restrict access to possibly dangerous actions. Please note that this is not recommended for production use.

Control Groups cgroup cgroup is a kernel mechanism used to hierarchically organize processes and distribute system resources. CGroup Version Compatibility The main difference between pure cgroupv2 and the old hybrid environments regarding Proxmox VE is that with cgroupv2 memory and swap are now controlled independently. Changing CGroup Version If file system quotas are not required and all containers support cgroupv2 , it is recommended to stick to the new default.

To switch back to the previous version the following kernel command line parameter can be used:. Container start fails if the configured ostype differs from the auto detected type. Using Quotas Inside Containers Quotas allow to set limits inside a container for the amount of disk space that each user can use. This currently requires the use of legacy cgroups. This only works on ext4 image based storage types and currently only works with privileged containers.

Backup of Container mount points To include a mount point in backups, enable the backup option for it in the container configuration. When creating a new mount point in the GUI, this option is enabled by default. Replication of Containers mount points By default, additional mount points are replicated when the Root Disk is replicated. Zenoss will attempt to find a monitoring template named WidgeterHealth in the following places in the following order.

The first template that matches by name will be used for the device. No template will be bound if no matching template is found in any of these locations. After deciding on the right location for a monitoring template should then decide where it should be bound. Remember that to cause the template to be used it must be bound. Binding templates using zDeviceTemplates is only applicable for monitoring templates that should be bound to devices.

See Classes and Relationships for information on how monitoring templates are bound to components. To add a monitoring template to zenpack. Then within this device class entry you must add a templates field. It also shows that template being bound to the device class by setting zDeviceTemplates.

Many different entry types are shown in the above example. See the references below for more information on each. Python module name to which this template is intended to be bound. For example, a defined Device-replacement template will replace the existing Device template on a device class. A defined Device-addition template will be applied in addition to the existing Device template on a device class. Datasources also allow other ad-hoc options to be added not referenced in the above list.

This is because datasources are an extensible type in Zenoss, and depending on the value of type , other fields may be valid. The following datasource types are valid on any Zenoss system. They are the default types that are part of the platform. This list is not exhaustive as datasources types are commonly added by ZenPacks. The Built-in datasource type performs no collection. It assumes associated data will be populated by an external mechanism. Some datasource and datapoint types are provided by a particular ZenPack and only available if that ZenPack is installed.

These types often have unique parameters that control their function. ZenPackLib allows the specification of these parameters, but the degree of documentation for each varies.

Search Advanced search…. Everywhere Threads This forum This thread. Search Advanced…. New posts. Search forums. Install the app. Thread starter tom Start date Sep 5, JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly.



0コメント

  • 1000 / 1000