Skip to content

A repository which contains configuration and useful resources in order to monitor services and hosts using Nagios, Incinga and or Shinken.

Notifications You must be signed in to change notification settings

ots-sa/monitoring-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

monitoring-tools

A repository which contains configuration and useful resources in order to monitor services and hosts using Nagios, Incinga and or Shinken.

Steps

  1. Pull the latest Nagios image from jasonrivers/nagios:latest

  2. Run image with command:

    docker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest
    
    • If we want to persist our configuration , we have to assign some volumes:

      docker run --name nagios4  \
      -v /opt/nagios/etc/:/opt/nagios/etc/ \
      -p 0.0.0.0:8080:80 \
      jasonrivers/nagios:latest
      
  3. Copy template config to /opt/nagios/etc directory.

  4. If we want to execute a bash shell into the container, we execute:

    docker exec -t -i nagios4 /bin/bash
    
  5. If you have modified the configuration you can check it without restarting docker container using the command (inside the container):

    /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg
    
  6. To see docker logs , execute the command:

    docker logs -f --tail 10 nagios4
    

About

A repository which contains configuration and useful resources in order to monitor services and hosts using Nagios, Incinga and or Shinken.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •