Sign inSign up

nsoporte/nrpe

By nsoporte

Updated over 2 years ago

NRPE Server and plugins (Just model)

Image
0

7.2K

nsoporte/nrpe repository overview

Nrpe Service

Nagios NRPE service on Docker container, it is used to monitoring host services and containers

Volumes:

We used to mount host services on /host container folder ( Proc, dev, and disks )

  • /host/disk/bootfs: You can Mount /boot partition here to monitoring
  • /host/disk/datafs: You can Mount /data partition here to monitoring
  • /host/disk/optfs: You can Mount /opt partition here to monitoring
  • /host/disk/rootfs: You can Mount /root partition here to monitoring
  • /host/disk/varfs: You can Mount /var partition here to monitoring
  • /host/proc: /proc folder on host
  • /custom: Where config files will be storaged, it must be "service_name.cfg"
  • /plugins: Custom plugins directory, you can use your custom plugins here
  • /var/run/utmp: This file has logged users information
  • /var/run/docker.sock: Docker Socket to containers monitoring

Examples:

docker run --name nrpe --net=host --privileged --restart=always -v /etc/hostname:/etc/hostname:ro -v /etc/localtime:/etc/localtime:ro -v /proc:/host/proc -v /:/host/disk/rootfs -v /tmp:/tmp -v /data/etc/nrpe/custom:/custom -v /data/etc/nrpe/plugins:/plugins -v /var/run/utmp:/var/run/utmp:ro -v /var/run/docker.sock:/var/run/docker.sock -d nsoporte/nrpe

Custom plugins:

Tag summary

Content type

Image

Digest

sha256:277cb5f71

Size

505.2 MB

Last updated

over 2 years ago

docker pull nsoporte/nrpe