[root@localhost ~]# locate nagios/plugins |head -n1 /usr/lib64/nagios/plugins check_swap [root@localhost ~]# /usr/lib64/nagios/plugins/check_swap --help check_swap v2.2.1 (nagios-plugins 2.2.1) Copyright (c) 2000-2014 Nagios Plugin Development Team <devel@nagios-plugins.org> Check swap space on local machine. Usage: check_swap [-av] -w % -c % -w -c Options: -h, --help Print detailed help screen -V, --version Print version information --extra-opts=[section][@file] Read options from … Continue reading nagios plugins functionality
Month: August 2017
How Containers Work’s
What is a Linux container? LXC (Linux Containers) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a single Linux kernel. ... LXC combines the kernel's cgroups and support for isolated namespaces to provide an isolated environment for applications. What is a chroot? Chroot is an operation … Continue reading How Containers Work’s
How to check yaml syntax
[mshaik@server ~]$ sudo yum install gem [mshaik@server ~]$ sudo gem install yaml-lint [mshaik@server ~]$ yaml-lint /etc/puppetlabs/code/environments/production/hieradata/common.yaml Checking the content of ["/etc/puppetlabs/code/environments/production/hieradata/common.yaml"] File : /etc/puppetlabs/code/environments/production/hieradata/common.yaml, Syntax OK Done.
