GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mygithublab/test2: Template for deploy nagios core 4.4.2 docker of CentOS

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
etc
etc
 
 
plugin
plugin
 
 
resource
resource
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
authorized_keys
authorized_keys
 
 
container.ppk
container.ppk
 
 
gitpush.sh
gitpush.sh
 
 
jenkins.sh
jenkins.sh
 
 
run.sh
run.sh
 
 
script.sh
script.sh
 
 
test_rsa
test_rsa
 
 
test_rsa.pub
test_rsa.pub
 
 

Repository files navigation

Template for deploy nagios 4.4.3 docker of CentOS

Testing or template of nagios 4.4.3 monitoring printer

Standalone mode:

docker run -itd --name printer -p 6001:22 -p 6000:80 \ --privileged \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ -v /tmp/$(mktemp -d):/run \ -v /volume2:/share \ --restart=always printer

External custom mode:

docker run -itd --name printer -p 6001:22 -p 6000:80 \ --privileged \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ -v /tmp/$(mktemp -d):/run \ -v $WORKSPACE/etc:/usr/local/nagios/etc \ -v /volume4/nagios/var:/usr/local/nagios/var \ -v /volume4/nagiosgraph/var:/usr/local/nagiosgraph/var \ -v /volume2:/share \ --restart=always printer

  1. After Nagios completed initialized then, copy nagios and nagiosgraph var folder to local host where is running nagios container.

  2. Nagios/etc foler mount to github /etc folder, add host into object file, push to trigger a nagios restart.

  3. Nagios/var folder mount to host folder. Log data with volume container as well.

  4. Remove nagios container, the previous data still exist.

  5. Migration Nagios and Nagiosgraph var folder to backup location.

About

Template for deploy nagios core 4.4.2 docker of CentOS

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.