-
Install
sudo apt-get update sudo apt-get install -y snmpd -
Cek Status
sudo systemctl status snmpd
| #!/bin/bash | |
| # Script to create a namespace in Kubernetes and apply resource quota and network policies to it | |
| # Created by Donni Triosa ([email protected]) | |
| # Check if the namespace argument is provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <namespace>" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| # Created by Donni Triosa ([email protected]) | |
| # Description: | |
| # This script is designed to create a new user in a GitLab instance using the GitLab API. | |
| # It requires three arguments: the user's name, email, and username. | |
| # The script retrieves a private token from the Git configuration to authenticate the API request. | |
| # Prerequisites: | |
| # 1. jq is installed (https://stedolan.github.io/jq/) | |
| # 2. A GitLab private token is set in the Git configuration using 'git config --global credential.gitlab.api <your_token>' |
| #!/bin/bash -e | |
| # Script to intall zfs on debian | |
| # use root to run this script | |
| # Create By Donni Triosa ([email protected]) | |
| # check if user is root | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit 1 | |
| fi |