Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
    • CLI
    • NRPE check
    • Objects
    • Plugins
    • SSH check
    • pnp4nagios
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
# on Icinga / Nagios client
apt-get install -y nagios-nrpe-server
sed -i 's|allowed_hosts=127.0.0.1|allowed_hosts=192.168.1.197|g' /etc/nagios/nrpe.cfg
/etc/init.d/nagios-nrpe-server restart

cat < /etc/nagios/nrpe.d/my.cfg
command[check_root]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_http]=/usr/lib/nagios/plugins/check_http -H localhost
command[check_ssh]=/usr/lib/nagios/plugins/check_ssh localhost
EOF

/etc/init.d/nagios-nrpe-server restart

# test access
/usr/lib/nagios/plugins/check_nrpe -H 

# on Icinga / Nagios server
apt-get --no-install-recommends install nagios-nrpe-plugin



cat < /etc/icinga/objects/client1.cfg
define host {
    host_name client1
    alias client1 DomU
    address 192.168.1.222
    use generic-host
}

define service {
    use generic-service
    host_name client1
    service_description check_users
    check_command check_nrpe_1arg!check_users
}

define service {
    use generic-service
    host_name client1
    service_description check_load
    check_command check_nrpe_1arg!check_load
}

define service {
    use generic-service
    host_name client1
    service_description check_root
    check_command check_nrpe_1arg!check_root
}

define service {
    use generic-service
    host_name client1
    service_description check_zombie_procs
    check_command check_nrpe_1arg!check_zombie_procs
}

define service {
    use generic-service
    host_name client1
    service_description check_total_procs
    check_command check_nrpe_1arg!check_total_procs
}

define service {
    use generic-service
    host_name client1
    service_description check_http 
    check_command check_nrpe_1arg!check_http
}

define service {
    use generic-service
    host_name client1
    service_description check_ssh
    check_command check_nrpe_1arg!check_ssh
}
EOF
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung